Skip to content

Commit

Permalink
Move config of VXLAN as default to Flannel entity
Browse files Browse the repository at this point in the history
  • Loading branch information
grkvlt committed Dec 6, 2016
1 parent b711fac commit bd9688d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion kubernetes/catalog/kubernetes/kubernetes.bom
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ brooklyn.catalog:
brooklyn.config:
etcd.endpoints: $brooklyn:entity("etcd-cluster").attributeWhenReady("etcd.urls")
flannel.network: $brooklyn:entity("kubernetes-cluster").config("kubernetes.pod.cidr")
flannel.transport: "vxlan"
- type: docker-engine-with-resilience
id: docker-engine
name: "docker-engine"
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/catalog/kubernetes/plugins.bom
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ brooklyn.catalog:
The Flannel backend transport mechanism. Can be any of: 'udp',
'vxlan', 'host-gw', 'aws-vpc', 'gce' or 'alloc'.
type: string
default: "udp"
default: "vxlan"
- name: flannel.interface
label: "Flannel Interface"
description: |
Expand Down Expand Up @@ -110,7 +110,7 @@ brooklyn.catalog:
}
EOF
etcdctl --peers ${ETCD_ENDPOINTS} mk ${FLANNEL_ETCD_PREFIX}/config < flannel.json || etcdctl --peers ${ETCD_ENDPOINTS} get ${FLANNEL_ETCD_PREFIX}/config

sudo -E tee /etc/systemd/system/flannel.service <<-EOF
[Unit]
Description=Flannel Overlay Agent
Expand Down

0 comments on commit bd9688d

Please sign in to comment.