update install instructions, update talos install version
This commit is contained in:
parent
5963ba52e1
commit
bbd382c667
@ -38,6 +38,12 @@ talosctl gen config fog https://192.168.1.43:6443 \
|
||||
```
|
||||
|
||||
### Add node to talos cluster
|
||||
1. Create an ISO USB
|
||||
```sh
|
||||
sudo dd if=metal-amd64.iso of=/dev/sdc bs=4M
|
||||
```
|
||||
2. Start the machine with the USB. Once it has booted **REMOVE** the USB so that it doesn't get selected as an install location.
|
||||
3. Apply config to install the OS to disk
|
||||
```sh
|
||||
talosctl apply-config [--insecure] -n <ips> controlplane.yaml
|
||||
```
|
||||
|
||||
12
justfile
12
justfile
@ -8,7 +8,17 @@ diff ARGS='':
|
||||
bws run 'helmfile diff --output dyff {{ARGS}}'
|
||||
|
||||
cleanuppods:
|
||||
kubectl get pods --no-headers | grep -v Running | awk '{print $1}' | xargs kubectl delete pod
|
||||
#!/bin/bash
|
||||
kubectl get pods --all-namespaces | grep -v Running | awk '{print $1, $2}' | tail -n +2 | while read namespace pod; do
|
||||
kubectl delete pod "$pod" --namespace "$namespace"
|
||||
done
|
||||
|
||||
cleanupjobs:
|
||||
#!/bin/bash
|
||||
kubectl get jobs --all-namespaces | grep -v Running | awk '{print $1, $2}' | tail -n +2 | while read namespace job; do
|
||||
kubectl delete job "$job" --namespace "$namespace"
|
||||
done
|
||||
|
||||
|
||||
pgrestart:
|
||||
kubectl patch postgrescluster/postgres --type merge --patch '{"spec":{"metadata":{"annotations":{"restarted":"'"$(date)"'"}}}}'
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
machine:
|
||||
install:
|
||||
image: ghcr.io/siderolabs/installer:v1.9.5
|
||||
image: ghcr.io/siderolabs/installer:v1.11.1
|
||||
kubelet:
|
||||
extraArgs:
|
||||
rotate-server-certificates: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user