]> xn--ix-yja.es Git - alex.git/commitdiff
Add update instructions
authoralex <alex@pdp7.net>
Sat, 1 Jul 2023 09:33:22 +0000 (11:33 +0200)
committeralex <alex@pdp7.net>
Sat, 1 Jul 2023 09:33:22 +0000 (11:33 +0200)
personal_infra/playbooks/roles/talos/README.md

index c5c3559096713c8cee07a7303e0e370aeab59e85..b60cae02a12e4fd9918a2bbff2b66113cb461036 100644 (file)
@@ -49,3 +49,17 @@ Until Talos includes https://github.com/siderolabs/talos/pull/5897 , [the playbo
 * Fetches the kubeconfig.
 * Deploys kustomizations in `k8s/base`. 
 See [my kustomizations](../../../k8s/base/).
+
+## Updates
+
+To update Talos, update `talosctl`, then:
+
+```
+$ talosctl upgrade --preserve --talosconfig talos/talosconfig-k8s-test.example --nodes k8s-test.example.com --wait
+```
+
+To update K8S:
+
+```
+$ talosctl upgrade-k8s --talosconfig talos/talosconfig-k8s-test.example --nodes k8s-test.example.com
+```