Update apiserver for admission controller

Update the apiserver's command prefix to match between the apiserver
chart and the genesis api server.

Includes an optimization of virsh commands to parallelize and wait for
cloud init to complete (requires Ubuntu 16.04.4)

Change-Id: I793d210e15c3c13e8b662bd2459ed8bcba30d434
This commit is contained in:
Bryan Strassner 2018-11-19 17:12:10 -06:00
parent 568f528970
commit 221441f1bf
7 changed files with 163 additions and 96 deletions

View File

@ -91,8 +91,11 @@ data:
- --service-cluster-ip-range=SERVICE_CIDR - --service-cluster-ip-range=SERVICE_CIDR
- --service-node-port-range=SERVICE_NODE_PORT_RANGE - --service-node-port-range=SERVICE_NODE_PORT_RANGE
- --authorization-mode=Node,RBAC - --authorization-mode=Node,RBAC
- --admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,ResourceQuota,DefaultTolerationSeconds - --enable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,ResourceQuota,DefaultTolerationSeconds,NodeRestriction,EventRateLimit
- --endpoint-reconciler-type=lease - --endpoint-reconciler-type=lease
# NOTE(mark-burnett): This flag is removed in Kubernetes 1.11
- --repair-malformed-updates=false
armada: armada:
target_manifest: cluster-bootstrap target_manifest: cluster-bootstrap
labels: labels:

View File

@ -97,6 +97,22 @@ metadata:
dest: dest:
path: .values.secrets.service_account.public_key path: .values.secrets.service_account.public_key
# Command prefix
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .kubernetes.service_cidr
dest:
path: .values.command_prefix[1]
pattern: SERVICE_CIDR
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .kubernetes.service_node_port_range
dest:
path: .values.command_prefix[2]
pattern: SERVICE_NODE_PORT_RANGE
data: data:
chart_name: apiserver chart_name: apiserver
release: kubernetes-apiserver release: kubernetes-apiserver
@ -115,9 +131,20 @@ data:
labels: labels:
release_group: airship-kubernetes-apiserver release_group: airship-kubernetes-apiserver
values: values:
apiserver: apiserver:
etcd: etcd:
endpoints: https://127.0.0.1:2378 endpoints: https://127.0.0.1:2378
command_prefix:
- /apiserver
- --service-cluster-ip-range=SERVICE_CIDR
- --service-node-port-range=SERVICE_NODE_PORT_RANGE
- --authorization-mode=Node,RBAC
- --admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,ResourceQuota,DefaultTolerationSeconds
- --endpoint-reconciler-type=lease
# NOTE(mark-burnett): This flag is removed in Kubernetes 1.11
- --repair-malformed-updates=false
dependencies: dependencies:
- kubernetes-apiserver-htk - kubernetes-apiserver-htk
--- ---

View File

@ -19,18 +19,18 @@ data:
type: git type: git
apiserver-htk: apiserver-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
calico: calico:
calico: calico:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: calico subpath: calico
type: git type: git
calico-htk: calico-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
etcd: etcd:
@ -40,7 +40,7 @@ data:
type: git type: git
etcd-htk: etcd-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
controller-manager: controller-manager:
@ -50,7 +50,7 @@ data:
type: git type: git
controller-manager-htk: controller-manager-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
coredns: coredns:
@ -60,7 +60,7 @@ data:
type: git type: git
coredns-htk: coredns-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
etcd: etcd:
@ -70,7 +70,7 @@ data:
type: git type: git
etcd-htk: etcd-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
haproxy: haproxy:
@ -80,17 +80,17 @@ data:
type: git type: git
haproxy-htk: haproxy-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
ingress: ingress:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: ingress subpath: ingress
type: git type: git
ingress-htk: ingress-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
proxy: proxy:
@ -100,7 +100,7 @@ data:
type: git type: git
proxy-htk: proxy-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
scheduler: scheduler:
@ -110,7 +110,7 @@ data:
type: git type: git
scheduler-htk: scheduler-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
ucp: ucp:
@ -118,12 +118,12 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: nfs-provisioner subpath: nfs-provisioner
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
nfs_htk: nfs_htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
armada: armada:
location: https://git.openstack.org/openstack/airship-armada location: https://git.openstack.org/openstack/airship-armada
reference: 32baf9851e9cd29f4b8670e73a9409a0e7a59e35 reference: 32baf9851e9cd29f4b8670e73a9409a0e7a59e35
@ -131,7 +131,7 @@ data:
type: git type: git
armada-htk: armada-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
barbican: barbican:
@ -141,7 +141,7 @@ data:
type: git type: git
barbican-htk: barbican-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
#TODO Update to split ceph charts #TODO Update to split ceph charts
@ -162,7 +162,7 @@ data:
type: git type: git
deckhand-htk: deckhand-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
divingbell: divingbell:
@ -172,27 +172,27 @@ data:
type: git type: git
divingbell-htk: divingbell-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
drydock: drydock:
location: https://git.openstack.org/openstack/airship-drydock location: https://git.openstack.org/openstack/airship-drydock
reference: 756a063c3074ddd847af1dd02c9b576b541cedbd reference: 3470f89519d018c572905566891bafc8a3c51c3b
subpath: charts/drydock subpath: charts/drydock
type: git type: git
drydock-htk: drydock-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
ingress: ingress:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: ingress subpath: ingress
type: git type: git
ingress-htk: ingress-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
keystone: keystone:
@ -202,7 +202,7 @@ data:
type: git type: git
keystone-htk: keystone-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
maas: maas:
@ -212,37 +212,37 @@ data:
type: git type: git
maas-htk: maas-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
mariadb: mariadb:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: mariadb subpath: mariadb
type: git type: git
mariadb-htk: mariadb-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
memcached: memcached:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: memcached subpath: memcached
type: git type: git
memcached-htk: memcached-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
postgresql: postgresql:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: postgresql subpath: postgresql
type: git type: git
postgresql-htk: postgresql-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
promenade: promenade:
@ -252,17 +252,17 @@ data:
type: git type: git
promenade-htk: promenade-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
rabbitmq: rabbitmq:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: rabbitmq subpath: rabbitmq
type: git type: git
rabbitmq-htk: rabbitmq-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
shipyard: shipyard:
@ -272,7 +272,7 @@ data:
type: git type: git
shipyard-htk: shipyard-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
tiller: tiller:
@ -282,7 +282,7 @@ data:
type: git type: git
tiller-htk: tiller-htk:
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
subpath: helm-toolkit subpath: helm-toolkit
type: git type: git
openstack: openstack:
@ -295,7 +295,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
heat: heat:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -305,7 +305,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
horizon: horizon:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -315,17 +315,17 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
ingress: ingress:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: ingress subpath: ingress
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
ingress-htk: ingress-htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
keystone: keystone:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -335,7 +335,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
libvirt: libvirt:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -345,7 +345,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
mariadb: mariadb:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -355,17 +355,17 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
memcached: memcached:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: memcached subpath: memcached
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
memcached-htk: memcached-htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
neutron: neutron:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -375,7 +375,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
nova: nova:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -385,7 +385,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
openvswitch: openvswitch:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -395,17 +395,17 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
rabbitmq: rabbitmq:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: rabbitmq subpath: rabbitmq
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
rabbitmq-htk: rabbitmq-htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
files: files:
kubelet: https://dl.k8s.io/v1.10.2/kubernetes-node-linux-amd64.tar.gz kubelet: https://dl.k8s.io/v1.10.2/kubernetes-node-linux-amd64.tar.gz
@ -470,9 +470,9 @@ data:
divingbell: docker.io/ubuntu:16.04 divingbell: docker.io/ubuntu:16.04
drydock: drydock:
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1 dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
drydock: quay.io/airshipit/drydock:04ab7a6a90d2b0aadeabed804df31c9927538f91 drydock: quay.io/airshipit/drydock:3470f89519d018c572905566891bafc8a3c51c3b
drydock_db_init: docker.io/postgres:9.5 drydock_db_init: docker.io/postgres:9.5
drydock_db_sync: quay.io/airshipit/drydock:04ab7a6a90d2b0aadeabed804df31c9927538f91 drydock_db_sync: quay.io/airshipit/drydock:3470f89519d018c572905566891bafc8a3c51c3b
ks_endpoints: docker.io/openstackhelm/heat:ocata ks_endpoints: docker.io/openstackhelm/heat:ocata
ks_service: docker.io/openstackhelm/heat:ocata ks_service: docker.io/openstackhelm/heat:ocata
ks_user: docker.io/openstackhelm/heat:ocata ks_user: docker.io/openstackhelm/heat:ocata

View File

@ -91,8 +91,11 @@ data:
- --service-cluster-ip-range=SERVICE_CIDR - --service-cluster-ip-range=SERVICE_CIDR
- --service-node-port-range=SERVICE_NODE_PORT_RANGE - --service-node-port-range=SERVICE_NODE_PORT_RANGE
- --authorization-mode=Node,RBAC - --authorization-mode=Node,RBAC
- --admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,ResourceQuota,DefaultTolerationSeconds - --enable-admission-plugins=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,ResourceQuota,DefaultTolerationSeconds,NodeRestriction,EventRateLimit
- --endpoint-reconciler-type=lease - --endpoint-reconciler-type=lease
# NOTE(mark-burnett): This flag is removed in Kubernetes 1.11
- --repair-malformed-updates=false
armada: armada:
target_manifest: cluster-bootstrap target_manifest: cluster-bootstrap
labels: labels:
@ -109,11 +112,11 @@ data:
- openvswitch=enabled - openvswitch=enabled
- promenade-genesis=enabled - promenade-genesis=enabled
- ucp-control-plane=enabled - ucp-control-plane=enabled
- ceph-mgr=enabled
- ceph-mon=enabled - ceph-mon=enabled
- ceph-mds=enabled - ceph-mds=enabled
- ceph-rgw=enabled
- ceph-osd=enabled - ceph-osd=enabled
- ceph-rgw=enabled
- ceph-mgr=enabled
files: files:
- path: /var/lib/anchor/calico-etcd-bootstrap - path: /var/lib/anchor/calico-etcd-bootstrap
content: "# placeholder for triggering calico etcd bootstrapping\n# this file will be deleted" content: "# placeholder for triggering calico etcd bootstrapping\n# this file will be deleted"

View File

@ -97,6 +97,22 @@ metadata:
dest: dest:
path: .values.secrets.service_account.public_key path: .values.secrets.service_account.public_key
# Command prefix
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .kubernetes.service_cidr
dest:
path: .values.command_prefix[1]
pattern: SERVICE_CIDR
- src:
schema: pegleg/CommonAddresses/v1
name: common-addresses
path: .kubernetes.service_node_port_range
dest:
path: .values.command_prefix[2]
pattern: SERVICE_NODE_PORT_RANGE
data: data:
chart_name: apiserver chart_name: apiserver
release: kubernetes-apiserver release: kubernetes-apiserver
@ -115,9 +131,20 @@ data:
labels: labels:
release_group: airship-kubernetes-apiserver release_group: airship-kubernetes-apiserver
values: values:
apiserver: apiserver:
etcd: etcd:
endpoints: https://127.0.0.1:2378 endpoints: https://127.0.0.1:2378
command_prefix:
- /apiserver
- --service-cluster-ip-range=SERVICE_CIDR
- --service-node-port-range=SERVICE_NODE_PORT_RANGE
- --authorization-mode=Node,RBAC
- --admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,PersistentVolumeLabel,DefaultStorageClass,ResourceQuota,DefaultTolerationSeconds
- --endpoint-reconciler-type=lease
# NOTE(mark-burnett): This flag is removed in Kubernetes 1.11
- --repair-malformed-updates=false
dependencies: dependencies:
- kubernetes-apiserver-htk - kubernetes-apiserver-htk
--- ---

View File

@ -22,17 +22,17 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
calico: calico:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: calico subpath: calico
reference: 26e1b9cde63a3d5a55417d25f05cf8787b03256d reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
calico-htk: calico-htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 26e1b9cde63a3d5a55417d25f05cf8787b03256d reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
apiserver: apiserver:
type: git type: git
location: https://git.openstack.org/openstack/airship-promenade location: https://git.openstack.org/openstack/airship-promenade
@ -42,7 +42,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
controller-manager: controller-manager:
type: git type: git
location: https://git.openstack.org/openstack/airship-promenade location: https://git.openstack.org/openstack/airship-promenade
@ -52,7 +52,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
coredns: coredns:
type: git type: git
location: https://git.openstack.org/openstack/airship-promenade location: https://git.openstack.org/openstack/airship-promenade
@ -62,7 +62,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
haproxy: haproxy:
type: git type: git
location: https://git.openstack.org/openstack/airship-promenade location: https://git.openstack.org/openstack/airship-promenade
@ -72,7 +72,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
etcd: etcd:
type: git type: git
location: https://git.openstack.org/openstack/airship-promenade location: https://git.openstack.org/openstack/airship-promenade
@ -82,17 +82,17 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
ingress: ingress:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: ingress subpath: ingress
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
ingress-htk: ingress-htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
proxy: proxy:
type: git type: git
location: https://git.openstack.org/openstack/airship-promenade location: https://git.openstack.org/openstack/airship-promenade
@ -102,7 +102,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
scheduler: scheduler:
type: git type: git
location: https://git.openstack.org/openstack/airship-promenade location: https://git.openstack.org/openstack/airship-promenade
@ -112,18 +112,18 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
ucp: ucp:
nfs_provisioner: nfs_provisioner:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: nfs-provisioner subpath: nfs-provisioner
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
nfs_htk: nfs_htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
armada: armada:
type: git type: git
location: https://git.openstack.org/openstack/airship-armada location: https://git.openstack.org/openstack/airship-armada
@ -133,7 +133,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
barbican: barbican:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -143,7 +143,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
#TODO Update to split ceph charts #TODO Update to split ceph charts
ceph: ceph:
type: git type: git
@ -165,7 +165,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
divingbell: divingbell:
type: git type: git
location: https://git.openstack.org/openstack/airship-divingbell location: https://git.openstack.org/openstack/airship-divingbell
@ -175,27 +175,27 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
drydock: drydock:
type: git type: git
location: https://git.openstack.org/openstack/airship-drydock location: https://git.openstack.org/openstack/airship-drydock
subpath: charts/drydock subpath: charts/drydock
reference: master reference: 3470f89519d018c572905566891bafc8a3c51c3b
drydock-htk: drydock-htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: bc1afb87d7aa529a4ed5321d889cdfe2f1af8a44 reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
ingress: ingress:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: ingress subpath: ingress
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
ingress-htk: ingress-htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
postgresql: postgresql:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -205,7 +205,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
promenade: promenade:
type: git type: git
location: https://git.openstack.org/openstack/airship-promenade location: https://git.openstack.org/openstack/airship-promenade
@ -215,7 +215,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
keystone: keystone:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -225,7 +225,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
maas: maas:
type: git type: git
location: https://git.openstack.org/openstack/airship-maas location: https://git.openstack.org/openstack/airship-maas
@ -235,7 +235,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
mariadb: mariadb:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm location: https://git.openstack.org/openstack/openstack-helm
@ -245,27 +245,27 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
memcached: memcached:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: memcached subpath: memcached
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
memcached-htk: memcached-htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
rabbitmq: rabbitmq:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: rabbitmq subpath: rabbitmq
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
rabbitmq-htk: rabbitmq-htk:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
shipyard: shipyard:
type: git type: git
location: https://git.openstack.org/openstack/airship-shipyard location: https://git.openstack.org/openstack/airship-shipyard
@ -285,7 +285,7 @@ data:
type: git type: git
location: https://git.openstack.org/openstack/openstack-helm-infra location: https://git.openstack.org/openstack/openstack-helm-infra
subpath: helm-toolkit subpath: helm-toolkit
reference: 6ef48d37060e81cc6ffc283644bcd2df6c7ef80e reference: 5d356f9265b337b75f605dee839faa8cd0ed3ab2
files: files:
kubelet: https://dl.k8s.io/v1.10.2/kubernetes-node-linux-amd64.tar.gz kubelet: https://dl.k8s.io/v1.10.2/kubernetes-node-linux-amd64.tar.gz
@ -327,13 +327,13 @@ data:
ks_user: docker.io/openstackhelm/heat:ocata ks_user: docker.io/openstackhelm/heat:ocata
barbican_api: docker.io/openstackhelm/barbican:ocata barbican_api: docker.io/openstackhelm/barbican:ocata
drydock: drydock:
drydock: quay.io/airshipit/drydock:a41acdd7607ff5281d3df3ea435e15d5ff5c3f99 drydock: quay.io/airshipit/drydock:3470f89519d018c572905566891bafc8a3c51c3b
dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1 dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
ks_user: docker.io/openstackhelm/heat:ocata ks_user: docker.io/openstackhelm/heat:ocata
ks_service: docker.io/openstackhelm/heat:ocata ks_service: docker.io/openstackhelm/heat:ocata
ks_endpoints: docker.io/openstackhelm/heat:ocata ks_endpoints: docker.io/openstackhelm/heat:ocata
drydock_db_init: docker.io/postgres:9.5 drydock_db_init: docker.io/postgres:9.5
drydock_db_sync: quay.io/airshipit/drydock:a41acdd7607ff5281d3df3ea435e15d5ff5c3f99 drydock_db_sync: quay.io/airshipit/drydock:3470f89519d018c572905566891bafc8a3c51c3b
shipyard: shipyard:
airflow: quay.io/airshipit/airflow:0a14e7e80fb7b7bd41b29e9690f231229c1e95ca airflow: quay.io/airshipit/airflow:0a14e7e80fb7b7bd41b29e9690f231229c1e95ca
shipyard: quay.io/airshipit/shipyard:0a14e7e80fb7b7bd41b29e9690f231229c1e95ca shipyard: quay.io/airshipit/shipyard:0a14e7e80fb7b7bd41b29e9690f231229c1e95ca

View File

@ -153,7 +153,8 @@ vm_create() {
--disk "vol=${VIRSH_POOL}/cloud-init-${NAME}.iso,device=cdrom" &>> "${LOG_FILE}" --disk "vol=${VIRSH_POOL}/cloud-init-${NAME}.iso,device=cdrom" &>> "${LOG_FILE}"
ssh_wait "${NAME}" ssh_wait "${NAME}"
ssh_cmd "${NAME}" sync ssh_cmd "${NAME}" cloud-init status --wait
ssh_cmd "${NAME}" sync
else else
log Creating VM "${NAME}" log Creating VM "${NAME}"
@ -172,18 +173,24 @@ vm_create() {
fi fi
} }
vm_create_validate() {
NAME=${1}
vm_create "${name}"
if [[ "$(config_vm_bootstrap ${name})" == "true" ]]
then
vm_validate "${name}"
fi
}
vm_create_all() { vm_create_all() {
log Starting all VMs log Starting all VMs
VM_NAMES=($(config_vm_names)) VM_NAMES=($(config_vm_names))
for name in ${VM_NAMES[*]} for name in ${VM_NAMES[*]}
do do
vm_create "${name}" vm_create_validate "${name}" &
if [[ "$(config_vm_bootstrap ${name})" == "true" ]]
then
vm_validate "${name}"
fi
done done
wait
} }
vm_start() { vm_start() {