Install YaK on your own K8S cluster
Follow this procedure to install the YaK on your Kubernetes cluster.
1. Create your own yak namespace
kubectl create ns <namespace>2. Add repository
helm repo add yak https://gitlab.com/api/v4/projects/63133284/packages/helm/stable && helm repo update3. Create your "yak.values.yaml" file
global:
hostname: <your_hostname>.<your_domain>
admin_credentials:
password: "ABCdef1234@" #default password to be changed to your need
yak-postgres:
postgresPassword: "" # Randomly generated if not set
persistence:
size: 20Gi
storageClassName: "<your_storage_class>" # Uses default if empty
yak-graphile:
# Archive storage stores the component types archives at import time
persistence: &archives_storage
size: 20Gi
storageClassName: "<your_storage_class>" # Uses default if empty
# If using a multi-node cluster, uncomment these 2 lines:
#accessModes:
# - ReadWriteMany
# If you want to expose the rest API at https://hostname/data/graphql and have the postgraphile UI at https://yak.my-domain.local/data/graphiql
ingress:
enabled: true
className: "<your_ingress_class>" # Uses default if empty
tls:
- secretName: yak-tls-secret
hosts:
- <your_hostname>.<your_domain>
yak-runner:
image:
pullPolicy: Always
persistence:
# Runner shares the archives storage with graphile
graphile: *archives_storage
components:
enabled: true
storageClassName: "<your_storage_class>" # Uses default if empty
size: 8Gi
sshconfig:
enabled: true
storageClassName: "<your_storage_class>" # Uses default if empty
size: 1Gi
yak-ui:
# Mandatory if you want to access the UI through ingress
ingress:
enabled: true
className: "<your_ingress_class>" # Uses default if empty
tls:
- secretName: yak-tls-secret
hosts:
- <your_hostname>.<your_domain>
4. Create your TLS secret
5. Install YaK
6. Check that YaK is properly deployed
7. Connect to the YaK with https
Last updated