diff options
| author | Ryan Hallisey <rhallise@redhat.com> | 2014-12-22 21:40:34 +0000 |
|---|---|---|
| committer | Ryan Hallisey <rhallise@redhat.com> | 2015-01-05 23:26:19 +0000 |
| commit | 8229c1f6c3448f5b00d04cdf3928ca5776a44ff8 (patch) | |
| tree | 84890e6c74b70a5b854f9244d64fa2cfd98fda0b /k8s/replication | |
| parent | 31e4fa1937639dd538f2c07d123d972104475cf4 (diff) | |
| download | kolla-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.yaml | 4 |
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 |
