Deploy a Kubernetes Cluster
Octos Cloud supports managed Kubernetes clusters with configurable master and worker nodes, auto-scaling, and integrated monitoring.
Cluster architecture
┌──────────────┐
│ Control │
│ Plane │
│ (Master) │
└──────┬───────┘
│
┌────────────┼────────────┐
│ │ │
┌─────┴─────┐ ┌───┴───┐ ┌──────┴────┐
│ Worker 1 │ │Worker 2│ │ Worker N │
│ (pods) │ │(pods) │ │ (pods) │
└───────────┘ └───────┘ └───────────┘
Create a cluster
- Navigate to Kubernetes in your project
- Click Create Kubernetes Cluster
- Configure:
| Parameter | Description |
|---|---|
| Cluster Name | Descriptive name for the cluster |
| Kubernetes Version | Select the target version |
| Zone | Data center region |
| Master nodes | Number and size of control plane nodes |
| Worker nodes | Number and size of worker nodes |
| SSH Key | For node access |
- Optionally enable auto-scaling with min/max worker counts
- Click Create
Access the cluster
Download kubeconfig
- Navigate to the cluster overview
- Click Download Kubeconfig
- Set the config:
export KUBECONFIG=~/downloads/kubeconfig-my-cluster.yaml
kubectl get nodes
Kubernetes Dashboard
# Run proxy locally
kubectl proxy
# Access dashboard at:
# http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/
Generate a token for dashboard login:
kubectl -n kubernetes-dashboard create token admin-user
Auto-scaling
Configure auto-scaling policies to dynamically adjust worker node count based on resource utilization:
| Parameter | Description |
|---|---|
| Min members | Minimum number of worker nodes |
| Max members | Maximum number of worker nodes |
| Scale up policy | CPU/memory threshold to add nodes |
| Scale down policy | CPU/memory threshold to remove nodes |
| Cooldown | Wait time between scaling events |