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 Jan 9, 2017
1 parent 5e6aa2d commit 04d6db9
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 @@ -573,7 +573,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 04d6db9

Please sign in to comment.