Install K3S
Install K3S in a server
You can install OpenServerless as described here, and you do not need to install any Kubernetes in it, as it is installed as part of the procedure. In this case it installs K3S.
Or you can install K3S in advance, and then proceed configuring and then installing OpenServerless as in any other Kubernetes cluster.
Installing K3S in a server
Before installing ensure you have satified the prerequisites, most notably:
you know the IP address or DNS name
your server operating system satisfies the K3S requirements
you have passwordless access with ssh
you have a user with passwordless sudo rights
you have opened the port 6443 in the firewall
Then you can use the following subcommand to install in the server:
ops cloud k3s create <server> [<username>]
where <server>
is the IP address or DNS name to access the server,
and the optional <username>
is the user you use to access the server:
if root
username will be used.
Those pieces of information should have been provided when provisioning the server.
❗ IMPORTANT
If you installed a Kubernetes cluster in the server this way, you should proceed installing OpenServerless as in a Kubernetes cluster, not as a server.
The installation retrieves also a Kubernetes configuration file, so you can proceed to installing it without any other step involved.
Additional Commands
In addition to create
the following subcommands are also available:
ops cloud k3s delete <server> [<username>]
: uninstall K3S from the serverops cloud k3s kubeconfig <server> [<username>]
: retrieve the kubeconfig from the K3S serverops cloud k3s info
: some information about the serverops cloud k3s status
: status of the server
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.