mirror of
https://github.com/outbackdingo/talos-cloud-controller-manager.git
synced 2026-01-27 18:20:23 +00:00
docs: edge deploy with csr
Update readme. Add copy past kubectl command tox deploy latest stable version. Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
This commit is contained in:
27
README.md
27
README.md
@@ -61,12 +61,21 @@ status:
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
We need to set the `--cloud-provider=external` flag for each node.
|
||||||
|
|
||||||
|
CCM also can approve/sign the [kubelet certificate signing request](https://kubernetes.io/docs/reference/access-authn-authz/certificate-signing-requests/#kubernetes-signers).
|
||||||
|
In this case we need to set flag `--rotate-server-certificates=true`.
|
||||||
|
|
||||||
### Prepare control-plane
|
### Prepare control-plane
|
||||||
|
|
||||||
On the control-plane you need to allow [API access feature](https://www.talos.dev/v1.2/reference/configuration/#featuresconfig):
|
On the control-plane you need to allow [API access feature](https://www.talos.dev/v1.2/reference/configuration/#featuresconfig):
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
machine:
|
machine:
|
||||||
|
kubelet:
|
||||||
|
extraArgs:
|
||||||
|
cloud-provider: external
|
||||||
|
rotate-server-certificates: true
|
||||||
features:
|
features:
|
||||||
kubernetesTalosAPIAccess:
|
kubernetesTalosAPIAccess:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -76,6 +85,16 @@ machine:
|
|||||||
- kube-system
|
- kube-system
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Prepare worker nodes
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
machine:
|
||||||
|
kubelet:
|
||||||
|
extraArgs:
|
||||||
|
cloud-provider: external
|
||||||
|
rotate-server-certificates: true
|
||||||
|
```
|
||||||
|
|
||||||
### Method 1: talos machine config
|
### Method 1: talos machine config
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@@ -88,10 +107,18 @@ cluster:
|
|||||||
|
|
||||||
### Method 2: kubectl
|
### Method 2: kubectl
|
||||||
|
|
||||||
|
Latest release:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl apply -f https://raw.githubusercontent.com/siderolabs/talos-cloud-controller-manager/main/docs/deploy/cloud-controller-manager.yml
|
kubectl apply -f https://raw.githubusercontent.com/siderolabs/talos-cloud-controller-manager/main/docs/deploy/cloud-controller-manager.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Latest stable version (edge):
|
||||||
|
|
||||||
|
```shell
|
||||||
|
kubectl apply -f https://raw.githubusercontent.com/siderolabs/talos-cloud-controller-manager/main/docs/deploy/cloud-controller-manager-edge.yml
|
||||||
|
```
|
||||||
|
|
||||||
### Method 3: helm chart
|
### Method 3: helm chart
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
Reference in New Issue
Block a user