kolla/k8s/pod/nova-controller-pod.yaml
Ryan Hallisey 8229c1f6c3 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
2015-01-05 23:26:19 +00:00

51 lines
1.3 KiB
YAML

apiVersion: v1beta1
kind: Pod
desiredState:
manifest:
containers:
- env:
- name: NETWORK_MANAGER
value: neutron
- name: DB_ROOT_PASSWORD
value: password
- name: NOVA_DB_PASSWORD
value: novadbpassword
- name: KEYSTONE_ADMIN_TOKEN
value: ADMINTOKEN
- name: NEUTRON_SHARED_SECRET
value: sharedsecret
image: kollaglue/fedora-rdo-nova-conductor:l3_ovs_wip
name: nova-conductor
- env:
- name: NETWORK_MANAGER
value: neutron
- name: DB_ROOT_PASSWORD
value: password
- name: NOVA_DB_PASSWORD
value: novadbpassword
- name: KEYSTONE_ADMIN_TOKEN
value: ADMINTOKEN
- name: NEUTRON_SHARED_SECRET
value: sharedsecret
image: kollaglue/fedora-rdo-nova-scheduler:l3_ovs_wip
name: nova-scheduler
- env:
- name: NETWORK_MANAGER
value: neutron
- name: DB_ROOT_PASSWORD
value: password
- name: NOVA_DB_PASSWORD
value: novadbpassword
- name: KEYSTONE_ADMIN_TOKEN
value: ADMINTOKEN
- name: NEUTRON_SHARED_SECRET
value: sharedsecret
image: kollaglue/fedora-rdo-nova-api:l3_ovs_wip
name: nova-api
privileged: true
id: nova-1
version: v1beta1
id: nova-controller
labels:
name: nova-controller