Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 2e8db5c

Browse files
authored
Merge pull request #73 from mumoshu/fix-flanneld-startup-slowness
fix: flanneld startup slowness
2 parents 3fd15a5 + 8008b43 commit 2e8db5c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

config/templates/cloud-config-controller

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ coreos:
3434
--key-file=/etc/kubernetes/ssl/etcd-client-key.pem \
3535
--endpoints="{{.EtcdEndpoints}}" \
3636
set /coreos.com/network/config '{"Network" : "{{.PodCIDR}}", "Backend" : {"Type" : "vxlan"}}'
37+
TimeoutStartSec=120
38+
3739
- name: kubelet.service
3840
command: start
3941
runtime: true

config/templates/cloud-config-worker

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ coreos:
2626
[Service]
2727
ExecStartPre=/opt/bin/decrypt-tls-assets
2828
Environment="ETCD_SSL_DIR=/etc/kubernetes/ssl"
29+
TimeoutStartSec=120
2930

3031
- name: kubelet.service
3132
command: start

0 commit comments

Comments
 (0)