helm upgrade

From wikieduonline
Jump to navigation Jump to search

helm upgrade --help
helm upgrade mygrafana stable/grafana --reuse-values --set replicas=2
helm upgrade --install kibana elastic/kibana --set cpu=100m
helm upgrade elasticsearch elastic/elasticsearch -f ./values.yaml
helm upgrade your-helm-chart ./
helm upgrade -f custom-values.yaml your-helm-name ./

helm upgrade --install ingress-nginx ingress-nginx \
 --repo https://kubernetes.github.io/ingress-nginx \
 --namespace ingress-nginx --create-namespace
helm upgrade --install
helm upgrade --reuse-values
helm upgrade --set
helm upgrade --debug
helm upgrade --timeout 
helm upgrade --reuse-values \
  prometheus \
  stable/prometheus \
  --namespace monitoring \
  -f values.prometheus.yaml \
  --set alertmanagerFiles."alertmanager\.yml".receivers[0].slack_configs[0].api_url="$PROMETHEUS_SLACK_WEBHOOK" \
  --set alertmanagerFiles."alertmanager\.yml".receivers[1].slack_configs[0].api_url="$PROMETHEUS_SLACK_WEBHOOK"


helm upgrade your-helm-chart
Error: This command needs 2 arguments: release name, chart path
can't evaluate field Values in type int
Error: UPGRADE FAILED: YAML parse error on elasticsearch/templates/statefulset.yaml: error converting YAML to JSON: yaml: line 60: mapping values are not allowed in this context
Error: UPGRADE FAILED: error validating "": error validating data: ValidationError(StatefulSet.spec.template.spec.volumes[0]): unknown field "claimName" in io.k8s.api.core.v1.Volume
Error: UPGRADE FAILED: timed out waiting for the condition


See also[edit]