Skip to content

Commit

Permalink
Update README.md (#149)
Browse files Browse the repository at this point in the history
nit: this file has been moved

howdy :D
  • Loading branch information
jkremser authored Jan 30, 2024
1 parent 27abc92 commit 8deee97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ With this chart we deploy `cilium` CNI to the cluster in `kube-proxy` replacemen
k8sServiceHost: api.{{ include "resource.default.name" $ }}.{{ .Values.baseDomain }}
```
You can see it in [cilium-helmrelease.yaml](helm/cluster-vsphere/templates/cilium-helmrelease.yaml).
You can see it in [cilium-helmrelease.yaml](helm/cluster-vsphere/templates/helmreleases/cilium-helmrelease.yaml).
This means cluster nodes won't come up Ready before this domain is set to the IP of the Kubernetes API server (it's defined in the `Cluster` CR under `.spec.controlPlaneEndpoint.host`). In Giant Swarm clusters we use [dns-operator-route53](https://github.com/giantswarm/dns-operator-route53) to create the records (public DNS resolution is then required).

Expand All @@ -23,4 +23,4 @@ This means cluster nodes won't come up Ready before this domain is set to the IP
When creating a new vsphere cluster, a user can put an empty string to `.connectivity.network.controlPlaneEndpoint.host` and at the same time specify the `.connectivity.network.controlPlaneEndpoint.ipPoolName`. In this case, the cluster will be created in the `paused: true` state and post-install job will be spawned.
The goal of this job is to acquire the new IP address and assign it to `.spec.controlPlaneEndpoint.host` of newly created clusters and other places where it's needed (kubevip static pod definition and `certSANs`). Only then the cluster is unpaused.

The abovementioned mechanism relies on `IpAddressClaim` and `IpAddress` CRDs. These are part of the Cluster API spec and can be reconciled for instance by [`cluster-api-ipam-provider-in-cluster`](https://github.com/kubernetes-sigs/cluster-api-ipam-provider-in-cluster). So if you want to use it, make sure this [app](https://github.com/giantswarm/cluster-api-ipam-provider-in-cluster-app) is also installed in the management cluster.
The abovementioned mechanism relies on `IpAddressClaim` and `IpAddress` CRDs. These are part of the Cluster API spec and can be reconciled for instance by [`cluster-api-ipam-provider-in-cluster`](https://github.com/kubernetes-sigs/cluster-api-ipam-provider-in-cluster). So if you want to use it, make sure this [app](https://github.com/giantswarm/cluster-api-ipam-provider-in-cluster-app) is also installed in the management cluster.

0 comments on commit 8deee97

Please sign in to comment.