Creating a cluster via the CLI on Google Cloud Platform.
gcp-$ARCH.tar.gz
.
130.211.0.0/22
and 35.191.0.0/16
are the GCP Load Balancer IP ranges
talosctl
.
We will need to discover the public IP for our first control plane node first.
endpoints
and nodes
:
etcd
:
kubeconfig
kubeconfig
by running:
talosconfig
and kubeconfig
files are uploaded to the bucket.
By default this setup creates a three node control plane and a single worker in us-west1-b
First we need to create a folder to store our deployment manifests and perform all subsequent operations from that folder.
config.yaml
file with any required changes such as changing the default zone, Talos version, machine sizes, nodes count etc.
An example config.yaml
file is shown below:
externalCloudProvider
property is set to false
by default.
The manifest used for deploying the ccm (cloud controller manager) is currently using the GCP ccm provided by openshift since there are no public images for the ccm yet.
Since the routes controller is disabled while deploying the CCM, the CNI pods needs to be restarted after the CCM deployment is complete to remove the node.kubernetes.io/network-unavailable
taint.
See Nodes network-unavailable taint not removed after installing ccm for more information
Use a custom built image for the ccm deployment if required.
y
for any prompts.
Run the following command to create the deployment:
talosconfig
and kubeconfig
files, the storage bucket contains the controlplane.yaml
and worker.yaml
files used to join additional nodes to the cluster.
node.kubernetes.io/network-unavailable
taint.