Skip to content

Instantly share code, notes, and snippets.

@jamesbeedy
Last active November 17, 2017 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesbeedy/608a2c819ed852b89de203d7f95cd22e to your computer and use it in GitHub Desktop.
Save jamesbeedy/608a2c819ed852b89de203d7f95cd22e to your computer and use it in GitHub Desktop.
Upstream k8s bundle with spaces constraints
applications:
easyrsa:
charm: 'cs:~containers/easyrsa-23'
constraints: "spaces=nat"
num_units: 1
annotations:
gui-x: '450'
gui-y: '550'
etcd:
charm: 'cs:~containers/etcd-59'
constraints: "spaces=nat"
num_units: 3
annotations:
gui-x: '800'
gui-y: '550'
flannel:
charm: 'cs:~containers/flannel-35'
annotations:
gui-x: '450'
gui-y: '750'
kubeapi-load-balancer:
charm: 'cs:~containers/kubeapi-load-balancer-37'
constraints: "spaces=igw"
num_units: 1
expose: true
annotations:
gui-x: '450'
gui-y: '250'
kubernetes-master:
charm: 'cs:~containers/kubernetes-master-65'
constraints: "spaces=nat"
num_units: 1
annotations:
gui-x: '800'
gui-y: '850'
kubernetes-worker:
charm: 'cs:~containers/kubernetes-worker-69'
constraints: "spaces=nat"
num_units: 3
expose: true
annotations:
gui-x: '100'
gui-y: '850'
relations:
- - 'kubernetes-master:kube-api-endpoint'
- 'kubeapi-load-balancer:apiserver'
- - 'kubernetes-master:loadbalancer'
- 'kubeapi-load-balancer:loadbalancer'
- - 'kubernetes-master:kube-control'
- 'kubernetes-worker:kube-control'
- - 'kubernetes-master:certificates'
- 'easyrsa:client'
- - 'etcd:certificates'
- 'easyrsa:client'
- - 'kubernetes-master:etcd'
- 'etcd:db'
- - 'kubernetes-worker:certificates'
- 'easyrsa:client'
- - 'kubernetes-worker:kube-api-endpoint'
- 'kubeapi-load-balancer:website'
- - 'kubeapi-load-balancer:certificates'
- 'easyrsa:client'
- - 'flannel:etcd'
- 'etcd:db'
- - 'flannel:cni'
- 'kubernetes-master:cni'
- - 'flannel:cni'
- 'kubernetes-worker:cni'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment