helm updates

This commit is contained in:
marcel-dempers 2025-04-03 14:09:38 +11:00
parent 69f68f4617
commit 7df717d9cc
2 changed files with 6 additions and 6 deletions

View File

@ -7,7 +7,7 @@
Lets create a Kubernetes cluster to play with using [kind](https://kind.sigs.k8s.io/docs/user/quick-start/)
```
kind create cluster --name helm --image kindest/node:v1.26.0
kind create cluster --name helm --image kindest/node:v1.31.1
```
# Getting Started with Helm
@ -32,16 +32,16 @@ export KUBE_EDITOR="nano"
# test cluster access:
/work # kubectl get nodes
NAME STATUS ROLES AGE VERSION
helm-control-plane Ready master 26m v1.26.0
helm-control-plane Ready control-plane 26m v1.31.1
```
## Install Helm CLI
```
curl -LO https://get.helm.sh/helm-v3.4.0-linux-amd64.tar.gz
tar -C /tmp/ -zxvf helm-v3.4.0-linux-amd64.tar.gz
rm helm-v3.4.0-linux-amd64.tar.gz
curl -LO https://get.helm.sh/helm-v3.17.2-linux-amd64.tar.gz
tar -C /tmp/ -zxvf helm-v3.17.2-linux-amd64.tar.gz
rm helm-v3.17.2-linux-amd64.tar.gz
mv /tmp/linux-amd64/helm /usr/local/bin/helm
chmod +x /usr/local/bin/helm

View File

@ -9,7 +9,7 @@ spec:
selector:
matchLabels:
app: "{{ .Values.name }}"
replicas: 2
replicas: {{ .Values.deployment.replicas | default 2 }}
strategy:
type: RollingUpdate
rollingUpdate: