Browse Source

Merge pull request #340 from abourget/fix/flanneld-free-the-logs

flanneld: don't redirect logs to an unreadable location
pull/341/head
Smaine Kahlouch 8 years ago
committed by GitHub
parent
commit
8251781efb
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/network_plugin/flannel/templates/flannel-pod.yml

2
roles/network_plugin/flannel/templates/flannel-pod.yml

@ -31,7 +31,7 @@
command: command:
- "/bin/sh" - "/bin/sh"
- "-c" - "-c"
- "/opt/bin/flanneld -etcd-endpoints {% for srv in groups['etcd'] %}http://{{ srv }}:2379{% if not loop.last %},{% endif %}{% endfor %} -etcd-prefix /{{ cluster_name }}/network {% if flannel_interface is defined %}-iface {{ flannel_interface }}{% endif %} {% if flannel_public_ip is defined %}-public-ip {{ flannel_public_ip }}{% endif %} 1>>/var/log/flannel_server.log 2>&1"
- "/opt/bin/flanneld -etcd-endpoints {% for srv in groups['etcd'] %}http://{{ srv }}:2379{% if not loop.last %},{% endif %}{% endfor %} -etcd-prefix /{{ cluster_name }}/network {% if flannel_interface is defined %}-iface {{ flannel_interface }}{% endif %} {% if flannel_public_ip is defined %}-public-ip {{ flannel_public_ip }}{% endif %}"
ports: ports:
- hostPort: 10253 - hostPort: 10253
containerPort: 10253 containerPort: 10253

Loading…
Cancel
Save