Helm: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
sudo wget -c https://get.helm.sh/helm-v3.15.2-linux-amd64.tar.gz -P /opt/cli/
{|class='wikitable'
  sudo tar -xvzf /opt/cli/helm-v3.15.2-linux-amd64.tar.gz -C /opt/cli/
|valign='top'|
sudo rm  -rf  /opt/cli/helm-v3.15.2-linux-amd64.tar.gz
<syntaxhighlight lang='bash'>
curl -fsSL https://packages.buildkite.com/helm-linux/helm-debian/gpgkey\
  | sudo tee /etc/apt/keyrings/helm-stable-debian.asc >/dev/null


sudo mv /opt/cli/linux-amd64 /opt/cli/helm-v3.15.2-linux-amd64
cat << SRC | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list >/dev/null
sudo update-alternatives --remove-all helm
deb [arch=$(dpkg --print-architecture)\
   
  signed-by=/etc/apt/keyrings/helm-stable-debian.asc]\
sudo update-alternatives --install /usr/local/bin/helm helm\
https://packages.buildkite.com/helm-linux/helm-debian/any/ any main
  /opt/cli/helm-v3.15.2-linux-amd64/helm 1983
SRC
sudo update-alternatives --install /usr/bin/helm helm\
  /opt/cli/helm-v3.15.2-linux-amd64/helm 1983


echo 'apt-get update;echo;apt-get install -y helm'|sudo bash
</syntaxhighlight>
|-
|valign='top'|
<syntaxhighlight lang='bash'>
  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
</syntaxhighlight>
|}


==Repository==
==Helm » Repo==
{|
{|class='wikitable'
|valign='top' style='width:50%'|
<syntaxhighlight lang='bash'>
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 cowboysysop https://cowboysysop.github.io/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
</syntaxhighlight>
 
|valign='top' style='width:50%'|
<syntaxhighlight lang='bash' line>
helm repo add community-charts https://community-charts.github.io/helm-charts
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 mojo2600 https://mojo2600.github.io/pihole-kubernetes
helm repo add azure https://marketplace.azurecr.io/helm/v1/repo
helm repo add mongodb https://mongodb.github.io/helm-charts
helm repo add apache-solr https://solr.apache.org/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
</syntaxhighlight>
|-
|valign='top'|
|valign='top'|
helm repo add prometheus https://prometheus-community.github.io/helm-charts
<syntaxhighlight lang='bash'>
helm repo add sonarqube https://SonarSource.github.io/helm-chart-sonarqube
helm repo add roertel https://roertel.github.io/helm-charts
helm repo add opensearch https://opensearch-project.github.io/helm-charts
helm repo add kedacore https://kedacore.github.io/charts
helm repo add hiddehs https://hiddehs.github.io/nextgen-connect-chart
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add ingress https://kubernetes.github.io/ingress-nginx
helm repo add metallb https://metallb.github.io/metallb
helm repo add sonatype https://sonatype.github.io/helm3-charts
helm repo add argo https://argoproj.github.io/argo-helm
helm repo add wildfly https://docs.wildfly.org/wildfly-charts
helm repo add rook-op https://charts.rook.io/release
helm repo add hashicorp https://helm.releases.hashicorp.com
helm repo add stable https://charts.helm.sh/stable
helm repo add grafana https://grafana.github.io/helm-charts
helm repo add kongz https://charts.kong-z.com
helm repo add roertel https://roertel.github.io/helm-charts
helm repo add harbor https://helm.goharbor.io
helm repo add kedacore https://kedacore.github.io/charts
helm repo add ngrok https://charts.ngrok.com
helm repo add bitnami https://charts.bitnami.com/bitnami
</syntaxhighlight>
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'|
|valign='top'|
helm repo add fission-charts https://fission.github.io/fission-charts
<syntaxhighlight lang='bash' line>
helm repo add artifact-hub https://artifacthub.github.io/helm-charts
helm repo add jetstack https://charts.jetstack.io
helm repo add azure https://marketplace.azurecr.io/helm/v1/repo
helm repo add jenkins https://charts.jenkins.io
helm repo add mongodb https://mongodb.github.io/helm-charts
helm repo add minio-op https://operator.min.io
helm repo add apache-solr https://solr.apache.org/charts
helm repo add yourls https://charts.yourls.org
helm repo add cetic https://cetic.github.io/helm-charts
helm repo add gitlab https://charts.gitlab.io
helm repo add traefik https://traefik.github.io/charts
helm repo add camunda https://helm.camunda.io
helm repo add nginx https://helm.nginx.com/stable
helm repo add elastic https://helm.elastic.co
helm repo add jetstack https://charts.jetstack.io
helm repo add jfrog https://charts.jfrog.io
helm repo add jenkins https://charts.jenkins.io
helm repo add runix https://helm.runix.net
helm repo add minio-op https://operator.min.io
helm repo add minio https://charts.min.io
helm repo add gitlab https://charts.gitlab.io
</syntaxhighlight>
helm repo add camunda https://helm.camunda.io
|-
helm repo add elastic https://helm.elastic.co
|valign='top'|
helm repo add jfrog https://charts.jfrog.io
helm repo add runix https://helm.runix.net
helm repo add minio https://charts.min.io


|-
|valign='top'|
|colspan='2'|
<syntaxhighlight lang='bash' line>
----
helm repo add external-secrets https://charts.external-secrets.io
</syntaxhighlight>
|-
|-
|valign='top'|
|valign='top'|
helm repo list


|valign='top'|
|valign='top'|
helm repo update
<syntaxhighlight lang='bash' line>
helm repo update
helm repo list
</syntaxhighlight>
|}


|-
==Helm » Pull==
|colspan='2'|
{|class='wikitable'
----
|valign='top' style='width:50%'|
<syntaxhighlight lang='bash'>
helm pull opensearch/opensearch-dashboards --version=2.25.0
helm pull opensearch/opensearch --version=1.5.0
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
</syntaxhighlight>
 
|valign='top' style='width:50%'|
<syntaxhighlight lang='bash' line>
helm pull opensearch/opensearch-dashboards --version=2.25.0 --untar
helm pull opensearch/opensearch --version=1.5.0 --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
</syntaxhighlight>
|-
|-
|valign='top'|
|valign='top'|
helm pull opensearch/opensearch-dashboards --version=2.25.0
<syntaxhighlight lang='bash'>
helm pull opensearch/opensearch --version=1.5.0
helm pull bitnami/postgresql --version=15.5.21
helm pull prometheus/prometheus
helm pull runix/pgadmin4 --version=1.31.0
helm pull elastic/elasticsearch
helm pull bitnami/logstash
helm pull nginx/nginx-ingress
helm pull hashicorp/consul
helm pull sonarqube/sonarqube
helm pull grafana/grafana
helm pull bitnami/keycloak
helm pull jenkins/jenkins
helm pull bitnami/mongodb
helm pull cetic/swaggerui
helm pull bitnami/common
helm pull elastic/kibana
helm pull bitnami/redis
helm pull kongz/graylog
helm pull gitlab/gitlab
</syntaxhighlight>


|valign='top'|
|valign='top'|
helm pull opensearch/opensearch-dashboards --version=2.25.0 --untar
<syntaxhighlight lang='bash' line>
helm pull opensearch/opensearch --version=1.5.0 --untar
helm pull bitnami/postgresql --version=15.5.21 --untar
helm pull prometheus/prometheus --untar
helm pull runix/pgadmin4 --version=1.31.0 --untar
helm pull elastic/elasticsearch --untar
helm pull bitnami/logstash --untar
helm pull nginx/nginx-ingress --untar
helm pull hashicorp/consul --untar
helm pull sonarqube/sonarqube --untar
helm pull grafana/grafana --untar
helm pull bitnami/keycloak --untar
helm pull jenkins/jenkins --untar
helm pull bitnami/mongodb --untar
helm pull cetic/swaggerui --untar
helm pull bitnami/common --untar
helm pull elastic/kibana --untar
helm pull bitnami/redis --untar
helm pull kongz/graylog --untar
 
helm pull gitlab/gitlab --untar
|-
</syntaxhighlight>
|colspan='2'|
----
|-
|-
|valign='top'|
|valign='top'|
helm pull bitnami/postgresql --version=15.5.21
<syntaxhighlight lang='bash'>
helm pull runix/pgadmin4 --version=1.31.0
helm pull sonatype/nexus-repository-manager --version 64.2.0
helm pull bitnami/logstash
helm pull minio-op/operator --version=6.0.1
helm pull hashicorp/consul
helm pull prometheus/kube-prometheus-stack
helm pull grafana/grafana
helm pull minio-op/tenant --version=6.0.1
helm pull jenkins/jenkins
helm pull bitnami/minio --version=14.6.32
helm pull cetic/swaggerui
helm pull camunda/camunda-platform
helm pull elastic/kibana
helm pull hiddehs/nextgen-connect
helm pull kongz/graylog
helm pull ingress/ingress-nginx
helm pull gitlab/gitlab
helm pull jetstack/cert-manager
helm pull argo/argo-cd
</syntaxhighlight>


|valign='top'|
|valign='top'|
helm pull bitnami/postgresql --version=15.5.21 --untar
<syntaxhighlight lang='bash' line>
helm pull runix/pgadmin4 --version=1.31.0 --untar
helm pull sonatype/nexus-repository-manager --version 64.2.0 --untar
helm pull bitnami/logstash --untar
helm pull minio-op/operator --version=6.0.1 --untar
helm pull hashicorp/consul --untar
helm pull prometheus/kube-prometheus-stack --untar
helm pull grafana/grafana --untar
helm pull minio-op/tenant --version=6.0.1 --untar
helm pull jenkins/jenkins --untar
helm pull bitnami/minio --version=14.6.32 --untar
helm pull cetic/swaggerui --untar
helm pull camunda/camunda-platform --untar
helm pull elastic/kibana --untar
helm pull hiddehs/nextgen-connect --untar
helm pull kongz/graylog --untar
helm pull ingress/ingress-nginx --untar
helm pull gitlab/gitlab --untar
helm pull jetstack/cert-manager --untar
 
helm pull argo/argo-cd --untar
|-
</syntaxhighlight>
|colspan='2'|
----
|-
|-
|valign='top'|
|valign='top'|
helm pull sonatype/nexus-repository-manager --version 64.2.0
<syntaxhighlight lang='bash'>
helm pull minio-op/operator --version=6.0.1
helm pull fission-charts/fission-all --version=v1.20.5
helm pull prometheus/kube-prometheus-stack
helm pull artifact-hub/artifact-hub --version=1.20.0
helm pull minio-op/tenant --version=6.0.1
helm pull jfrog/artifactory-oss --version=107.98.8
helm pull bitnami/minio --version=14.6.32
helm pull roertel/phpldapadmin --version=0.1.3
helm pull camunda/camunda-platform
helm pull roertel/openldap --version=2.4.57
helm pull hiddehs/nextgen-connect
helm pull sonatype/nxrm-ha --version=72.0.0
helm pull ingress/ingress-nginx
helm pull traefik/traefik --version=30.1.0
helm pull jetstack/cert-manager
helm pull metallb/metallb --version=0.14.8
helm pull argo/argo-cd
helm pull kedacore/keda --version=2.16.0
helm pull minio/minio --version=5.2.0
</syntaxhighlight>


|valign='top'|
|valign='top'|
helm pull sonatype/nexus-repository-manager --version 64.2.0 --untar
<syntaxhighlight lang='bash' line>
helm pull minio-op/operator --version=6.0.1 --untar
helm pull fission-charts/fission-all --version=v1.20.5 --untar
helm pull prometheus/kube-prometheus-stack --untar
helm pull artifact-hub/artifact-hub --version=1.20.0 --untar
helm pull minio-op/tenant --version=6.0.1 --untar
helm pull jfrog/artifactory-oss --version=107.98.8 --untar
helm pull bitnami/minio --version=14.6.32 --untar
helm pull roertel/phpldapadmin --version=0.1.3 --untar
helm pull camunda/camunda-platform --untar
helm pull roertel/openldap --version=2.4.57 --untar
helm pull hiddehs/nextgen-connect --untar
helm pull sonatype/nxrm-ha --version=72.0.0 --untar
helm pull ingress/ingress-nginx --untar
helm pull traefik/traefik --version=30.1.0 --untar
helm pull jetstack/cert-manager --untar
helm pull metallb/metallb --version=0.14.8 --untar
helm pull argo/argo-cd --untar
helm pull kedacore/keda --version=2.16.0 --untar
 
helm pull minio/minio --version=5.2.0 --untar
|-
</syntaxhighlight>
|colspan='2'|
----
|-
|-
|valign='top'|
|valign='top'|
helm pull fission-charts/fission-all --version=v1.20.5
<syntaxhighlight lang='bash'>
helm pull artifact-hub/artifact-hub --version=1.20.0
helm pull apache-solr/solr-operator --version=0.8.1
helm pull jfrog/artifactory-oss --version=107.98.8
helm pull bitnami/elasticsearch --version=21.4.1
helm pull roertel/phpldapadmin --version=0.1.3
helm pull bitnami/phpmyadmin --version=17.0.9
helm pull roertel/openldap --version=2.4.57
helm pull bitnami/opensearch --version=1.5.0
helm pull sonatype/nxrm-ha --version=72.0.0
helm pull bitnami/discourse --version=15.0.5
helm pull traefik/traefik --version=30.1.0
helm pull bitnami/mediawiki --version=21.0.5
helm pull metallb/metallb --version=0.14.8
helm pull bitnami/rabbitmq --version=15.2.1
helm pull kedacore/keda --version=2.16.0
helm pull apache-solr/solr --version=0.8.1
helm pull minio/minio --version=5.2.0
helm pull bitnami/mariadb --version=19.0.5
helm pull bitnami/wildfly --version=21.0.5
</syntaxhighlight>


|valign='top'|
|valign='top'|
helm pull fission-charts/fission-all --version=v1.20.5 --untar
<syntaxhighlight lang='bash' line>
helm pull artifact-hub/artifact-hub --version=1.20.0 --untar
helm pull apache-solr/solr-operator --version=0.8.1 --untar
helm pull jfrog/artifactory-oss --version=107.98.8 --untar
helm pull bitnami/elasticsearch --version=21.4.1 --untar
helm pull roertel/phpldapadmin --version=0.1.3 --untar
helm pull bitnami/phpmyadmin --version=17.0.9 --untar
helm pull roertel/openldap --version=2.4.57 --untar
helm pull bitnami/opensearch --version=1.5.0 --untar
helm pull sonatype/nxrm-ha --version=72.0.0 --untar
helm pull bitnami/discourse --version=15.0.5 --untar
helm pull traefik/traefik --version=30.1.0 --untar
helm pull bitnami/mediawiki --version=21.0.5 --untar
helm pull metallb/metallb --version=0.14.8 --untar
helm pull bitnami/rabbitmq --version=15.2.1 --untar
helm pull kedacore/keda --version=2.16.0 --untar
helm pull apache-solr/solr --version=0.8.1 --untar
helm pull minio/minio --version=5.2.0 --untar
helm pull bitnami/mariadb --version=19.0.5 --untar
 
helm pull bitnami/wildfly --version=21.0.5 --untar
|-
</syntaxhighlight>
|colspan='2'|
----
|-
|-
|valign='top'|
|valign='top'|
helm pull apache-solr/solr-operator --version=0.8.1
<syntaxhighlight lang='bash'>
helm pull bitnami/phpmyadmin --version=17.0.9
helm pull community-charts/cloudflared --version=2.2.2
helm pull bitnami/discourse --version=15.0.5
helm pull grafana/loki-distributed --version=0.80.5
helm pull bitnami/mediawiki --version=21.0.5
helm pull ngrok/ngrok-operator --version=0.20.0
helm pull apache-solr/solr --version=0.8.1
helm pull cowboysysop/kroki --version=6.0.0
helm pull bitnami/mariadb --version=19.0.5
helm pull mojo2600/pihole --version=2.34.0
helm pull bitnami/wildfly --version=21.0.5
helm pull hashicorp/vault --version=0.30.1
helm pull bitnami/kafka --version=31.1.0
helm pull harbor/harbor --version=1.17.1
helm pull yourls/yourls --version=8.5.8
helm pull grafana/loki --version=6.32.0
</syntaxhighlight>


|valign='top'|
|valign='top'|
helm pull apache-solr/solr-operator --version=0.8.1 --untar
<syntaxhighlight lang='bash' line>
helm pull bitnami/phpmyadmin --version=17.0.9 --untar
helm pull community-charts/cloudflared --version=2.2.2 --untar
helm pull bitnami/discourse --version=15.0.5 --untar
helm pull grafana/loki-distributed --version=0.80.5 --untar
helm pull bitnami/mediawiki --version=21.0.5 --untar
helm pull ngrok/ngrok-operator --version=0.20.0 --untar
helm pull apache-solr/solr --version=0.8.1 --untar
helm pull cowboysysop/kroki --version=6.0.0 --untar
helm pull bitnami/mariadb --version=19.0.5 --untar
helm pull mojo2600/pihole --version=2.34.0 --untar
helm pull bitnami/wildfly --version=21.0.5 --untar
helm pull hashicorp/vault --version=0.30.1 --untar
 
helm pull bitnami/kafka --version=31.1.0 --untar
helm pull harbor/harbor --version=1.17.1 --untar
helm pull yourls/yourls --version=8.5.8 --untar
helm pull grafana/loki --version=6.32.0 --untar
</syntaxhighlight>
|-
|-
|colspan='2'|
|valign='top'|
----
<syntaxhighlight lang='bash'>
helm pull external-secrets/external-secrets --version=1.2.1
helm pull hashicorp/vault-secrets-operator --version=1.2.0
</syntaxhighlight>
|valign='top'|
<syntaxhighlight lang='bash' line>
helm pull external-secrets/external-secrets --version=1.2.1 --untar
helm pull hashicorp/vault-secrets-operator --version=1.2.0 --untar
</syntaxhighlight>
|-
|-
|valign='top'|
|valign='top'|
helm lint ./academia
<syntaxhighlight lang='bash'>
helm dependency build ./academia
helm lint ./academia
helm dependency update ./academia
helm dependency build ./academia
helm dependency update ./academia
helm install academia ./academia
 
helm upgrade academia ./academia
helm install academia ./academia
helm upgrade academia ./academia
</syntaxhighlight>


|valign='top'|
|valign='top'|
helm list
<syntaxhighlight lang='bash' line>
helm uninstall academia
helm list
helm uninstall --v2 academia
helm uninstall academia
helm uninstall --v2 academia
helm install -n chorke academia ./academia
helm upgrade -f values-dev.yaml academia ./academia


helm install -n chorke academia ./academia
helm upgrade -f values-dev.yaml academia ./academia
</syntaxhighlight>
|}
|}


== VSCode ==
== VSCode ==
'''Ctrl + P'''
{|class='wikitable'
ext install Tim-Koehler.helm-intellisense
|valign='top'|
===Debian===
<syntaxhighlight lang='bash'>
----
# Ctrl + P
<syntaxhighlight lang="bash">
ext install Tim-Koehler.helm-intellisense
</syntaxhighlight>
|}
 
== VSCode » Debian==
{|class='wikitable'
|valign='top'|
<syntaxhighlight lang='bash'>
echo -E "$(jq '."helm-intellisense.customValueFileNames"=["prod-values.yaml","dev-values.yaml","values.yaml"]'\
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)">\
Line 236: Line 319:
  ${HOME}/.config/Code/User/settings.json
  ${HOME}/.config/Code/User/settings.json
</syntaxhighlight>
</syntaxhighlight>
|}


===MacOS===
== VSCode » MacOS==
----
{|class='wikitable'
<syntaxhighlight lang="bash">
|valign='top'|
<syntaxhighlight lang='bash'>
echo -E "$(jq '."helm-intellisense.customValueFileNames"=["prod-values.yaml","dev-values.yaml","values.yaml"]'\
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)">\
Line 248: Line 333:
  ${HOME}/Library/Application Support/Code/User/settings.json
  ${HOME}/Library/Application Support/Code/User/settings.json
</syntaxhighlight>
</syntaxhighlight>
|}


== Fixit ==
== Fixit ==
{|
{|class='wikitable'
|valign="top"|
|valign='top' style='width:33%'|
minikube stop
<syntaxhighlight lang='bash'>
minikube delete
minikube stop
minikube delete --all
minikube delete
minikube delete --all
</syntaxhighlight>


|valign="top"|
|valign='top' style='width:34%'|
minikube docker-env
<syntaxhighlight lang='bash'>
minikube image ls --format table
minikube docker-env
eval $(minikube -p minikube docker-env)
minikube image ls --format table
 
eval $(minikube -p minikube docker-env)
|valign="top"|
</syntaxhighlight>
minikube start --cpus 2 --memory 8192
minikube start --cpus 4 --memory 12288
minikube start --cpus 8 --memory 16384


|valign='top' style='width:33%'|
<syntaxhighlight lang='bash'>
minikube start --cpus 2 --memory 8192
minikube start --cpus 4 --memory 12288
minikube start --cpus 8 --memory 16384
</syntaxhighlight>
|-
|-
|colspan="3"|
|valign='top'|
----
<syntaxhighlight lang='bash'>
|-
helm install academia  ./academia
|valign="top"|
helm dependency update ./academia
helm install academia  ./academia
helm upgrade academia  ./academia
helm dependency update ./academia
</syntaxhighlight>
helm upgrade academia  ./academia


|valign="top"|
|valign='top'|
helm install  --debug academia ./academia
<syntaxhighlight lang='bash'>
helm upgrade  --debug academia ./academia
helm install  --debug academia ./academia
helm uninstall --debug academia
helm upgrade  --debug academia ./academia
 
helm uninstall --debug academia
|valign="top"|
</syntaxhighlight>
helm search repo academia
helm dep update ./academia
helm template academia ./academia --debug


|valign='top'|
<syntaxhighlight lang='bash'>
helm search repo academia
helm dep update ./academia
helm template academia ./academia --debug
</syntaxhighlight>
|}
|}


==Nexus Helm Repo==
==Nexus Helm Repo==
'''Authentication » Auth:'''  
{|class='wikitable'
helm plugin install --version master https://github.com/sonatype-nexus-community/helm-nexus-push.git
|valign='top'|
export USERNAME='academia';export PASSWORD='sadaqah!';helm nexus-push '''chorke''' login
<syntaxhighlight lang='bash'>
# 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
</syntaxhighlight>
|-
|valign='top'|
<syntaxhighlight lang='bash'>
# authentication » push
helm package ./elasticsearch
helm nexus-push chorke elasticsearch-1.0.0.tgz
</syntaxhighlight>
|-
|valign='top'|
<syntaxhighlight lang='bash'>
# 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
</syntaxhighlight>
|}


'''Authentication » Push:'''
==Knowledge==
helm package ./elasticsearch
{|class='wikitable'
helm nexus-push '''chorke''' elasticsearch-1.0.0.tgz
!scope='col' colspan='3'|
Knowledge
|-
|valign='top' style='width:33%'|
<syntaxhighlight lang='bash'>
helm search repo -l
helm repo --help
helm repo list
</syntaxhighlight>


'''Authentication » Pull:'''
|valign='top' style='width:34%'|
helm repo add '''chorke''' https://cid.chorke.org/nexus/repository/helm --username academia --password sadaqah! --force-update
<syntaxhighlight lang='bash'>
helm repo add '''chorke''' https://cid.chorke.org/nexus/repository/helm --username academia --password sadaqah!
helm search repo -l nginx-ingress
helm repo add '''chorke''' https://cid.chorke.org/nexus/repository/helm --username academia
helm repo remove bitnami
helm repo update && helm pull chorke/elasticsearch --version 1.0.0
helm repo update
</syntaxhighlight>


==Knowledge==
|valign='top' style='width:33%'|
{|
<syntaxhighlight lang='bash'>
helm pull nginx/nginx-ingress --untar
helm pull nginx/nginx-ingress
helm repo index .
</syntaxhighlight>
|-
|valign='top'|
|valign='top'|
helm search repo -l
<syntaxhighlight lang='bash'>
helm repo --help
minikube start --cpus 6 --memory 8192
helm repo list
minikube start
</syntaxhighlight>


|valign='top'|
|valign='top'|
helm search repo -l nginx-ingress
<syntaxhighlight lang='bash'>
helm repo remove bitnami
export KUBECONFIG=${HOME}/.kube/academia-config.yaml
helm repo update
unset KUBECONFIG
</syntaxhighlight>


|valign='top'|
|valign='top'|
helm pull nginx/nginx-ingress --untar
<syntaxhighlight lang='bash'>
helm pull nginx/nginx-ingress
minikube stop
helm repo index .
minikube delete
 
</syntaxhighlight>
|-
|colspan='3'|
----
|-
|-
|valign='top'|
|valign='top'|
minikube start --cpus 6 --memory 8192
<syntaxhighlight lang='bash'>
minikube start
kubectl get pod -A
kubectl logs pod_name


|valign='top'|
helm create chorke
export KUBECONFIG=${HOME}/.kube/academia-config.yaml
helm create academia
unset KUBECONFIG
</syntaxhighlight>


|valign='top'|
|valign='top'|
minikube stop
<syntaxhighlight lang='bash'>
minikube delete
helm list -A


|-
|colspan='3'|
----
|-
|valign='top'|
kubectl get pod -A
kubectl logs pod_name
helm create chorke
helm create academia


|valign='top'|
helm install  academia ./academia
helm list -A
helm dependency update ./academia
</syntaxhighlight>
helm install  academia ./academia
helm dependency update ./academia


|valign='top'|
|valign='top'|
kubectl exec -it pod_name -- bash
<syntaxhighlight lang='bash'>
kubectl delete secret secret_name
kubectl exec -it pod_name -- bash
kubectl delete secret secret_name
helm history academia
helm rollback academia


|-
helm history academia
|colspan='3'|
helm rollback academia
----
</syntaxhighlight>
|-
|-
|valign='top'|
|valign='top'|
ls -lah ${HOME}/.cache/helm
<syntaxhighlight lang='bash'>
ls -lah ${HOME}/.cache/helm
</syntaxhighlight>


|valign='top'|
|valign='top'|
ls -lah ${HOME}/.local/share/helm
<syntaxhighlight lang='bash'>
ls -lah ${HOME}/.local/share/helm
</syntaxhighlight>


|valign='top'|
|valign='top'|
ls -lah ${HOME}/.cache/helm/repository
<syntaxhighlight lang='bash'>
 
ls -lah ${HOME}/.cache/helm/repository
</syntaxhighlight>
|}
|}


==References==
==References==
{|
{|class='wikitable'
| valign="top" |
!scope='col' colspan='3'|
References
|-
|valign='top' style='width:33%'|
* [https://helm.sh/blog/storing-charts-in-oci/ Helm » Charts in OCI Registries]
* [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/elasticsearch/helm Helm » Bitnami » Elasticsearch]
Line 389: Line 510:
* [https://helm.sh/docs/helm/helm_pull/ Helm » Pull]
* [https://helm.sh/docs/helm/helm_pull/ Helm » Pull]


| valign="top" |
|valign='top' style='width:34%'|
* [https://helm.sh/docs/chart_template_guide/functions_and_pipelines/ Helm » Template Functions and Pipelines]
* [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://helm.sh/docs/chart_template_guide/function_list/ Helm » Template Function List]
Line 401: Line 522:
* [https://helm.sh/docs/helm/helm_history/ Helm » History]
* [https://helm.sh/docs/helm/helm_history/ Helm » History]


| valign="top" |
|valign='top' style='width:33%'|
* [https://stackoverflow.com/questions/52330904/ Helm » Copy file to container after pod's deployment]
* [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/48937323/ Helm » Automatic sub-directories in K8s Configmaps]
Line 412: Line 533:
* [https://helm.sh/docs/helm/helm_install/ Helm » Install]
* [https://helm.sh/docs/helm/helm_install/ Helm » Install]
* [https://helm.sh/docs/helm/helm/ Helm » Env]
* [https://helm.sh/docs/helm/helm/ Helm » Env]
|-
|-
| colspan="3" |
|valign='top'|
----
|-
| 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-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://docs.bitnami.com/kubernetes/infrastructure/cert-manager/configuration/generate-acme-certificates/ Helm » Bitnami » ACME TLS Certificates]
Line 429: Line 546:
* [https://artifacthub.io/packages/helm/hashicorp/consul Helm » Consul]
* [https://artifacthub.io/packages/helm/hashicorp/consul Helm » Consul]


| valign="top" |
|valign='top'|
* [https://medium.com/linux-shots/helm-chart-repository-on-sonatype-nexus-oss-fcf6f7c7498e Helm » Push » Config Nexus OSS Repo]
* [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://stackoverflow.com/questions/75596795/ Helm » Pass YAML/JSON using <code>stdin</code>]
Line 441: Line 558:
* [https://docs.ceph.com/en/mimic/start/kube-helm Helm » Ceph]
* [https://docs.ceph.com/en/mimic/start/kube-helm Helm » Ceph]


| valign="top" |
|valign='top'|
* [https://rook.io/docs/rook/latest-release/Helm-Charts/operator-chart/ Helm » Rook » Operator]
* [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://github.com/hiddehs/nextgen-connect-chart Helm » Mirth Connect]
Line 452: Line 569:
* [https://artifacthub.io/packages/helm/bitnami/spark Helm » Spark]
* [https://artifacthub.io/packages/helm/bitnami/spark Helm » Spark]
* [https://artifacthub.io/packages/helm/bitnami/kafka Helm » Kafka]
* [https://artifacthub.io/packages/helm/bitnami/kafka Helm » Kafka]
|-
|-
| colspan="3" |
|valign='top'|
----
* [https://artifacthub.io/packages/helm/grafana/loki-distributed Helm » Loki » Distributed]
|-
* [https://artifacthub.io/packages/helm/ngrok/ngrok-operator Helm » Ngrok » Operator]
| valign="top" |
* [https://artifacthub.io/packages/helm/community-charts/cloudflared Helm » Cloudflared]
* [https://artifacthub.io/packages/helm/mojo2600/pihole Helm » Pi-hole]
* [https://artifacthub.io/packages/helm/bitnami/airflow Helm » Airflow]
* [https://artifacthub.io/packages/helm/harbor/harbor Helm » Harbor]
* [https://artifacthub.io/packages/helm/bitnami/flink Helm » Flink]
* [https://artifacthub.io/packages/helm/cowboysysop/kroki Helm » Kroki]
* [https://artifacthub.io/packages/helm/grafana/loki Helm » Loki]


| valign="top" |
|valign='top'|
 
* [https://artifacthub.io/packages/helm/external-secrets-operator/external-secrets Helm » External Secrets Operator]
| valign="top" |
* [https://artifacthub.io/packages/helm/hashicorp/vault-secrets-operator Helm » Vault Secrets Operator]
* [https://artifacthub.io/packages/helm/yourls/yourls Helm » Yourls]
* [https://artifacthub.io/packages/helm/hashicorp/vault Helm » Vault]


|valign='top'|
|-
|-
| colspan="3" |
|valign='top'|
----
|-
| valign="top" |
* [[Helm/Cert Manager|Helm » Cert Manager]]
* [[Helm/Cert Manager|Helm » Cert Manager]]
* [[Helm/PhpMyAdmin|Helm » PhpMyAdmin]]
* [[Helm/PhpMyAdmin|Helm » PhpMyAdmin]]
Line 479: Line 601:
* [[Helm/Redis|Helm » Redis]]
* [[Helm/Redis|Helm » Redis]]


| valign="top" |
|valign='top'|
* [[Helm/Prometheus Stack|Helm » Prometheus Stack]]
* [[Helm/Prometheus Stack|Helm » Prometheus Stack]]
* [[Helm/Prometheus|Helm » Prometheus]]
* [[Helm/Prometheus|Helm » Prometheus]]
Line 491: Line 613:
* [[Helm/Solr|Helm » Solr]]
* [[Helm/Solr|Helm » Solr]]


| valign="top" |
|valign='top'|
* [[Helm/Elasticsearch|Helm » Elasticsearch]]
* [[Helm/OpenSearch|Helm » OpenSearch]]
* [[Helm/RabbitMQ|Helm » RabbitMQ]]
* [[Minikube MetalLB|Helm » MetalLB]]
* [[Helm/Pi-Hole|Helm » Pi-Hole]]
* [[Helm/Harbor|Helm » Harbor]]
* [[Helm/Yourls|Helm » Yourls]]
* [[Helm/Kafka|Helm » Kafka]]
* [[Helm/Kroki|Helm » Kroki]]
* [[Helm/Vault|Helm » Vault]]
|-
|valign='top'|
* [[Helm/External Secrets Operator|Helm » External Secrets Operator]]
* [[Helm/Vault Secrets Operator|Helm » Vault Secrets Operator]]
 
|valign='top'|


|-
|valign='top'|
| colspan="3" |
----
|-
|-
| valign="top" |
| valign="top" |
Line 509: Line 645:
* [[Juju]]
* [[Juju]]


| valign="top" |
|valign='top'|
* [https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/ K8s » Configure Service Accounts for Pods]
* [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.groundcover.com/blog/crashloopbackoff K8s » CrashLoopBackOff » GroundCover]
Line 521: Line 657:
* [[K8s]]
* [[K8s]]


| valign="top" |
|valign='top'|
* [https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/ K8s » DNS Service » Customizing]
* [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://cert-manager.io/docs/reference/cmctl/ K8s » Helm » Cert Manager » CLI]
Line 532: Line 668:
* [https://www.keycloak.org/server/containers Docker » Keycloak]
* [https://www.keycloak.org/server/containers Docker » Keycloak]
* [https://earthly.dev/blog/docker-and-makefiles/ Docker » Makefile]
* [https://earthly.dev/blog/docker-and-makefiles/ Docker » Makefile]
|-
|-
| colspan="3" |
|valign='top'|
----
|-
| valign="top" |
* [[K8s/CSI Hostpath Driver|K8s » CSI Hostpath Driver]]
* [[K8s/CSI Hostpath Driver|K8s » CSI Hostpath Driver]]
* [[K8s/Ingress|K8s » Ingress]]
* [[K8s/Ingress|K8s » Ingress]]
Line 543: Line 675:
* [[CIDR]]
* [[CIDR]]


| valign="top" |
|valign='top'|
 
| valign="top" |


|valign='top'|
|}
|}

Latest revision as of 02:55, 23 January 2026

curl -fsSL https://packages.buildkite.com/helm-linux/helm-debian/gpgkey\
 | sudo tee /etc/apt/keyrings/helm-stable-debian.asc >/dev/null

cat << SRC | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list >/dev/null
deb [arch=$(dpkg --print-architecture)\
 signed-by=/etc/apt/keyrings/helm-stable-debian.asc]\
 https://packages.buildkite.com/helm-linux/helm-debian/any/ any main
SRC

echo 'apt-get update;echo;apt-get install -y helm'|sudo bash
 helm repo add stable https://charts.helm.sh/stable
 helm search repo jenkins
 helm version

Helm » Repo

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 cowboysysop https://cowboysysop.github.io/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 community-charts https://community-charts.github.io/helm-charts
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 mojo2600 https://mojo2600.github.io/pihole-kubernetes
helm repo add azure https://marketplace.azurecr.io/helm/v1/repo
helm repo add mongodb https://mongodb.github.io/helm-charts
helm repo add apache-solr https://solr.apache.org/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 roertel https://roertel.github.io/helm-charts
helm repo add kedacore https://kedacore.github.io/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 harbor https://helm.goharbor.io
helm repo add ngrok https://charts.ngrok.com
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 yourls https://charts.yourls.org
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 add external-secrets https://charts.external-secrets.io
helm repo update
helm repo list

Helm » Pull

helm pull opensearch/opensearch-dashboards --version=2.25.0
helm pull opensearch/opensearch --version=1.5.0
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 --version=2.25.0 --untar
helm pull opensearch/opensearch --version=1.5.0 --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 kedacore/keda --version=2.16.0
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 kedacore/keda --version=2.16.0 --untar
helm pull minio/minio --version=5.2.0 --untar
helm pull apache-solr/solr-operator --version=0.8.1
helm pull bitnami/elasticsearch --version=21.4.1
helm pull bitnami/phpmyadmin --version=17.0.9
helm pull bitnami/opensearch --version=1.5.0
helm pull bitnami/discourse --version=15.0.5
helm pull bitnami/mediawiki --version=21.0.5
helm pull bitnami/rabbitmq --version=15.2.1
helm pull apache-solr/solr --version=0.8.1
helm pull bitnami/mariadb --version=19.0.5
helm pull bitnami/wildfly --version=21.0.5
helm pull apache-solr/solr-operator --version=0.8.1 --untar
helm pull bitnami/elasticsearch --version=21.4.1 --untar
helm pull bitnami/phpmyadmin --version=17.0.9 --untar
helm pull bitnami/opensearch --version=1.5.0 --untar
helm pull bitnami/discourse --version=15.0.5 --untar
helm pull bitnami/mediawiki --version=21.0.5 --untar
helm pull bitnami/rabbitmq --version=15.2.1 --untar
helm pull apache-solr/solr --version=0.8.1 --untar
helm pull bitnami/mariadb --version=19.0.5 --untar
helm pull bitnami/wildfly --version=21.0.5 --untar
helm pull community-charts/cloudflared --version=2.2.2
helm pull grafana/loki-distributed --version=0.80.5
helm pull ngrok/ngrok-operator --version=0.20.0
helm pull cowboysysop/kroki --version=6.0.0
helm pull mojo2600/pihole --version=2.34.0
helm pull hashicorp/vault --version=0.30.1
helm pull bitnami/kafka --version=31.1.0
helm pull harbor/harbor --version=1.17.1
helm pull yourls/yourls --version=8.5.8
helm pull grafana/loki --version=6.32.0
helm pull community-charts/cloudflared --version=2.2.2 --untar
helm pull grafana/loki-distributed --version=0.80.5 --untar
helm pull ngrok/ngrok-operator --version=0.20.0 --untar
helm pull cowboysysop/kroki --version=6.0.0 --untar
helm pull mojo2600/pihole --version=2.34.0 --untar
helm pull hashicorp/vault --version=0.30.1 --untar
helm pull bitnami/kafka --version=31.1.0 --untar
helm pull harbor/harbor --version=1.17.1 --untar
helm pull yourls/yourls --version=8.5.8 --untar
helm pull grafana/loki --version=6.32.0 --untar
helm pull external-secrets/external-secrets --version=1.2.1
helm pull hashicorp/vault-secrets-operator --version=1.2.0
helm pull external-secrets/external-secrets --version=1.2.1 --untar
helm pull hashicorp/vault-secrets-operator --version=1.2.0 --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

VSCode » 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

VSCode » 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

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

References