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

    (kubernetes) Add 'xcp-ng' provider to clusterapi

    Scheduled Pinned Locked Moved Development
    6 Posts 4 Posters 1.4k Views 5 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.
    • lkniteL Offline
      lknite
      last edited by lknite

      Kubernetes, being a declarative approach to infrastructure, has something called 'clusterapi' which allows a kubernetes cluster to be defined as 'yaml'. The yaml file is applied, and after awhile you have the defined kubernetes cluster. Later, the yaml file could be updated to add another node, or change the version of kubernetes, and again, after applying the yaml the existing kubernetes cluster would be updated adding a node or updating the nodes with the specified kubernetes version.

      Kubernetes generally has multiple nodes, vms, and so this process requires integration into the vm server environments, this is accomplished through 'providers'.

      Perhaps we could get on the roadmap to add an 'xcp-ng' provider:
      https://cluster-api.sigs.k8s.io/reference/providers.html

      Using this method allows the management of the lifecycle of kubernetes clusters without having to drop out of the world of kubernetes to use a tool such as ansible or terraform.

      I noticed there was a clusterapi provider for xenserver for the apache cloudstack project, maybe all the code is there to support xcp-ng and could be pulled out to create an xcp-ng provider not dependent on the apache cloudstack project? https://github.com/kubernetes-sigs/cluster-api-provider-cloudstack

      Additionally, having 'xcp-ng' on that list would gain attention as people will look at the list of supported providers and then go google the projects.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        If someone would build this, it should use Xen Orchestra API, as the central orchestrator, that would make most sense to do it that way 🙂

        But yes, if someone want to start working on this, we'll be happy to assist on the API part 🙂

        nathanael-hN 1 Reply Last reply Reply Quote 0
        • nathanael-hN Offline
          nathanael-h Vates 🪐 DevOps Team @olivierlambert
          last edited by

          @lknite Hello, sorry if replying in this old thread looks odd... but I wanted to share that we are starting to work on supporting Cluster API.

          We have an internal proof of concept:
          /home/nathanael/Images/Captures d’écran/Capture d’écran du 2026-05-05 17-12-22.pnga9596fde-e251-4996-8fc9-3f8e208f9f01-image.jpeg

          pszelesteyP 1 Reply Last reply Reply Quote 1
          • pszelesteyP Offline
            pszelestey @nathanael-h
            last edited by

            Hi @nathanael-h ,

            Do you have any new information about this PoC?
            Will you release a preview which can be tested?

            Thank you in advance!
            Peter

            nathanael-hN 1 Reply Last reply Reply Quote 0
            • olivierlambertO Online
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Expect news in the next XO release

              1 Reply Last reply Reply Quote 0
              • nathanael-hN Offline
                nathanael-h Vates 🪐 DevOps Team @pszelestey
                last edited by

                @pszelestey Hi, yes, we've pushed an initial commit and a few more here https://github.com/vatesfr/cluster-api-provider-vates/ it is moging every day. Ping us in Matrix/Discord devops if you want to chat live while trying 😉

                1 Reply Last reply Reply Quote 1

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post