console
by Clastix
Kamaji is a tool aimed to build and operate Kubernetes at scale with a fraction of the operational burden. This chart install a console for Kamaji.
About this chart
console
Kamaji is a tool aimed to build and operate Kubernetes at scale with a fraction of the operational burden. This chart install a console for Kamaji.
Install the console
This chart requires a Secret in your Kubernetes cluster that contains the configuration and credentials to access the console. You can have the chart generate it for you, or create it yourself and provide the name of the Secret during installation.
Replace placeholders with actual values, and execute the following:
# The secret is required, otherwise the installation will fail
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: Secret
type: Opaque
metadata:
name: <secret-name>
namespace: <charts-namespace>
data:
# Credentials to login into console
ADMIN_EMAIL: <email>
ADMIN_PASSWORD: <password>
# Secret used to sign the browser session
JWT_SECRET: <jwtSecret>
# URL where the console is accessible
NEXTAUTH_URL: <nextAuthUrl>
EOF
Make sure you set credentialsSecret.name value to the name of the secret .
To install the Chart with the release name kamaji-console in the kamaji-system namespace:
helm repo add clastix https://clastix.github.io/charts
helm repo update
helm install kamaji-console clastix/console -n kamaji-system --create-namespace
Show the status:
helm status kamaji-console -n kamaji-system
Upgrade the Chart
helm upgrade kamaji-console -n kamaji-system clastix/console
Uninstall the Chart
helm uninstall kamaji-console -n kamaji-system
Customize the installation
There are two methods for specifying overrides of values during Chart installation: --values and --set.
The --values option is the preferred method because it allows you to keep your overrides in a YAML file, rather than specifying them all on the command line.
Create a copy of the YAML file values.yaml and add your overrides to it.
Specify your overrides file when you install the Chart:
helm upgrade kamaji-console --install --namespace kamaji-system --create-namespace kamaji-system --values myvalues.yaml
The values in your overrides file myvalues.yaml will override their counterparts in the Chart's values.yaml file.
Any values in values.yaml that weren't overridden will keep their defaults.
If you only need to make minor customizations, you can specify them on the command line by using the --set option. For example:
helm upgrade kamaji-console --install --namespace kamaji-system --create-namespace kamaji-system --set replicas=2
Here the values you can override:
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | |
| autoscaling.enabled | bool | false | |
| autoscaling.maxReplicas | int | 100 | |
| autoscaling.minReplicas | int | 1 | |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| credentialsSecret.email | string | "" | |
| credentialsSecret.generate | bool | false | |
| credentialsSecret.jwtSecret | string | "" | |
| credentialsSecret.name | string | "console" | |
| credentialsSecret.nextAuthUrl | string | "" | |
| credentialsSecret.password | string | "" | |
| fullnameOverride | string | "" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "clastix/console" | |
| image.tag | string | "" | |
| imagePullSecrets | list | [] | type=kubernetes.io/dockerconfigjson |
| ingress.annotations | object | {} | |
| ingress.className | string | "" | |
| ingress.enabled | bool | false | |
| ingress.hosts[0].host | string | "clastix.local" | |
| ingress.hosts[0].paths[0].path | string | "/ui" | |
| ingress.hosts[0].paths[0].pathType | string | "ImplementationSpecific" | |
| ingress.tls | list | [] | |
| nameOverride | string | "" | |
| nodeSelector | object | {} | |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| replicaCount | int | 1 | |
| resources | object | {} | |
| securityContext | object | {} | |
| service.port | int | 80 | |
| service.targetPort | int | 3000 | |
| service.type | string | "ClusterIP" | |
| serviceAccount.annotations | object | {} | |
| serviceAccount.create | bool | true | |
| serviceAccount.name | string | "" | |
| tolerations | list | [] |
Maintainers
| Name | Url | |
|---|---|---|
| Dario Tranchitella | [email protected] | |
| Adriano Pezzuto | [email protected] |
Source Code
Deploy console with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has console on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartconsole is pinned at v0.0.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply