Skip to content

Instantly share code, notes, and snippets.

@CalvinHartwell
Last active September 24, 2018 13:33
Show Gist options
  • Select an option

  • Save CalvinHartwell/0374e6575be05e46b5fd4c95387dfc49 to your computer and use it in GitHub Desktop.

Select an option

Save CalvinHartwell/0374e6575be05e46b5fd4c95387dfc49 to your computer and use it in GitHub Desktop.
cdk-openstack-integrator.yaml
series: xenial
description: A highly-available, production-grade Kubernetes cluster.
services:
easyrsa:
annotations:
gui-x: '450'
gui-y: '550'
charm: cs:~containers/easyrsa-68
constraints: root-disk=8G cores=1 mem=2G
num_units: 1
etcd:
annotations:
gui-x: '800'
gui-y: '550'
charm: cs:~containers/etcd-126
constraints: root-disk=8G cores=1 mem=2G
num_units: 3
options:
channel: 3.2/stable
flannel:
annotations:
gui-x: '450'
gui-y: '750'
charm: cs:~containers/flannel-81
kubeapi-load-balancer:
annotations:
gui-x: '450'
gui-y: '250'
charm: cs:~containers/kubeapi-load-balancer-88
constraints: root-disk=8G cores=1 mem=2G
expose: true
num_units: 2
kubernetes-master:
annotations:
gui-x: '800'
gui-y: '850'
charm: cs:~containers/kubernetes-master-144
constraints: cores=1 mem=2G root-disk=10G
num_units: 2
options:
channel: 1.11/stable
kubernetes-worker:
annotations:
gui-x: '100'
gui-y: '850'
charm: cs:~containers/kubernetes-worker-163
constraints: cores=1 mem=2G root-disk=10G
expose: true
num_units: 3
options:
channel: 1.11/stable
openstack-integrator:
charm: cs:~containers/openstack-integrator
num_units: 1
options:
endpoint-tls-ca: include-base64:///home/ubuntu/openstack-ca.crt
password: <replace-me>
project-domain-name: admin_domain
user-domain-name: admin_domain
username: admin
project-name: admin
region: RegionOne
auth-url: https://<replace-me>:5000/v3
subnet-id: ff7d9d90-dc9f-4fc8-8332-e8a67b9b5f96
floating-network-id: 55aeb3e2-1a2c-4958-a576-e751f0b6f879
manage-security-groups: true
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
- - ['openstack-integrator', 'kubernetes-master']
- ['openstack-integrator', 'kubernetes-worker']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment