Skip to content

Commit

Permalink
fix broken scale procedure: (#5193)
Browse files Browse the repository at this point in the history
- do not run etcd role when etcd_kubeadm_enabled == true
- remove default value 'systemd' for cgroup driver in containerd role.
  this value override autodetect in kubelet_cgroup_driver_detected from docker info
  • Loading branch information
LuckySB authored and k8s-ci-robot committed Sep 22, 2019
1 parent a3f1ce2 commit 8cb54cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions roles/container-engine/containerd/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
kubelet_cgroup_driver: systemd

containerd_config:
grpc:
max_recv_message_size: 16777216
Expand Down
2 changes: 1 addition & 1 deletion scale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
- { role: kubernetes/preinstall, tags: preinstall }
- { role: container-engine, tags: "container-engine", when: deploy_container_engine|default(true) }
- { role: download, tags: download, when: "not skip_downloads" }
- { role: etcd, tags: etcd, etcd_cluster_setup: false }
- { role: etcd, tags: etcd, etcd_cluster_setup: false, when: "not etcd_kubeadm_enabled|default(false)" }
- { role: kubernetes/node, tags: node }
- { role: kubernetes/kubeadm, tags: kubeadm }
- { role: network_plugin, tags: network }
Expand Down

0 comments on commit 8cb54cd

Please sign in to comment.