XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    DevOps Megathread: what you need and how we can help!

    Scheduled Pinned Locked Moved Infrastructure as Code
    60 Posts 17 Posters 11.8k Views 19 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • olivierlambertO Offline
      olivierlambert Vates πŸͺ Co-Founder CEO
      last edited by

      🍾

      1 Reply Last reply Reply Quote 0
      • cichyC Offline
        cichy
        last edited by

        Prioritization of VM startup AND shutdown sequencing! PLEASE - in the GUI (XO). So - without code - I can finally shutdown my servers accessing DB's prior to shutting down the DB server vm's themselves thereby saving myself from table corruption. πŸ™

        J 1 Reply Last reply Reply Quote 2
        • J Offline
          john.c @cichy
          last edited by john.c

          @cichy said in DevOps Megathread: what you need and how we can help!:

          Prioritization of VM startup AND shutdown sequencing! PLEASE - in the GUI (XO). So - without code - I can finally shutdown my servers accessing DB's prior to shutting down the DB server vm's themselves thereby saving myself from table corruption. πŸ™

          @cichy In the past it was recommended to do this with an vApp and script. However this means editing the script or configuration file (if one’s created for the script). Which doesn’t make it as easy as the method, used by VMware ESXi for configuring the order and enabling the capacity.

          Xen Orchestra and/or XCP-ng could really do with an UI (and API) based method of setting up and managing the VM boot and shutdown order.

          CyrilleC 1 Reply Last reply Reply Quote 1
          • CyrilleC Offline
            Cyrille Vates πŸͺ DevOps Team @john.c
            last edited by

            Terraform provider release v0.37.0

            • Enables the secure boot parameter for the VM resource

            Terraform provider release: https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.37.0

            CyrilleC 1 Reply Last reply Reply Quote 1
            • CyrilleC Offline
              Cyrille Vates πŸͺ DevOps Team @Cyrille
              last edited by Cyrille

              Hi here,

              We have released documentation with our recommendations for those who want to run Talos in Xen Orchestra. 😎

              It is available in the official Sidero Labs documentation: Platform specific installation > Virtualized Platforms > Xen Orchestra

              We are currently working on providing an example of a Talos cluster that has been created using Terraform.

              Have fun πŸ˜‰

              A 1 Reply Last reply Reply Quote 3
              • olivierlambertO Offline
                olivierlambert Vates πŸͺ Co-Founder CEO
                last edited by

                Congrats! 🍾

                1 Reply Last reply Reply Quote 0
                • A Offline
                  afk @Cyrille
                  last edited by

                  @Cyrille said in DevOps Megathread: what you need and how we can help!:

                  Hi here,

                  We have released documentation with our recommendations for those who want to run Talos in Xen Orchestra. 😎

                  It is available in the official Sidero Labs documentation: Platform specific installation > Virtualized Platforms > Xen Orchestra

                  We are currently working on providing an example of a Talos cluster that has been created using Terraform.

                  Have fun πŸ˜‰

                  Nice ! Thank you for this.

                  Fwiw, I started to work on a PoC deployment of a talos cluster this summer and managed to do the full process with pulumi. I'll probably migrate to opentofu when I have everything setup as I want to clean things up.

                  The whole install and k8s bootstrap takes 2-3 minutes to deploy a 3 nodes control plane and 3 workers from start to finish. You even get the machine configs, kubeconfig and talosconfig as outputs. Then, I deployed fluxcd manually but you could even automate that in the deployment.

                  Overall, its really impressive and quite easy once you understand the way talos works. Highly recommended !

                  CyrilleC 1 Reply Last reply Reply Quote 2
                  • CyrilleC Offline
                    Cyrille Vates πŸͺ DevOps Team @afk
                    last edited by

                    @afk Nice! πŸ‘ I haven't tried Pulumi yet. Does Talos have a provider for it?

                    I'm working on improving the CCM to make it work with Talos. Especially the cloud-node-label-sync controller (as the cloud-controller is the Talos one) to get the XO topology in the node labels.

                    A 1 Reply Last reply Reply Quote 1
                    • A Offline
                      afk @Cyrille
                      last edited by

                      @Cyrille said in DevOps Megathread: what you need and how we can help!:

                      @afk Nice! πŸ‘ I haven't tried Pulumi yet. Does Talos have a provider for it?

                      I'm working on improving the CCM to make it work with Talos. Especially the cloud-node-label-sync controller (as the cloud-controller is the Talos one) to get the XO topology in the node labels.

                      Yes there is a provider for it: https://www.pulumi.com/registry/packages/talos/

                      I guess its the auto-generated provider from the terraform one because I had some type checking errors in some places, but using python I could ignore that... I don't know if it has been fixed since.
                      I remember reading some terraform examples on blogs to write the pulumi config so converting one to the other should be straightforward. Unfortunately, I can't publish what I wrote because its quite messy but feel free to ask if you have some blockers.

                      The CCM would be nice to have indeed ! Good luck on that.

                      1 Reply Last reply Reply Quote 0
                      • CyrilleC Offline
                        Cyrille Vates πŸͺ DevOps Team
                        last edited by Cyrille

                        XO CCM v0.2.0

                        This update make it working with Talos.

                        What's Changed

                        • Feat: record event when region zone changed
                        • Refactor: make xoClient and xoConfig available outside package scope (to be used by the CSI)
                        • Workaround for the SystemUUID sometimes in little-endian

                        https://github.com/vatesfr/xenorchestra-cloud-controller-manager/releases/tag/v0.2.0

                        Terraform Provider v0.37.2

                        What's Changed

                        • Fix xenorchestra_vdi data source: you can now filter VDI/ISO with the same name label using tags.

                        https://github.com/vatesfr/terraform-provider-xenorchestra/releases/tag/v0.37.2

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post