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

    Kubernetes Recipe

    Scheduled Pinned Locked Moved Infrastructure as Code
    5 Posts 4 Posters 184 Views 4 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.
    • abreauxA Offline
      abreaux
      last edited by

      Is there any way to get the cloud-init used in the Hub Kubernetes recipe? Looking to customize the deployment using Terraform and I want to make sure I include all the same tasks.

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

        Hi,

        @Team-DevOps to answer this

        1 Reply Last reply Reply Quote 0
        • B Offline
          Butcat DevOps Team Vates 🪐
          last edited by

          Hello @abreaux, for the moment I have no idea however I am going to search and if nothing is available a task will be created for this feature 👍

          1 Reply Last reply Reply Quote 0
          • CyrilleC Offline
            Cyrille Vates 🪐 DevOps Team @abreaux
            last edited by

            @abreaux said in Kubernetes Recipe:

            Is there any way to get the cloud-init used in the Hub Kubernetes recipe? Looking to customize the deployment using Terraform and I want to make sure I include all the same tasks.

            What do you want to do actually? Do you want to "edit" a VM that has been deployed with the recipe (1), or do you want to deploy a new cluster that will copy the hub recipe (2)?

            In case of (1), you can find the cloud-init content inside the VM itself: /var/lib/cloud/instance/cloud-config.txt

            In the case of (2), the current version (5.105) of the k8s recipe is not really stable and is not intended to be used with Terraform. I can only recommend to find another solution (you can find some examples in the DevOps mega thread, like using Rancher).

            In the next release of XOA, we have updated the Kubernetes recipe to use MicroK8s, which provides a light, open-source, scalable and production-ready Kubernetes distribution.

            abreauxA 1 Reply Last reply Reply Quote 0
            • abreauxA Offline
              abreaux @Cyrille
              last edited by

              @Cyrille said in Kubernetes Recipe:

              @abreaux said in Kubernetes Recipe:

              Is there any way to get the cloud-init used in the Hub Kubernetes recipe? Looking to customize the deployment using Terraform and I want to make sure I include all the same tasks.

              What do you want to do actually? Do you want to "edit" a VM that has been deployed with the recipe (1), or do you want to deploy a new cluster that will copy the hub recipe (2)?

              In case of (1), you can find the cloud-init content inside the VM itself: /var/lib/cloud/instance/cloud-config.txt

              In the case of (2), the current version (5.105) of the k8s recipe is not really stable and is not intended to be used with Terraform. I can only recommend to find another solution (you can find some examples in the DevOps mega thread, like using Rancher).

              In the next release of XOA, we have updated the Kubernetes recipe to use MicroK8s, which provides a light, open-source, scalable and production-ready Kubernetes distribution.

              Actually, I didn't realize it was on the VM after deployment, so #1 is fine.

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