Browse Source

Fix etcd deployment type variable location (#5587)

On deployments types where etcd server is splitted from Kube Master, the deployment fails since it cannot find the variable.
pull/5609/head
Fabiano Tessarolo 4 years ago
committed by GitHub
parent
commit
16fd2e5d68
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions
  1. 7
      docs/cri-o.md
  2. 4
      inventory/sample/group_vars/etcd.yml
  3. 3
      inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml

7
docs/cri-o.md

@ -19,9 +19,14 @@ skip_downloads: false
## k8s-cluster.yml
```yaml
etcd_deployment_type: host
kubelet_deployment_type: host
container_manager: crio
```
## etcd.yml
```yaml
etcd_deployment_type: host
```
[CRI-O]: https://cri-o.io/

4
inventory/sample/group_vars/etcd.yml

@ -1,3 +1,4 @@
---
## Etcd auto compaction retention for mvcc key value store in hour
# etcd_compaction_retention: 0
@ -16,3 +17,6 @@
### ETCD: disable peer client cert authentication.
# This affects ETCD_PEER_CLIENT_CERT_AUTH variable
# etcd_peer_client_auth: true
## Settings for etcd deployment type
etcd_deployment_type: docker

3
inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml

@ -158,8 +158,7 @@ dns_domain: "{{ cluster_name }}"
## docker for docker, crio for cri-o and containerd for containerd.
container_manager: docker
## Settings for containerized control plane (etcd/kubelet/secrets)
etcd_deployment_type: docker
## Settings for containerized control plane (kubelet/secrets)
kubelet_deployment_type: host
helm_deployment_type: host

Loading…
Cancel
Save