Manage CPU and Memory Resources for LXD Linux VMs

Поделиться
HTML-код
  • Опубликовано: 15 сен 2024
  • In this video, we explore how you can allocate CPU and memory resources to virtual machines running with LXD under Linux. Since LXD version 5.8 (November 2022), you can hot-plug CPUs from virtual machines, both adding and removing. As of today, memory cannot be hot-added to LXD virtual machines; you must shutdown the VM before adding memory, otherwise you'll receive an error. The "lxc config" command gives you direct control over the number of CPU cores and RAM allocated to each LXD virtual machine.
    As a bonus, we also take a look at LXD nested virtualization in action. You can run LXD virtual machines on top of other LXD virtual machines, providing flexibility over how you deploy infrastructure.
    Quick Summary
    --------------------------
    ➡️ LXD supports hot-plugging CPUs
    ➡️ LXD does NOT support hot-plugging memory
    ➡️ LXD supports nested virtualization
    ➡️ The "lxc config" command can change VM or LXD daemon settings
    Check out the Open Source Software playlist for more videos!
    📺 • Open Source Software
    Please follow me on these other social channels!
    ➡️ trevorsullivan...
    ➡️ github.com/pcg...
    ➡️ / pcgeek86
    ➡️ / trevorsullivan
    All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names,trademarks and brands does not imply endorsement.
    #opensource #linux #software

Комментарии • 6

  • @TrevorSullivan
    @TrevorSullivan  Год назад +1

    Here's a playlist dedicated to LXD! ruclips.net/p/PLDbRgZ0OOEpX_uqK_hAq98ltdc4DP-D34

  • @marcosoliveira8731
    @marcosoliveira8731 Год назад

    Great info!

  • @symshark
    @symshark 11 месяцев назад

    The whole nesting lxd within lxd vm is intense. I've planning using lxd as my main virtualization solution, in the past I've used esxi and virtualbox. I do plan to use what am learning with rust to automate deployment of an lxd environment for my home lab, thanks for lxd videos aswell!

    • @TrevorSullivan
      @TrevorSullivan  11 месяцев назад +1

      Very cool!! Try to think about building a LXD library or tool that other people can use in their environments. 🙂

  • @DanielSullivanWI
    @DanielSullivanWI Год назад

    Good, basic info on re-sizing cores/memory

  • @kaijisan1206
    @kaijisan1206 9 месяцев назад

    liked and commented