Installing Kuber
Last updated
Last updated
Kuber is a rewritten version of Wings from Pterodactyl for Kubernetes compatibility.
The following is a list of supported operating systems. Please be aware that this is not an exhaustive list, there is a high probability that you can run the software on other Linux distributions without much effort. You are responsible for determining which packages may be necessary on those systems. There is also a very high probability that new releases of the supported OSes below will work just fine, you are not restricted to only the versions listed below.
Operating System | Version | Supported | Notes |
---|---|---|---|
Kuber should run on most systems, with no requirements, being very flexible being just a daemon for communicating with Kubernetes.
The first step for installing Kuber is to ensure we have the required directory structure setup. To do so, run the commands below, which will create the base directory and download the kuber executable.
Once you have installed Kuber, the next step is to create a cluster on your installed Panel. Go to your Panel administrative view, select Clusters from the sidebar, and on the right side click Create New button.
After you have created a cluster, click on it and there will be a tab called Configuration. Copy the code block content, paste it into a new file called config.yml
in /etc/kubectyl
and save it.
Alternatively, you can click on the Generate Token button, copy the bash command and paste it into your terminal.
WARNING
When your Panel is using SSL, the Kuber must also have one created for its FQDN. See Creating SSL Certificates documentation page for how to create these certificates before continuing.
To start Kuber, simply run the command below, which will start it in a debug mode. Once you confirmed that it is running without errors, use CTRL+C
to terminate the process and daemonize it by following the instructions below. Depending on your server's internet connection pulling and starting Kuber for the first time may take a few minutes.
You may optionally add the --debug
flag to run Kuber in debug mode.
Running Kuber in the background is a simple task, just make sure that it runs without errors before doing this. Place the contents below in a file called kuber.service
in the /etc/systemd/system
directory.
Then, run the commands below to reload systemd and start Kuber.
Allocation is a combination of IP and Port that you can assign to a server. Each created server must have at least one allocation. The allocation would be the IP address of your network interface. In some cases, such as when behind NAT, it would be the internal IP. To create new allocations go to Nodes > your node > Allocation.
Type hostname -I | awk '{print $1}'
to find the IP to be used for the allocation. Alternatively, you can type ip addr | grep "inet "
to see all your available interfaces and IP addresses. Do not use 127.0.0.1 for allocations.
Ubuntu
18.04
β
Documentation written assuming Ubuntu 18.04 as the base OS.
20.04
β
22.04
β
CentOS
7
β
8
β
Note that CentOS 8 is EOL. Use Rocky or Alma Linux.
Debian
10
β
11
β
Windows
All
β
This software will not run in Windows environments.