Добавлены функции для проверки установки утилит в скрипт generate.sh, обновлены IP-адреса в README.md, изменено удаление файлов в run-stand.sh и обновлен IP-адрес в ippool.yaml.
This commit is contained in:
@@ -29,19 +29,15 @@ talosctl machineconfig patch config/controlplane.yaml --patch @cp3.patch --outpu
|
||||
|
||||
talosctl machineconfig patch config/worker.yaml --patch @worker1.patch --output config/worker1.yaml
|
||||
talosctl machineconfig patch config/worker.yaml --patch @worker2.patch --output config/worker2.yaml
|
||||
```
|
||||
|
||||
эту часть делаем мы
|
||||
|
||||
```bash
|
||||
talosctl apply-config --insecure -n 192.168.23.57 --file config/cp1.yaml
|
||||
talosctl bootstrap --nodes 192.168.23.57 --endpoints 192.168.23.57 --talosconfig=config/talosconfig
|
||||
|
||||
# talosctl apply-config --insecure -n 192.168.23.52 --file config/cp2.yaml
|
||||
# talosctl apply-config --insecure -n 192.168.23.53 --file config/cp3.yaml
|
||||
|
||||
talosctl apply-config --insecure -n 192.168.23.59 --file config/worker1.yaml
|
||||
talosctl apply-config --insecure -n 192.168.23.58 --file config/worker2.yaml
|
||||
talosctl apply-config --insecure -n 192.168.23.63 --file config/worker1.yaml
|
||||
talosctl apply-config --insecure -n 192.168.23.64 --file config/worker2.yaml
|
||||
|
||||
talosctl kubeconfig ~/.kube/talos-demo.yaml --nodes 192.168.23.57 --endpoints 192.168.23.57 --talosconfig config/talosconfig
|
||||
```
|
||||
@@ -75,8 +71,8 @@ talosctl --talosconfig config/talosconfig apply-config -n 192.168.23.57 --file c
|
||||
# talosctl --talosconfig config/talosconfig apply-config -n 192.168.23.52 --file config/cp2.yaml
|
||||
# talosctl --talosconfig config/talosconfig apply-config -n 192.168.23.53 --file config/cp3.yaml
|
||||
|
||||
talosctl --talosconfig config/talosconfig apply-config -n 192.168.23.58 --file config/worker1.yaml
|
||||
talosctl --talosconfig config/talosconfig apply-config -n 192.168.23.59 --file config/worker2.yaml
|
||||
talosctl --talosconfig config/talosconfig apply-config -n 192.168.23.59 --file config/worker1.yaml
|
||||
talosctl --talosconfig config/talosconfig apply-config -n 192.168.23.58 --file config/worker2.yaml
|
||||
```
|
||||
|
||||
## Re-Apply configs and reboot
|
||||
|
Reference in New Issue
Block a user