How do I create a cluster?
| Как поднять кластер
|
- Set up a cloud environment.
- Enable the module or pass the
--extra-config-map-data base64_encoding_of_custom_config flag with the module parameters to the install.sh script.
- Create one or more GCPInstanceClass custom resources.
- Create one or more NodeGroup custom resources for managing the number and the process of provisioning machines in the cloud.
|
- Настройте облачное окружение.
- Включите модуль или передайте флаг
--extra-config-map-data base64_encoding_of_custom_config с параметрами модуля в скрипт установки install.sh .
- Создайте один или несколько custom resource GCPInstanceClass.
- Создайте один или несколько custom resource NodeGroup для управления количеством и процессом заказа машин в облаке.
|
Adding CloudStatic nodes to a cluster
| Добавление CloudStatic узлов в кластер
|
For the VMs, you want to add to a cluster as nodes, add a Network Tag similar to the cluster prefix.
| К виртуальным машинам, которые вы хотите добавить к кластеру в качестве узлов, добавьте Network Tag , аналогичный префиксу кластера.
|
You can find out prefix using the command:
| Префикс кластера можно узнать, воспользовавшись следующей командой:
|
shell
kubectl -n kube-system get secret d8-cluster-configuration -o json | jq -r ‘.data.”cluster-configuration.yaml”’
| base64 -d | grep prefix
| shell
kubectl -n kube-system get secret d8-cluster-configuration -o json | jq -r ‘.data.”cluster-configuration.yaml”’
| base64 -d | grep prefix
|