mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 14:03:01 +07:00
Add TODO for untaint and scale up
This commit is contained in:
parent
49cdd21e90
commit
ad1445921e
@ -66,6 +66,9 @@ while true; do
|
|||||||
kubectl cluster-info && break
|
kubectl cluster-info && break
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# TODO Untaint master node
|
||||||
|
# kubectl taint node node-role.kubernetes.io/master:NoSchedule-
|
||||||
|
|
||||||
# Pivot Sidero to new cluster
|
# Pivot Sidero to new cluster
|
||||||
clusterctl init \
|
clusterctl init \
|
||||||
--bootstrap talos \
|
--bootstrap talos \
|
||||||
@ -78,6 +81,16 @@ clusterctl move \
|
|||||||
--kubeconfig=ephemeral-cluster/kind-kubeconfig.yaml \
|
--kubeconfig=ephemeral-cluster/kind-kubeconfig.yaml \
|
||||||
--to-kubeconfig=cluster/homelab-kubeconfig.yaml
|
--to-kubeconfig=cluster/homelab-kubeconfig.yaml
|
||||||
|
|
||||||
|
# Cleanup ephemeral cluster
|
||||||
|
kind delete cluster --name bootstrap-cluster
|
||||||
|
rm ephemeral-cluster/kind-kubeconfig.yaml
|
||||||
|
docker rm --force bootstrap-dhcp-server
|
||||||
|
|
||||||
|
# TODO Scale the cluster up
|
||||||
|
# wol '00:23:24:d1:f4:d6'
|
||||||
|
# wol '00:23:24:d1:f5:69'
|
||||||
|
# wol '00:23:24:e7:04:60'
|
||||||
|
|
||||||
# clusterctl config cluster \
|
# clusterctl config cluster \
|
||||||
# --infrastructure sidero \
|
# --infrastructure sidero \
|
||||||
# --config clusterctl.yaml \
|
# --config clusterctl.yaml \
|
||||||
@ -85,12 +98,3 @@ clusterctl move \
|
|||||||
# --worker-machine-count 3 \
|
# --worker-machine-count 3 \
|
||||||
# homelab > cluster/homelab.yaml
|
# homelab > cluster/homelab.yaml
|
||||||
# kubectl apply --filename cluster/homelab.yaml
|
# kubectl apply --filename cluster/homelab.yaml
|
||||||
|
|
||||||
# wol '00:23:24:d1:f4:d6'
|
|
||||||
# wol '00:23:24:d1:f5:69'
|
|
||||||
# wol '00:23:24:e7:04:60'
|
|
||||||
|
|
||||||
# Cleanup ephemeral cluster
|
|
||||||
kind delete cluster --name bootstrap-cluster
|
|
||||||
rm ephemeral-cluster/kind-kubeconfig.yaml
|
|
||||||
docker rm --force bootstrap-dhcp-server
|
|
||||||
|
Loading…
Reference in New Issue
Block a user