8229c1f6c3
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
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
apiVersion: v1beta1
|
|
kind: Pod
|
|
desiredState:
|
|
manifest:
|
|
containers:
|
|
- name: nova-compute
|
|
env:
|
|
- name: DB_ROOT_PASSWORD
|
|
value: password
|
|
- name: NOVA_DB_PASSWORD
|
|
value: novadbpassword
|
|
- name: KEYSTONE_ADMIN_TOKEN
|
|
value: ADMINTOKEN
|
|
image: kollaglue/fedora-rdo-nova-compute
|
|
privileged: true
|
|
- name: nova-network
|
|
env:
|
|
- name: DB_ROOT_PASSWORD
|
|
value: password
|
|
- name: NOVA_DB_PASSWORD
|
|
value: novadbpassword
|
|
- name: KEYSTONE_ADMIN_TOKEN
|
|
value: ADMINTOKEN
|
|
- name: CONFIG_NETWORK
|
|
value: true
|
|
image: kollaglue/fedora-rdo-nova-network
|
|
privileged: true
|
|
- name: ceilometer-compute
|
|
env:
|
|
- name: DB_ROOT_PASSWORD
|
|
value: password
|
|
- name: CEILOMETER_DB_PASSWORD
|
|
value: ceilometerdbpassword
|
|
- name: KEYSTONE_ADMIN_TOKEN
|
|
value: ADMINTOKEN
|
|
image: kollaglue/fedora-rdo-ceilometer-compute
|
|
id: nova-1
|
|
version: v1beta1
|
|
id: nova-compute
|
|
labels:
|
|
name: nova-compute
|