Skip to content

Commit

Permalink
networking json changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kumaranayaka, Amila authored and Kumaranayaka, Amila committed Jan 14, 2017
1 parent 5799627 commit 355a624
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion data/master-userdata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ coreos:
content: |
[Service]
ExecStartPre=/usr/bin/etcdctl --endpoints ${FLANNELD_ETCD_ENDPOINTS} \
set /coreos.com/network/config '{ "Network": "${KUBERNETES_CONTAINERS_CIDR}", "Backend":{"Type": "vxlan" }'
set /coreos.com/network/config '{ "Network": "${KUBERNETES_CONTAINERS_CIDR}","SubnetLen": 24, "Backend":{"Type": "vxlan" } }'
- name: docker.service
command: start
Expand All @@ -137,6 +137,15 @@ coreos:
[Service]
EnvironmentFile=/etc/kubernetes/cni/docker_opts_cni.env
- name: set-tls-info.service
content: |
[Unit]
Description=Get TLS information
[Service]
Type=oneshot
EnvironmentFile=/etc/profile.env
ExecStart=/usr/bin/bash -c /tmp/certsetup.sh
- name: kubelet.service
command: start
content: |
Expand Down

0 comments on commit 355a624

Please sign in to comment.