aboutsummaryrefslogtreecommitdiff
path: root/k8s/replication
diff options
context:
space:
mode:
authorRyan Hallisey <rhallise@redhat.com>2014-12-22 21:40:34 +0000
committerRyan Hallisey <rhallise@redhat.com>2015-01-05 23:26:19 +0000
commit8229c1f6c3448f5b00d04cdf3928ca5776a44ff8 (patch)
tree84890e6c74b70a5b854f9244d64fa2cfd98fda0b /k8s/replication
parent31e4fa1937639dd538f2c07d123d972104475cf4 (diff)
downloadkolla-8229c1f6c3448f5b00d04cdf3928ca5776a44ff8.tar.gz
kolla-8229c1f6c3448f5b00d04cdf3928ca5776a44ff8.zip
Start and stop scripts are outdated after Kubernetes update
Kubernetes no longer uses 'kubecfg', but rather 'kubectl'. Therefore, the way that pods and services are being created needs to be changed. In order to create a pod, the parameter 'kind' needs to be set to 'pod' in the yaml file and the api version specified. The stop script now reads from k8s/{pod,service,replication}/ in order to stop all the started pods, services, and replication controllers. Change-Id: Ibd39fa402e9df883df83272c3aefbb69009dfbd2
Diffstat (limited to 'k8s/replication')
-rw-r--r--k8s/replication/nova-compute-replication.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/k8s/replication/nova-compute-replication.yaml b/k8s/replication/nova-compute-replication.yaml
index 569436b3d..0929d558b 100644
--- a/k8s/replication/nova-compute-replication.yaml
+++ b/k8s/replication/nova-compute-replication.yaml
@@ -30,14 +30,14 @@ desiredState:
value: novadbpassword
- name: KEYSTONE_ADMIN_TOKEN
value: ADMINTOKEN
- id: nova-compute-controller
+ id: nova-compute
version: v1beta1
labels:
name: nova-compute
replicaSelector:
name: nova-compute
replicas: 6
-id: nova-compute-controller
+id: nova-compute
kind: ReplicationController
labels:
name: nova-compute