kamaji-console

by Clastix

Helm chartv0.1.3App v0.2.1Verified publisher

Kamaji deploys and operates Kubernetes at scale with a fraction of the operational burden. This chart install a console for Kamaji.

About this chart

kamaji-console

Kamaji deploys and operates 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: https://<hostname>/ui
  NEXTAUTH_URL: <nextAuthUrl>
  # Project Sveltos data, required for Application Delivery:
  # optional and requires Project Sveltos and its dashboard deployed
  SVELTOS_URL: <projectSveltosDashboardURL>
  SVELTOS_NAMESPACE: <projectSveltosNamespace>
  SVELTOS_SECRET_NAME: <projectSveltosTokenSecretName>
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 console clastix/kamaji-console -n kamaji-system --create-namespace

Show the status:

    helm status console -n kamaji-system

Upgrade the Chart

    helm upgrade console -n kamaji-system clastix/kamaji-console

Uninstall the Chart

    helm uninstall console -n kamaji-system

Customize the installation

Here the values you can override:

Values

KeyTypeDefaultDescription
affinityobject{}
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
credentialsSecret.emailstring""Username to login into the console
credentialsSecret.generateboolfalse
credentialsSecret.jwtSecretstring""Session-secret used to sign cookies
credentialsSecret.namestring"kamaji-console"Name of the Secret containing sensitive info
credentialsSecret.nextAuthUrlstring""URL where the console is accessible, eg. https://kamaji.labs.clastix.io/
credentialsSecret.passwordstring""Password to login into the console
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"ghcr.io/clastix/kamaji-console"
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"kamaji.localhost"
ingress.hosts[0].paths[0].pathstring"/ui"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podSecurityContextobject{}
replicaCountint2
resourcesobject{}
securityContextobject{}
service.portint80
service.targetPortint3000
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
sveltos.namespacestringnilNamespace where the Project Sveltos is deployed, required for the Application Delivery
sveltos.secretNamestringnilSecret containing the access token, required for the Application Delivery
sveltos.urlstring""URL of the Project Sveltos Dashboard, required for the Application Delivery
tolerationslist[]

Maintainers

NameEmailUrl
Dario Tranchitella[email protected]
Adriano Pezzuto[email protected]

Source Code

Deploy kamaji-console with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kamaji-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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkamaji-console is pinned at v0.1.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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