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

    Installing portainer on xcp-ng

    Scheduled Pinned Locked Moved Compute
    9 Posts 3 Posters 764 Views 2 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.
    • F Offline
      fred974
      last edited by

      Hi,

      I am trying to install portainer in a Debian VM and all I have found is this 2021 article which I am not sure is still relevant today.
      Could anyone please tell me if we still need to install xscontainer on the host?

      $ yum install xscontainer 
      $ xe-toolstack-restart
      $ xscontainer-prepare-vm -v vm<uuid> -u portainer
      

      What is the 2023 way of doing this?

      If I deploy a Kubernetes recipe from XOA, can I use it for Portainer

      Thank you all in advance.

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

        Hi!

        If Portainer is able to connect to the k8S API, yes it will work 🙂

        F 2 Replies Last reply Reply Quote 0
        • F Offline
          fred974 @olivierlambert
          last edited by

          @olivierlambert So, I just install Debian as usual and install portainer in that VM without running anything on the host. Correct? Also what happened to RunX?

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

            For Portainer: yes 🙂

            RunX is an interesting tech, but k8s cluster deploy is a bigger priority now. It's not a big deal now to run containers in "full VMs". We try to prioritize with our current bandwidth, even if we'd like to do everything at once it's not possible at the moment.

            1 Reply Last reply Reply Quote 0
            • F Offline
              fred974 @olivierlambert
              last edited by

              @olivierlambert said in Installing portainer on xcp-ng:

              f Portainer is able to connect to the k8S API, yes it will work

              Do I install Portainer on its own VM and connect it to the Kubernetes cluster or do I install it in the master node of Kubernetes?

              I have never play with docker / Kubernetes so I am really have no idea what is best here. I want to install it for learning

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

                I'm no k8s expert neither 🤷

                F 1 Reply Last reply Reply Quote 0
                • F Offline
                  fred974 @olivierlambert
                  last edited by

                  @olivierlambert Thank you. Hopefully someone can chip in

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    ThasianXi @fred974
                    last edited by

                    @fred974 I suggest installing on its own VM. I have never used Portainer to manage Kubernetes (only Docker containers) however, I usually use Rancher to manage K8s and I always install on its own VM.

                    F 1 Reply Last reply Reply Quote 0
                    • F Offline
                      fred974 @ThasianXi
                      last edited by fred974

                      @ThasianXi said in Installing portainer on xcp-ng:

                      I usually use Rancher to manage K8s and I always install on its own VM.

                      Thank you for your input 🙂 I tried rancher and couldn't make head and tail of it. Also not much tutorial out there

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