Convert nova-compute-replication to yaml
Yaml is the future - json is the past \o/ Change-Id: I36a9cbf8db034d1e8deba040a22e556d791c65ed
This commit is contained in:
parent
20e88776bc
commit
a6edd270db
@ -1,66 +0,0 @@
|
||||
{
|
||||
"apiVersion": "v1beta1",
|
||||
"desiredState": {
|
||||
"podTemplate": {
|
||||
"desiredState": {
|
||||
"manifest": {
|
||||
"containers": [
|
||||
{
|
||||
"name": "nova-compute",
|
||||
"image": "kollaglue/fedora-rdo-nova-compute",
|
||||
"env": [
|
||||
{
|
||||
"name": "DB_ROOT_PASSWORD",
|
||||
"value": "password"
|
||||
},
|
||||
{
|
||||
"name": "NOVA_DB_PASSWORD",
|
||||
"value": "novadbpassword"
|
||||
},
|
||||
{
|
||||
"name": "KEYSTONE_ADMIN_TOKEN",
|
||||
"value": "ADMINTOKEN"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "nova-libvirt",
|
||||
"image": "kollaglue/fedora-rdo-nova-libvirt",
|
||||
"ports": [
|
||||
{"containerPort": 16509}
|
||||
],
|
||||
"env": [
|
||||
{
|
||||
"name": "DB_ROOT_PASSWORD",
|
||||
"value": "password"
|
||||
},
|
||||
{
|
||||
"name": "NOVA_DB_PASSWORD",
|
||||
"value": "novadbpassword"
|
||||
},
|
||||
{
|
||||
"name": "KEYSTONE_ADMIN_TOKEN",
|
||||
"value": "ADMINTOKEN"
|
||||
}
|
||||
]
|
||||
},
|
||||
],
|
||||
"id": "nova-compute-controller",
|
||||
"version": "v1beta1"
|
||||
}
|
||||
},
|
||||
"labels": {
|
||||
"name": "nova-compute"
|
||||
}
|
||||
},
|
||||
"replicaSelector": {
|
||||
"name": "nova-compute"
|
||||
},
|
||||
"replicas": 2
|
||||
},
|
||||
"id": "nova-compute-controller",
|
||||
"kind": "ReplicationController",
|
||||
"labels": {
|
||||
"name": "nova-compute"
|
||||
}
|
||||
}
|
37
k8s/replication/nova-compute-replication.yaml
Normal file
37
k8s/replication/nova-compute-replication.yaml
Normal file
@ -0,0 +1,37 @@
|
||||
apiVersion: v1beta1
|
||||
desiredState:
|
||||
podTemplate:
|
||||
desiredState:
|
||||
manifest:
|
||||
containers:
|
||||
- name: nova-compute
|
||||
image: kollaglue/fedora-rdo-nova-compute
|
||||
env:
|
||||
- name: DB_ROOT_PASSWORD
|
||||
value: password
|
||||
- name: NOVA_DB_PASSWORD
|
||||
value: novadbpassword
|
||||
- name: KEYSTONE_ADMIN_TOKEN
|
||||
value: ADMINTOKEN
|
||||
- name: nova-libvirt
|
||||
image: kollaglue/fedora-rdo-nova-libvirt
|
||||
ports:
|
||||
- containerPort: 16509
|
||||
env:
|
||||
- name: DB_ROOT_PASSWORD
|
||||
value: password
|
||||
- name: NOVA_DB_PASSWORD
|
||||
value: novadbpassword
|
||||
- name: KEYSTONE_ADMIN_TOKEN
|
||||
value: ADMINTOKEN
|
||||
id: nova-compute-controller
|
||||
version: v1beta1
|
||||
labels:
|
||||
name: nova-compute
|
||||
replicaSelector:
|
||||
name: nova-compute
|
||||
replicas: 2
|
||||
id: nova-compute-controller
|
||||
kind: ReplicationController
|
||||
labels:
|
||||
name: nova-compute
|
Loading…
Reference in New Issue
Block a user