
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
55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
apiVersion: v1beta1
|
|
kind: Pod
|
|
desiredState:
|
|
manifest:
|
|
containers:
|
|
- env:
|
|
- name: DB_ROOT_PASSWORD
|
|
value: password
|
|
- name: SWIFT_DB_PASSWORD
|
|
value: swiftdbpassword
|
|
- name: KEYSTONE_ADMIN_TOKEN
|
|
value: ADMINTOKEN
|
|
image: fedora-rdo-swift-account-server
|
|
name: swift-account-server
|
|
ports:
|
|
- containerPort: 9292
|
|
- env:
|
|
- name: DB_ROOT_PASSWORD
|
|
value: password
|
|
- name: SWIFT_DB_PASSWORD
|
|
value: swiftdbpassword
|
|
- name: KEYSTONE_ADMIN_TOKEN
|
|
value: ADMINTOKEN
|
|
image: fedora-rdo-swift-container-server
|
|
name: swift-container-server
|
|
ports:
|
|
- containerPort: 9292
|
|
- env:
|
|
- name: DB_ROOT_PASSWORD
|
|
value: password
|
|
- name: SWIFT_DB_PASSWORD
|
|
value: swiftdbpassword
|
|
- name: KEYSTONE_ADMIN_TOKEN
|
|
value: ADMINTOKEN
|
|
image: fedora-rdo-swift-object-server
|
|
name: swift-object-server
|
|
ports:
|
|
- containerPort: 9292
|
|
- env:
|
|
- name: DB_ROOT_PASSWORD
|
|
value: password
|
|
- name: SWIFT_DB_PASSWORD
|
|
value: swiftdbpassword
|
|
- name: KEYSTONE_ADMIN_TOKEN
|
|
value: ADMINTOKEN
|
|
image: fedora-rdo-swift-proxy-server
|
|
name: swift-proxy-server
|
|
ports:
|
|
- containerPort: 9292
|
|
id: swift-1
|
|
version: v1beta1
|
|
id: swift
|
|
labels:
|
|
name: keystone-master
|