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
25 lines
526 B
YAML
25 lines
526 B
YAML
apiVersion: v1beta1
|
|
kind: Pod
|
|
desiredState:
|
|
manifest:
|
|
containers:
|
|
- env:
|
|
- name: BARBICAN_DB_PASSWORD
|
|
value: password
|
|
- name: DB_ROOT_PASSWORD
|
|
value: password
|
|
- name: KEYSTONE_ADMIN_TOKEN
|
|
value: ADMINTOKEN
|
|
- name: BARBICAN_ADMIN_PASSWORD
|
|
value: kolla
|
|
image: kollaglue/fedora-rdo-barbican
|
|
name: barbican
|
|
ports:
|
|
- containerPort: 9311
|
|
- containerPort: 9312
|
|
id: barbican
|
|
version: v1beta1
|
|
id: barbican
|
|
labels:
|
|
name: barbican
|