Skip to content

Commit

Permalink
Add comment and remove extra enable/start docker in node script
Browse files Browse the repository at this point in the history
  • Loading branch information
kcoronado committed Apr 30, 2018
1 parent 777f872 commit 78cd0e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cloud/google/machineactuator.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ func (gce *GCEClient) Create(cluster *clusterv1.Cluster, machine *clusterv1.Mach
if gce.machineClient == nil {
labels[BootstrapLabelKey] = "true"
}

// The service account is needed for the Kubernetes GCE cloud provider code. It is needed on the master VM.
serviceAccounts := []*compute.ServiceAccount{nil}
if util.IsMaster(machine) {
serviceAccounts = append(serviceAccounts,
Expand Down
2 changes: 0 additions & 2 deletions gcp-deployer/machine_setup_configs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ items:
KUBEADM=$(getversion kubeadm ${KUBELET_VERSION}-)
KUBECTL=$(getversion kubectl ${KUBELET_VERSION}-)
apt-get install -y kubelet=${KUBELET} kubeadm=${KUBEADM} kubectl=${KUBECTL}
systemctl enable docker || true
systemctl start docker || true
# kubeadm uses 10th IP as DNS server
CLUSTER_DNS_SERVER=$(prips ${SERVICE_CIDR} | head -n 11 | tail -n 1)
# Override network args to use kubenet instead of cni, and override Kubelet DNS args.
Expand Down

0 comments on commit 78cd0e2

Please sign in to comment.