Helm: Difference between revisions
Jump to navigation
Jump to search
(184 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
sudo wget -c https://get.helm.sh/helm-v3. | sudo wget -c https://get.helm.sh/helm-v3.15.2-linux-amd64.tar.gz -P /opt/cli/ | ||
sudo tar -xvzf /opt/cli/helm-v3. | sudo tar -xvzf /opt/cli/helm-v3.15.2-linux-amd64.tar.gz -C /opt/cli/ | ||
sudo rm -rf /opt/cli/helm-v3. | sudo rm -rf /opt/cli/helm-v3.15.2-linux-amd64.tar.gz | ||
sudo mv /opt/cli/linux-amd64 /opt/cli/helm-v3. | sudo mv /opt/cli/linux-amd64 /opt/cli/helm-v3.15.2-linux-amd64 | ||
sudo update-alternatives --remove-all helm | |||
sudo update-alternatives --install /usr/local/bin/helm helm\ | sudo update-alternatives --install /usr/local/bin/helm helm\ | ||
/opt/cli/helm-v3. | /opt/cli/helm-v3.15.2-linux-amd64/helm 1983 | ||
sudo update-alternatives --install /usr/bin/helm helm\ | sudo update-alternatives --install /usr/bin/helm helm\ | ||
/opt/cli/helm-v3. | /opt/cli/helm-v3.15.2-linux-amd64/helm 1983 | ||
helm repo add stable https://charts.helm.sh/stable | helm repo add stable https://charts.helm.sh/stable | ||
helm search repo jenkins | helm search repo jenkins | ||
helm version | helm version | ||
==Repository== | |||
{| | |||
|valign='top'| | |||
helm repo add prometheus https://prometheus-community.github.io/helm-charts | |||
helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube | |||
helm repo add opensearch https://opensearch-project.github.io/helm-charts | |||
helm repo add hiddehs https://hiddehs.github.io/nextgen-connect-chart | |||
helm repo add ingress https://kubernetes.github.io/ingress-nginx | |||
helm repo add sonatype https://sonatype.github.io/helm3-charts | |||
helm repo add wildfly https://docs.wildfly.org/wildfly-charts | |||
helm repo add hashicorp https://helm.releases.hashicorp.com | |||
helm repo add grafana https://grafana.github.io/helm-charts | |||
helm repo add roertel https://roertel.github.io/helm-charts | |||
helm repo add bitnami https://charts.bitnami.com/bitnami | |||
helm repo add metallb https://metallb.github.io/metallb | |||
helm repo add argo https://argoproj.github.io/argo-helm | |||
helm repo add rook-op https://charts.rook.io/release | |||
helm repo add stable https://charts.helm.sh/stable | |||
helm repo add kongz https://charts.kong-z.com | |||
|valign='top'| | |||
helm repo add fission-charts https://fission.github.io/fission-charts | |||
helm repo add artifact-hub https://artifacthub.github.io/helm-charts | |||
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 traefik https://traefik.github.io/charts | |||
helm repo add nginx https://helm.nginx.com/stable | |||
helm repo add jetstack https://charts.jetstack.io | |||
helm repo add jenkins https://charts.jenkins.io | |||
helm repo add minio-op https://operator.min.io | |||
helm repo add gitlab https://charts.gitlab.io | |||
helm repo add camunda https://helm.camunda.io | |||
helm repo add elastic https://helm.elastic.co | |||
helm repo add jfrog https://charts.jfrog.io | |||
helm repo add runix https://helm.runix.net | |||
helm repo add minio https://charts.min.io | |||
|- | |||
|colspan='2'| | |||
---- | |||
|- | |||
|valign='top'| | |||
helm repo list | |||
|valign='top'| | |||
helm repo update | |||
|- | |||
|colspan='2'| | |||
---- | |||
|- | |||
|valign='top'| | |||
helm pull opensearch/opensearch-dashboards | |||
helm pull opensearch/opensearch | |||
helm pull prometheus/prometheus | |||
helm pull elastic/elasticsearch | |||
helm pull nginx/nginx-ingress | |||
helm pull sonarqube/sonarqube | |||
helm pull bitnami/keycloak | |||
helm pull bitnami/mongodb | |||
helm pull bitnami/common | |||
helm pull bitnami/redis | |||
|valign='top'| | |||
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 sonarqube/sonarqube --untar | |||
helm pull bitnami/keycloak --untar | |||
helm pull bitnami/mongodb --untar | |||
helm pull bitnami/common --untar | |||
helm pull bitnami/redis --untar | |||
|- | |||
|colspan='2'| | |||
---- | |||
|- | |||
|valign='top'| | |||
helm pull bitnami/postgresql --version=15.5.21 | |||
helm pull runix/pgadmin4 --version=1.31.0 | |||
helm pull bitnami/logstash | |||
helm pull hashicorp/consul | |||
helm pull grafana/grafana | |||
helm pull jenkins/jenkins | |||
helm pull cetic/swaggerui | |||
helm pull elastic/kibana | |||
helm pull kongz/graylog | |||
helm pull gitlab/gitlab | |||
|valign='top'| | |||
helm pull bitnami/postgresql --version=15.5.21 --untar | |||
helm pull runix/pgadmin4 --version=1.31.0 --untar | |||
helm pull bitnami/logstash --untar | |||
helm pull hashicorp/consul --untar | |||
helm pull grafana/grafana --untar | |||
helm pull jenkins/jenkins --untar | |||
helm pull cetic/swaggerui --untar | |||
helm pull elastic/kibana --untar | |||
helm pull kongz/graylog --untar | |||
helm pull gitlab/gitlab --untar | |||
|- | |||
|colspan='2'| | |||
---- | |||
|- | |||
|valign='top'| | |||
helm pull sonatype/nexus-repository-manager --version 64.2.0 | |||
helm pull minio-op/operator --version=6.0.1 | |||
helm pull prometheus/kube-prometheus-stack | |||
helm pull minio-op/tenant --version=6.0.1 | |||
helm pull bitnami/minio --version=14.6.32 | |||
helm pull camunda/camunda-platform | |||
helm pull hiddehs/nextgen-connect | |||
helm pull ingress/ingress-nginx | |||
helm pull jetstack/cert-manager | |||
helm pull argo/argo-cd | |||
|valign='top'| | |||
helm pull sonatype/nexus-repository-manager --version 64.2.0 --untar | |||
helm pull minio-op/operator --version=6.0.1 --untar | |||
helm pull prometheus/kube-prometheus-stack --untar | |||
helm pull minio-op/tenant --version=6.0.1 --untar | |||
helm pull bitnami/minio --version=14.6.32 --untar | |||
helm pull camunda/camunda-platform --untar | |||
helm pull hiddehs/nextgen-connect --untar | |||
helm pull ingress/ingress-nginx --untar | |||
helm pull jetstack/cert-manager --untar | |||
helm pull argo/argo-cd --untar | |||
|- | |||
|colspan='2'| | |||
---- | |||
|- | |||
|valign='top'| | |||
helm pull fission-charts/fission-all --version=v1.20.5 | |||
helm pull artifact-hub/artifact-hub --version=1.20.0 | |||
helm pull jfrog/artifactory-oss --version=107.98.8 | |||
helm pull roertel/phpldapadmin --version=0.1.3 | |||
helm pull roertel/openldap --version=2.4.57 | |||
helm pull sonatype/nxrm-ha --version=72.0.0 | |||
helm pull traefik/traefik --version=30.1.0 | |||
helm pull metallb/metallb --version=0.14.8 | |||
helm pull minio/minio --version=5.2.0 | |||
|valign='top'| | |||
helm pull fission-charts/fission-all --version=v1.20.5 --untar | |||
helm pull artifact-hub/artifact-hub --version=1.20.0 --untar | |||
helm pull jfrog/artifactory-oss --version=107.98.8 --untar | |||
helm pull roertel/phpldapadmin --version=0.1.3 --untar | |||
helm pull roertel/openldap --version=2.4.57 --untar | |||
helm pull sonatype/nxrm-ha --version=72.0.0 --untar | |||
helm pull traefik/traefik --version=30.1.0 --untar | |||
helm pull metallb/metallb --version=0.14.8 --untar | |||
helm pull minio/minio --version=5.2.0 --untar | |||
|- | |||
|colspan='2'| | |||
---- | |||
|- | |||
|valign='top'| | |||
helm pull bitnami/phpmyadmin --version=17.0.9 | |||
helm pull bitnami/discourse --version=15.0.5 | |||
helm pull bitnami/mediawiki --version=21.0.5 | |||
helm pull bitnami/mariadb --version=19.0.5 | |||
helm pull bitnami/wildfly --version=21.0.5 | |||
|valign='top'| | |||
helm pull bitnami/phpmyadmin --version=17.0.9 --untar | |||
helm pull bitnami/discourse --version=15.0.5 --untar | |||
helm pull bitnami/mediawiki --version=21.0.5 --untar | |||
helm pull bitnami/mariadb --version=19.0.5 --untar | |||
helm pull bitnami/wildfly --version=21.0.5 --untar | |||
|- | |||
|colspan='2'| | |||
---- | |||
|- | |||
|valign='top'| | |||
helm lint ./academia | |||
helm dependency build ./academia | |||
helm dependency update ./academia | |||
helm install academia ./academia | |||
helm upgrade academia ./academia | |||
|valign='top'| | |||
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=== | |||
---- | |||
<syntaxhighlight lang="bash"> | |||
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 | |||
</syntaxhighlight> | |||
===MacOS=== | |||
---- | |||
<syntaxhighlight lang="bash"> | |||
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 | |||
</syntaxhighlight> | |||
== Fixit == | |||
{| | |||
|valign="top"| | |||
minikube stop | |||
minikube delete | |||
minikube delete --all | |||
|valign="top"| | |||
minikube docker-env | |||
minikube image ls --format table | |||
eval $(minikube -p minikube docker-env) | |||
|valign="top"| | |||
minikube start --cpus 2 --memory 8192 | |||
minikube start --cpus 4 --memory 12288 | |||
minikube start --cpus 8 --memory 16384 | |||
|- | |||
|colspan="3"| | |||
---- | |||
|- | |||
|valign="top"| | |||
helm install academia ./academia | |||
helm dependency update ./academia | |||
helm upgrade academia ./academia | |||
|valign="top"| | |||
helm install --debug academia ./academia | |||
helm upgrade --debug academia ./academia | |||
helm uninstall --debug academia | |||
|valign="top"| | |||
helm search repo academia | |||
helm dep update ./academia | |||
helm template academia ./academia --debug | |||
|} | |||
==Nexus Helm Repo== | |||
'''Authentication » Auth:''' | |||
helm plugin install --version master https://github.com/sonatype-nexus-community/helm-nexus-push.git | |||
export USERNAME='academia';export PASSWORD='sadaqah!';helm nexus-push '''chorke''' login | |||
'''Authentication » Push:''' | |||
helm package ./elasticsearch | |||
helm nexus-push '''chorke''' elasticsearch-1.0.0.tgz | |||
'''Authentication » Pull:''' | |||
helm repo add '''chorke''' https://cid.chorke.org/nexus/repository/helm --username academia --password sadaqah! --force-update | |||
helm repo add '''chorke''' https://cid.chorke.org/nexus/repository/helm --username academia --password sadaqah! | |||
helm repo add '''chorke''' https://cid.chorke.org/nexus/repository/helm --username academia | |||
helm repo update && helm pull chorke/elasticsearch --version 1.0.0 | |||
==Knowledge== | ==Knowledge== | ||
{| | {| | ||
|valign='top'| | |valign='top'| | ||
helm search repo -l | |||
helm repo --help | helm repo --help | ||
helm repo list | helm repo list | ||
|valign='top'| | |valign='top'| | ||
helm search repo -l nginx-ingress | |||
helm repo remove bitnami | |||
helm repo update | |||
|valign='top'| | |valign='top'| | ||
helm pull nginx/nginx-ingress --untar | |||
helm pull nginx/nginx-ingress | |||
helm repo index . | |||
|- | |- | ||
Line 45: | Line 332: | ||
|- | |- | ||
|valign='top'| | |valign='top'| | ||
kubectl get pod -A | |||
kubectl logs pod_name | |||
helm create chorke | |||
helm create academia | |||
|valign='top'| | |||
helm list -A | |||
helm install academia ./academia | |||
helm dependency update ./academia | |||
|valign='top'| | |||
kubectl exec -it pod_name -- bash | |||
kubectl delete secret secret_name | |||
helm history academia | |||
helm rollback academia | |||
|- | |||
|colspan='3'| | |||
---- | |||
|- | |||
|valign='top'| | |||
ls -lah ${HOME}/.cache/helm | |||
|valign='top'| | |valign='top'| | ||
ls -lah ${HOME}/.local/share/helm | |||
|valign='top'| | |valign='top'| | ||
ls -lah ${HOME}/.cache/helm/repository | |||
|} | |} | ||
Line 55: | Line 370: | ||
{| | {| | ||
| valign="top" | | | valign="top" | | ||
* [https://helm.sh/blog/storing-charts-in-oci/ Helm » Charts in OCI Registries] | |||
* [https://bitnami.com/stack/elasticsearch/helm Helm » Bitnami » Elasticsearch] | |||
* [https://bitnami.com/stack/prometheus Helm » Bitnami » Prometheus] | |||
* [https://bitnami.com/stack/postgresql/helm Helm » Bitnami » PostgreSQL] | |||
* [https://bitnami.com/stack/mongodb/helm Helm » Bitnami » MongoDB] | |||
* [https://bitnami.com/stack/logstash/helm Helm » Bitnami » Logstash] | |||
* [https://github.com/mongodb/helm-charts Helm » GitHub » MongoDB] | |||
* [https://artifacthub.io/packages/helm/kong-z/graylog Helm » Artifact » Graylog] | |||
* [https://helm.sh/docs/intro/quickstart/ Helm » Quickstart Guide] | * [https://helm.sh/docs/intro/quickstart/ Helm » Quickstart Guide] | ||
* [https://helm.sh/docs/helm/helm_pull/ Helm » Pull] | |||
| valign="top" | | |||
* [https://helm.sh/docs/chart_template_guide/functions_and_pipelines/ Helm » Template Functions and Pipelines] | |||
* [https://helm.sh/docs/chart_template_guide/function_list/ Helm » Template Function List] | |||
* [https://marketplace.visualstudio.com/items?itemName=Tim-Koehler.helm-intellisense&ssr=false Helm » VSCode » Intellisense] | |||
* [https://www.elastic.co/guide/en/cloud-on-k8s/master/k8s-install-helm.html Helm » Elastic » OpenSearch] | |||
* [https://helm.sh/docs/chart_template_guide/control_structures/ Helm » Flow Control] | |||
* [https://opensearch.org/docs/1.2/opensearch/install/helm/ Helm » OpenSearch] | |||
* [https://helm.sh/docs/chart_template_guide/values_files/ Helm » Values Files] | |||
* [https://helm.sh/docs/helm/helm_upgrade/ Helm » Upgrade] | |||
* [https://helm.sh/docs/helm/helm_rollback/ Helm » Rollback] | |||
* [https://helm.sh/docs/helm/helm_history/ Helm » History] | |||
| valign="top" | | |||
* [https://stackoverflow.com/questions/52330904/ Helm » Copy file to container after pod's deployment] | |||
* [https://stackoverflow.com/questions/48937323/ Helm » Automatic sub-directories in K8s Configmaps] | |||
* [https://stackoverflow.com/questions/55499984/ Helm » PostgreSQL » initdbScripts] | |||
* [https://financial-times.github.io/zipkin-helm/ Helm » Zipkin » Financial Times] | |||
* [https://devpress.csdn.net/k8s/62fccfa97e66823466190aaf.html Helm » Usages » <code>.Files.Get</code>] | |||
* [https://github.com/prometheus-community/helm-charts Helm » Prometheus » Github] | |||
* [https://artifacthub.io/packages/helm/cetic/swaggerui Helm » SwaggerUI » Cetic] | |||
* [https://artifacthub.io/packages/helm/ygqygq2/zipkin Helm » Zipkin » Ygqygq2] | |||
* [https://helm.sh/docs/helm/helm_install/ Helm » Install] | |||
* [https://helm.sh/docs/helm/helm/ Helm » Env] | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | |||
* [https://docs.bitnami.com/kubernetes/infrastructure/cert-manager/configuration/generate-self-signed-certificates/ Helm » Bitnami » Self Signed Certificates] | |||
* [https://docs.bitnami.com/kubernetes/infrastructure/cert-manager/configuration/generate-acme-certificates/ Helm » Bitnami » ACME TLS Certificates] | |||
* [https://itnext.io/helm-3-mapping-a-directory-of-files-into-a-container-ed6c54372df8 Helm » Mapping a directory of files] | |||
* [https://artifacthub.io/packages/helm/sonatype/nexus-iq-server Helm » Sonatype » Nexus IQ] | |||
* [https://github.com/bitnami/containers/tree/main/bitnami Helm » Bitnami » Repository] | |||
* [https://artifacthub.io/packages/helm/sonatype/nexus-repository-manager Helm » Sonatype » Nexus] | |||
* [https://artifacthub.io/packages/helm/jfrog/artifactory Helm » JFrog » Artifactory] | |||
* [https://github.com/sonatype-nexus-community/helm-nexus-push Helm » Push » Nexus] | |||
* [https://artifacthub.io/packages/helm/metallb/metallb Helm » MetalLB] | |||
* [https://artifacthub.io/packages/helm/hashicorp/consul Helm » Consul] | |||
| valign="top" | | |||
* [https://medium.com/linux-shots/helm-chart-repository-on-sonatype-nexus-oss-fcf6f7c7498e Helm » Push » Config Nexus OSS Repo] | |||
* [https://stackoverflow.com/questions/75596795/ Helm » Pass YAML/JSON using <code>stdin</code>] | |||
* [https://github.com/chartmuseum/helm-push Helm » Push » ChartMuseum] | |||
* [https://helm.sh/docs/helm/helm_repo_remove/ Helm » Repo » Remove] | |||
* [https://github.com/kubernetes/ingress-nginx Helm » Ingress Nginx] | |||
* [https://artifacthub.io/packages/helm/longhorn/longhorn Helm » Longhorn] | |||
* [https://artifacthub.io/packages/helm/argo/argo-cd Helm » Argo CD] | |||
* [https://artifacthub.io/packages/helm/elastic/kibana Helm » Kibana] | |||
* [https://github.com/argoproj/argo-helm Helm » Argo] | |||
* [https://docs.ceph.com/en/mimic/start/kube-helm Helm » Ceph] | |||
| valign="top" | | |||
* [https://rook.io/docs/rook/latest-release/Helm-Charts/operator-chart/ Helm » Rook » Operator] | |||
* [https://github.com/hiddehs/nextgen-connect-chart Helm » Mirth Connect] | |||
* [https://rook.io/docs/rook/latest-release/Helm-Charts/ceph-cluster-chart/ Helm » Rook » Ceph] | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | |||
* [[Helm/Cert Manager|Helm » Cert Manager]] | |||
* [[Helm/PhpMyAdmin|Helm » PhpMyAdmin]] | |||
* [[Helm/PostgreSQL|Helm » PostgreSQL]] | |||
* [[Helm/SonarQube|Helm » SonarQube]] | |||
* [[Helm/Keycloak|Helm » Keycloak]] | |||
* [[Helm/MariaDB|Helm » MariaDB]] | |||
* [[Helm/Jenkins|Helm » Jenkins]] | |||
* [[Helm/Traefik|Helm » Traefik]] | |||
* [[Helm/Nexus|Helm » Nexus]] | |||
* [[Helm/Redis|Helm » Redis]] | |||
| valign="top" | | | valign="top" | | ||
* [[Helm/Prometheus Stack|Helm » Prometheus Stack]] | |||
* [[Helm/Prometheus|Helm » Prometheus]] | |||
* [[Helm/PgAdmin4|Helm » PgAdmin4]] | |||
* [[Helm/Camunda|Helm » Camunda]] | |||
* [[Helm/Grafana|Helm » Grafana]] | |||
* [[Helm/Fission|Helm » Fission]] | |||
* [[Helm/GitLab|Helm » GitLab]] | |||
* [[Helm/MinIO|Helm » MinIO]] | |||
| valign="top" | | | valign="top" | | ||
Line 69: | Line 475: | ||
* [[Minikube]] | * [[Minikube]] | ||
* [[ZA Proxy]] | * [[ZA Proxy]] | ||
* [[HAProxy]] | |||
* [[Kubectl]] | * [[Kubectl]] | ||
* [[JMeter]] | * [[JMeter]] | ||
* [[MAAS]] | |||
* [[Ceph]] | |||
* [[Istio]] | |||
* [[Juju]] | |||
| valign="top" | | |||
* [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ K8s » Configure Service Accounts for Pods] | |||
* [https://www.groundcover.com/blog/crashloopbackoff K8s » CrashLoopBackOff » GroundCover] | |||
* [https://www.blinkops.com/blog/troubleshooting-the-crashloopbackoff-error K8s » CrashLoopBackOff » Blinkops] | |||
* [https://spacelift.io/blog/crashloopbackoff K8s » CrashLoopBackOff » Spacelift] | |||
* [https://foxutech.medium.com/kubernetes-crashloopbackoff-how-to-troubleshoot-940dbb16bc84 K8s » CrashLoopBackOff » Medium] | |||
* [https://www.keycloak.org/server/reverseproxy Keycloak » Using a reverse proxy] | |||
* [https://minikube.sigs.k8s.io/docs/handbook/addons/ingress-dns/ K8s » Minikube » Ingress DNS] | |||
* [https://www.keycloak.org/server/hostname K8s » Keycloak » Hostname] | |||
* [https://github.com/swagger-api/swagger-editor Swagger Editor] | |||
* [[K8s]] | |||
| valign="top" | | |||
* [https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/ K8s » DNS Service » Customizing] | |||
* [https://cert-manager.io/docs/reference/cmctl/ K8s » Helm » Cert Manager » CLI] | |||
* [https://medium.com/kubernetes-tutorials/kubernetes-dns-for-services-and-pods-664804211501 K8s » DNS for Services and Pods] | |||
* [https://stackoverflow.com/questions/50952240/ K8s » Connect to Host Database] | |||
* [https://georgepaw.medium.com/how-to-run-the-cheapest-kubernetes-cluster-at-1-per-day-9287abb90cee K8s » Cheapest Cluster $1/Day] | |||
* [https://cert-manager.io/docs/installation/helm/ K8s » Helm » Cert Manager ] | |||
* [https://medium.com/@pczarkowski/kubernetes-tip-run-an-interactive-pod-d701766a12 K8s » Interactive Pod] | |||
* [https://spacelift.io/blog/restart-kubernetes-pods-with-kubectl K8s » Restart Pods] | |||
* [https://www.keycloak.org/server/containers Docker » Keycloak] | |||
* [https://earthly.dev/blog/docker-and-makefiles/ Docker » Makefile] | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | |||
* [[K8s/CSI Hostpath Driver|K8s » CSI Hostpath Driver]] | |||
* [[K8s/Ingress|K8s » Ingress]] | |||
* [[K8s/Service|K8s » Service]] | |||
* [[CIDR]] | |||
| valign="top" | | | valign="top" | |
Latest revision as of 22:48, 20 November 2024
sudo wget -c https://get.helm.sh/helm-v3.15.2-linux-amd64.tar.gz -P /opt/cli/ sudo tar -xvzf /opt/cli/helm-v3.15.2-linux-amd64.tar.gz -C /opt/cli/ sudo rm -rf /opt/cli/helm-v3.15.2-linux-amd64.tar.gz
sudo mv /opt/cli/linux-amd64 /opt/cli/helm-v3.15.2-linux-amd64 sudo update-alternatives --remove-all helm sudo update-alternatives --install /usr/local/bin/helm helm\ /opt/cli/helm-v3.15.2-linux-amd64/helm 1983 sudo update-alternatives --install /usr/bin/helm helm\ /opt/cli/helm-v3.15.2-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 sonarqube https://SonarSource.github.io/helm-chart-sonarqube helm repo add opensearch https://opensearch-project.github.io/helm-charts helm repo add hiddehs https://hiddehs.github.io/nextgen-connect-chart helm repo add ingress https://kubernetes.github.io/ingress-nginx helm repo add sonatype https://sonatype.github.io/helm3-charts helm repo add wildfly https://docs.wildfly.org/wildfly-charts helm repo add hashicorp https://helm.releases.hashicorp.com helm repo add grafana https://grafana.github.io/helm-charts helm repo add roertel https://roertel.github.io/helm-charts helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add metallb https://metallb.github.io/metallb helm repo add argo https://argoproj.github.io/argo-helm helm repo add rook-op https://charts.rook.io/release helm repo add stable https://charts.helm.sh/stable helm repo add kongz https://charts.kong-z.com |
helm repo add fission-charts https://fission.github.io/fission-charts helm repo add artifact-hub https://artifacthub.github.io/helm-charts 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 traefik https://traefik.github.io/charts helm repo add nginx https://helm.nginx.com/stable helm repo add jetstack https://charts.jetstack.io helm repo add jenkins https://charts.jenkins.io helm repo add minio-op https://operator.min.io helm repo add gitlab https://charts.gitlab.io helm repo add camunda https://helm.camunda.io helm repo add elastic https://helm.elastic.co helm repo add jfrog https://charts.jfrog.io helm repo add runix https://helm.runix.net helm repo add minio https://charts.min.io |
| |
helm repo list |
helm repo update |
| |
helm pull opensearch/opensearch-dashboards helm pull opensearch/opensearch helm pull prometheus/prometheus helm pull elastic/elasticsearch helm pull nginx/nginx-ingress helm pull sonarqube/sonarqube helm pull bitnami/keycloak helm pull bitnami/mongodb helm pull bitnami/common helm pull bitnami/redis |
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 sonarqube/sonarqube --untar helm pull bitnami/keycloak --untar helm pull bitnami/mongodb --untar helm pull bitnami/common --untar helm pull bitnami/redis --untar |
| |
helm pull bitnami/postgresql --version=15.5.21 helm pull runix/pgadmin4 --version=1.31.0 helm pull bitnami/logstash helm pull hashicorp/consul helm pull grafana/grafana helm pull jenkins/jenkins helm pull cetic/swaggerui helm pull elastic/kibana helm pull kongz/graylog helm pull gitlab/gitlab |
helm pull bitnami/postgresql --version=15.5.21 --untar helm pull runix/pgadmin4 --version=1.31.0 --untar helm pull bitnami/logstash --untar helm pull hashicorp/consul --untar helm pull grafana/grafana --untar helm pull jenkins/jenkins --untar helm pull cetic/swaggerui --untar helm pull elastic/kibana --untar helm pull kongz/graylog --untar helm pull gitlab/gitlab --untar |
| |
helm pull sonatype/nexus-repository-manager --version 64.2.0 helm pull minio-op/operator --version=6.0.1 helm pull prometheus/kube-prometheus-stack helm pull minio-op/tenant --version=6.0.1 helm pull bitnami/minio --version=14.6.32 helm pull camunda/camunda-platform helm pull hiddehs/nextgen-connect helm pull ingress/ingress-nginx helm pull jetstack/cert-manager helm pull argo/argo-cd |
helm pull sonatype/nexus-repository-manager --version 64.2.0 --untar helm pull minio-op/operator --version=6.0.1 --untar helm pull prometheus/kube-prometheus-stack --untar helm pull minio-op/tenant --version=6.0.1 --untar helm pull bitnami/minio --version=14.6.32 --untar helm pull camunda/camunda-platform --untar helm pull hiddehs/nextgen-connect --untar helm pull ingress/ingress-nginx --untar helm pull jetstack/cert-manager --untar helm pull argo/argo-cd --untar |
| |
helm pull fission-charts/fission-all --version=v1.20.5 helm pull artifact-hub/artifact-hub --version=1.20.0 helm pull jfrog/artifactory-oss --version=107.98.8 helm pull roertel/phpldapadmin --version=0.1.3 helm pull roertel/openldap --version=2.4.57 helm pull sonatype/nxrm-ha --version=72.0.0 helm pull traefik/traefik --version=30.1.0 helm pull metallb/metallb --version=0.14.8 helm pull minio/minio --version=5.2.0 |
helm pull fission-charts/fission-all --version=v1.20.5 --untar helm pull artifact-hub/artifact-hub --version=1.20.0 --untar helm pull jfrog/artifactory-oss --version=107.98.8 --untar helm pull roertel/phpldapadmin --version=0.1.3 --untar helm pull roertel/openldap --version=2.4.57 --untar helm pull sonatype/nxrm-ha --version=72.0.0 --untar helm pull traefik/traefik --version=30.1.0 --untar helm pull metallb/metallb --version=0.14.8 --untar helm pull minio/minio --version=5.2.0 --untar |
| |
helm pull bitnami/phpmyadmin --version=17.0.9 helm pull bitnami/discourse --version=15.0.5 helm pull bitnami/mediawiki --version=21.0.5 helm pull bitnami/mariadb --version=19.0.5 helm pull bitnami/wildfly --version=21.0.5 |
helm pull bitnami/phpmyadmin --version=17.0.9 --untar helm pull bitnami/discourse --version=15.0.5 --untar helm pull bitnami/mediawiki --version=21.0.5 --untar helm pull bitnami/mariadb --version=19.0.5 --untar helm pull bitnami/wildfly --version=21.0.5 --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 |
helm install --debug academia ./academia helm upgrade --debug academia ./academia helm uninstall --debug academia |
helm search repo academia helm dep update ./academia helm template academia ./academia --debug |
Nexus Helm Repo
Authentication » Auth: helm plugin install --version master https://github.com/sonatype-nexus-community/helm-nexus-push.git export USERNAME='academia';export PASSWORD='sadaqah!';helm nexus-push chorke login
Authentication » Push: helm package ./elasticsearch helm nexus-push chorke elasticsearch-1.0.0.tgz
Authentication » Pull: helm repo add chorke https://cid.chorke.org/nexus/repository/helm --username academia --password sadaqah! --force-update helm repo add chorke https://cid.chorke.org/nexus/repository/helm --username academia --password sadaqah! helm repo add chorke https://cid.chorke.org/nexus/repository/helm --username academia helm repo update && helm pull chorke/elasticsearch --version 1.0.0
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 kubectl logs pod_name helm create chorke helm create academia |
helm list -A 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 |
| ||
ls -lah ${HOME}/.cache/helm |
ls -lah ${HOME}/.local/share/helm |
ls -lah ${HOME}/.cache/helm/repository |
References
| ||
| ||
| ||
| ||