console

by Clastix

Helm chartv0.0.1App 0.0.1Verified publisher

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

KeyTypeDefaultDescription
affinityobject{}
autoscaling.enabledboolfalse
autoscaling.maxReplicasint100
autoscaling.minReplicasint1
autoscaling.targetCPUUtilizationPercentageint80
credentialsSecret.emailstring""
credentialsSecret.generateboolfalse
credentialsSecret.jwtSecretstring""
credentialsSecret.namestring"console"
credentialsSecret.nextAuthUrlstring""
credentialsSecret.passwordstring""
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"
image.repositorystring"clastix/console"
image.tagstring""
imagePullSecretslist[]type=kubernetes.io/dockerconfigjson
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"clastix.local"
ingress.hosts[0].paths[0].pathstring"/ui"
ingress.hosts[0].paths[0].pathTypestring"ImplementationSpecific"
ingress.tlslist[]
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podSecurityContextobject{}
replicaCountint1
resourcesobject{}
securityContextobject{}
service.portint80
service.targetPortint3000
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.createbooltrue
serviceAccount.namestring""
tolerationslist[]

Maintainers

NameEmailUrl
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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartconsole is pinned at v0.0.1 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