master
Drew Bednar 3 years ago
parent 26caaf45fa
commit 026442ba06

@ -408,3 +408,45 @@ kubeadm alpha certs renew all
```
Then reboot. Check your certs again, then copy the `/etc/kubernetes/admin.conf` back down for your use.
# Helm commands
## Helm info
```
helm list
```
## Getting at the released templated manifests/values.
If you want to see the helm manifest in the K8s cluster you can get at it through secrets. Helm stores the release as a k8s secret as a base64 encoded gzip archive:
```
kubectl get secrets <secret name which is your release> -o jsonpath="{ .data.release }" | base64 -d | base64 -d | gunzip | json_pp
```
It's easier though to get at this info using helm
```
helm get manifest <release name>
```
```
helm get values <release name>
```
## Running the Templates without releasing
Static command to test template. Works without K8s cluster
```
helm template [chart]
```
Dynamic way is a real helm install but without a commit.
Debug here outputs in standard error so you have to redirect
```
helm install [release] [chart] --debug -dry-run 2>&1 | less
```

Loading…
Cancel
Save