Add talos worker config and other niceties
This commit is contained in:
parent
0ba65b2060
commit
f997133283
@ -33,8 +33,10 @@ talosctl gen config fog https://192.168.1.43:6443 \
|
|||||||
--with-secrets talos/secrets.yaml \
|
--with-secrets talos/secrets.yaml \
|
||||||
--config-patch @talos/machine_patch.yaml \
|
--config-patch @talos/machine_patch.yaml \
|
||||||
--config-patch-control-plane @talos/cluster_patch.yaml \
|
--config-patch-control-plane @talos/cluster_patch.yaml \
|
||||||
--config-patch-control-plane @talos/remove_node_label_patch.yaml
|
--config-patch-control-plane @talos/remove_node_label_patch.yaml \
|
||||||
|
--config-patch-worker @talos/framework_patch.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### Add node to talos cluster
|
### Add node to talos cluster
|
||||||
```sh
|
```sh
|
||||||
talosctl apply-config [--insecure] -n <ips> controlplane.yaml
|
talosctl apply-config [--insecure] -n <ips> controlplane.yaml
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
image:
|
image:
|
||||||
tag: v1.130.2
|
tag: v1.130.3
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DB_HOSTNAME: {{ exec "kubectl" (list "-n" "immich" "get" "secrets" "postgres-pguser-immich" "-ogo-template='{{.data.host | base64decode }}'") }}
|
DB_HOSTNAME: {{ exec "kubectl" (list "-n" "immich" "get" "secrets" "postgres-pguser-immich" "-ogo-template='{{.data.host | base64decode }}'") }}
|
||||||
|
2
justfile
2
justfile
@ -1,7 +1,7 @@
|
|||||||
update:
|
update:
|
||||||
bws run 'helmfile deps'
|
bws run 'helmfile deps'
|
||||||
|
|
||||||
deploy ARGS='':
|
deploy ARGS='--output simple -i':
|
||||||
bws run 'helmfile apply {{ARGS}}'
|
bws run 'helmfile apply {{ARGS}}'
|
||||||
|
|
||||||
sdiff ARGS='':
|
sdiff ARGS='':
|
||||||
|
4
talos/framework_patch.yaml
Normal file
4
talos/framework_patch.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
machine:
|
||||||
|
install:
|
||||||
|
disk: /dev/nvme0n1
|
||||||
|
wipe: true
|
Loading…
x
Reference in New Issue
Block a user