This repository provides an example of how to create a KKP cluster at a GCP cloud provider using the Kubernetes API.
NOTE: The example works only with KKP 2.21, and it's a TECHNOLOGY PREVIEW. Not all features are supported and bugs can occur.
Steps the client executes:
- Creates a project
- Creates a user cluster
- Initializes a user cluster client
- Creates two nodes
- Creates a nginx pod
go run . \
--gcp-service-account=<path-to-sa> \
--gcp-network=<gcp-network> \
--gcp-subnet=<gcp-subnet> \
--seed-kubeconfig=<path-to-seed-kubeconfig>