Helm: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
{| | {| | ||
|valign='top'| | |valign='top'| | ||
helm repo add opensearch https://opensearch-project.github.io/helm-charts | helm repo add prometheus https://prometheus-community.github.io/helm-charts | ||
helm repo add opensearch https://opensearch-project.github.io/helm-charts | |||
helm repo add bitnami https://charts.bitnami.com/bitnami | helm repo add bitnami https://charts.bitnami.com/bitnami | ||
helm repo add stable https://charts.helm.sh/stable | helm repo add stable https://charts.helm.sh/stable | ||
Line 26: | Line 27: | ||
helm repo add azure https://marketplace.azurecr.io/helm/v1/repo | helm repo add azure https://marketplace.azurecr.io/helm/v1/repo | ||
helm repo add mongodb https://mongodb.github.io/helm-charts | helm repo add mongodb https://mongodb.github.io/helm-charts | ||
helm repo add cetic https://cetic.github.io/helm-charts | |||
helm repo add nginx https://helm.nginx.com/stable | helm repo add nginx https://helm.nginx.com/stable | ||
helm repo add elastic https://helm.elastic.co | helm repo add elastic https://helm.elastic.co | ||
Line 51: | Line 53: | ||
helm pull opensearch/opensearch-dashboards | helm pull opensearch/opensearch-dashboards | ||
helm pull opensearch/opensearch | helm pull opensearch/opensearch | ||
helm pull prometheus/prometheus | |||
helm pull elastic/elasticsearch | helm pull elastic/elasticsearch | ||
helm pull nginx/nginx-ingress | helm pull nginx/nginx-ingress | ||
helm pull bitnami/postgresql | helm pull bitnami/postgresql | ||
helm pull bitnami/logstash | helm pull bitnami/logstash | ||
helm pull cetic/swaggerui | |||
helm pull runix/pgadmin4 | helm pull runix/pgadmin4 | ||
helm pull kongz/graylog | helm pull kongz/graylog | ||
Line 65: | Line 69: | ||
helm pull opensearch/opensearch-dashboards --untar | helm pull opensearch/opensearch-dashboards --untar | ||
helm pull opensearch/opensearch --untar | helm pull opensearch/opensearch --untar | ||
helm pull prometheus/prometheus --untar | |||
helm pull elastic/elasticsearch --untar | helm pull elastic/elasticsearch --untar | ||
helm pull nginx/nginx-ingress --untar | helm pull nginx/nginx-ingress --untar | ||
helm pull bitnami/postgresql --untar | helm pull bitnami/postgresql --untar | ||
helm pull bitnami/logstash --untar | helm pull bitnami/logstash --untar | ||
helm pull cetic/swaggerui --untar | |||
helm pull runix/pgadmin4 --untar | helm pull runix/pgadmin4 --untar | ||
helm pull kongz/graylog --untar | helm pull kongz/graylog --untar |
Revision as of 21:13, 5 June 2023
sudo wget -c https://get.helm.sh/helm-v3.11.1-linux-amd64.tar.gz -P /opt/cli/ sudo tar -xvzf /opt/cli/helm-v3.11.1-linux-amd64.tar.gz -C /opt/cli/ sudo rm -rf /opt/cli/helm-v3.11.1-linux-amd64.tar.gz
sudo mv /opt/cli/linux-amd64 /opt/cli/helm-v3.11.1-linux-amd64 sudo update-alternatives --install /usr/local/bin/helm helm\ /opt/cli/helm-v3.11.1-linux-amd64/helm 1983 sudo update-alternatives --install /usr/bin/helm helm\ /opt/cli/helm-v3.11.1-linux-amd64/helm 1983
helm repo add stable https://charts.helm.sh/stable helm search repo jenkins helm version
Repository
helm repo add prometheus https://prometheus-community.github.io/helm-charts helm repo add opensearch https://opensearch-project.github.io/helm-charts helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add stable https://charts.helm.sh/stable helm repo add kongz https://charts.kong-z.com/ helm repo add runix https://helm.runix.net |
helm repo add azure https://marketplace.azurecr.io/helm/v1/repo helm repo add mongodb https://mongodb.github.io/helm-charts helm repo add cetic https://cetic.github.io/helm-charts helm repo add nginx https://helm.nginx.com/stable helm repo add elastic https://helm.elastic.co helm repo add runix https://helm.runix.net |
| |
helm repo list |
helm repo update |
| |
helm pull oci://registry-1.docker.io/bitnamicharts/keycloak helm pull oci://registry-1.docker.io/bitnamicharts/mongodb helm pull oci://registry-1.docker.io/bitnamicharts/common helm pull oci://registry-1.docker.io/bitnamicharts/redis helm pull opensearch/opensearch-dashboards helm pull opensearch/opensearch helm pull prometheus/prometheus helm pull elastic/elasticsearch helm pull nginx/nginx-ingress helm pull bitnami/postgresql helm pull bitnami/logstash helm pull cetic/swaggerui helm pull runix/pgadmin4 helm pull kongz/graylog |
helm pull oci://registry-1.docker.io/bitnamicharts/keycloak --untar helm pull oci://registry-1.docker.io/bitnamicharts/mongodb --untar helm pull oci://registry-1.docker.io/bitnamicharts/common --untar helm pull oci://registry-1.docker.io/bitnamicharts/redis --untar helm pull opensearch/opensearch-dashboards --untar helm pull opensearch/opensearch --untar helm pull prometheus/prometheus --untar helm pull elastic/elasticsearch --untar helm pull nginx/nginx-ingress --untar helm pull bitnami/postgresql --untar helm pull bitnami/logstash --untar helm pull cetic/swaggerui --untar helm pull runix/pgadmin4 --untar helm pull kongz/graylog --untar |
| |
helm lint ./academia helm dependency build ./academia helm dependency update ./academia helm install academia ./academia helm upgrade academia ./academia |
helm list helm uninstall academia helm uninstall --v2 academia helm install -n chorke academia ./academia helm upgrade -f values-dev.yaml academia ./academia |
VSCode
Ctrl + P ext install Tim-Koehler.helm-intellisense
Debian
echo -E "$(jq '."helm-intellisense.customValueFileNames"=["prod-values.yaml","dev-values.yaml","values.yaml"]'\
${HOME}/.config/Code/User/settings.json)">\
${HOME}/.config/Code/User/settings.json
echo -E "$(jq '."helm-intellisense.lintFileOnSave"=true'\
${HOME}/.config/Code/User/settings.json)">\
${HOME}/.config/Code/User/settings.json
MacOS
echo -E "$(jq '."helm-intellisense.customValueFileNames"=["prod-values.yaml","dev-values.yaml","values.yaml"]'\
${HOME}/Library/Application Support/Code/User/settings.json)">\
${HOME}/Library/Application Support/Code/User/settings.json
echo -E "$(jq '."helm-intellisense.lintFileOnSave"=true'\
${HOME}/Library/Application Support/Code/User/settings.json)">\
${HOME}/Library/Application Support/Code/User/settings.json
Fixit
minikube stop minikube delete minikube delete --all |
minikube docker-env minikube image ls --format table eval $(minikube -p minikube docker-env) |
minikube start --cpus 2 --memory 8192 minikube start --cpus 4 --memory 12288 minikube start --cpus 8 --memory 16384 |
| ||
helm install academia ./academia helm dependency update ./academia helm upgrade academia ./academia |
Knowledge
helm search repo -l helm repo --help helm repo list |
helm search repo -l nginx-ingress helm repo remove bitnami helm repo update |
helm pull nginx/nginx-ingress --untar helm pull nginx/nginx-ingress helm repo index . |
| ||
minikube start --cpus 6 --memory 8192 minikube start |
export KUBECONFIG=${HOME}/.kube/academia-config.yaml unset KUBECONFIG |
minikube stop minikube delete |
| ||
kubectl get pod -A helm create chorke helm create academia |
kubectl logs pod_name helm install academia ./academia helm dependency update ./academia |
kubectl exec -it pod_name -- bash kubectl delete secret secret_name helm history academia helm rollback academia |
References
| ||