Skip to main content
K3s is a lightweight Kubernetes distribution designed for resource-constrained environments, making it ideal for running Kubernetes on a VPS.
Prerequisites
  • A VPS with OnetSolutions
  • SSH access to your server
  • Root or sudo privileges

Installation Steps

1

Connect to your VPS

Connect via SSH to your server.
2

Install K3s

Run the K3s installation script:
3

Wait for installation

The installation may take a few minutes. K3s will automatically start after installation.
4

Configure kubectl

Copy the K3s configuration for kubectl:
5

Verify installation

Check that K3s is running:
You should see your VPS listed as a node.

Deploying Applications

1

Create a manifest file

Create a Kubernetes manifest file (e.g., my-app.yaml) describing your application.
2

Deploy the application

3

Check deployment status

Managing K3s

For more information, refer to the official K3s documentation.