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 theinstall.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.
Adding CloudStatic nodes to a cluster
Add Network Tag that is equal to the cluster prefix
to instances that you’d manually join to the cluster.
You can find out prefix
using the command:
kubectl -n kube-system get secret d8-cluster-configuration -o json | jq -r '.data."cluster-configuration.yaml"' | base64 -d | grep prefix