Helm Installation
Install KTube using Helm for advanced customization and production deployments.
Prerequisites
- Helm 3.10 or later
- kubectl configured with cluster access
- Cluster admin permissions
Installation
1. Add the Helm Repository
$ helm repo add ktube https://ktube-dev.github.io/charts$ helm repo update2. Install KTube
$ helm install ktube ktube/ktube \ --namespace ktube-system \ --create-namespace3. Verify Installation
$ kubectl get pods -n ktube-systemNAME READY STATUS RESTARTS AGE ktube-operator-7d8f9b6c4d-x2j9k 1/1 Running 0 30s ktube-dashboard-5c7d8e9f1b-m3n4p 1/1 Running 0 30s
Configuration
Using Values File
Create a values.yaml:
# Operator configuration
operator:
replicas: 2
resources:
limits:
memory: 512Mi
cpu: 1000m
requests:
memory: 256Mi
cpu: 100m
# Dashboard configuration
dashboard:
replicas: 2
service:
type: ClusterIP
port: 8080
# Logging
logging:
level: info
format: jsonInstall with values:
$ helm install ktube ktube/ktube \ --namespace ktube-system \ --create-namespace \ -f values.yamlCommon Configuration Options
| Parameter | Description | Default |
|---|---|---|
| operator.replicas | Operator replicas | 1 |
| operator.image.tag | Operator image tag | latest |
| dashboard.replicas | Dashboard replicas | 1 |
| logging.level | Log level | info |
Upgrade
$ helm repo update$ helm upgrade ktube ktube/ktube --namespace ktube-systemUninstall
$ helm uninstall ktube --namespace ktube-systemNote: This keeps CRDs and your Tunnel resources. To remove CRDs:kubectl delete crd tunnels.ktube.dev tunnelproviders.ktube.dev tunnelbindings.ktube.dev