Commit 5d2ea04b authored by Brian Grant's avatar Brian Grant

Merge pull request #4133 from ddysher/0-fix-0

Use replication controller for redis master.
parents 849596c4 f406a57c
...@@ -28,5 +28,3 @@ Definition of columns: ...@@ -28,5 +28,3 @@ Definition of columns:
- **Commercial**: A commercial offering with its own support arrangements. - **Commercial**: A commercial offering with its own support arrangements.
- **Community**: Actively supported by community contributions. May not work with more recent releases of kubernetes. - **Community**: Actively supported by community contributions. May not work with more recent releases of kubernetes.
- **Inactive**: No active maintainer. Not recommended for first-time K8s users, and may be deleted soon. - **Inactive**: No active maintainer. Not recommended for first-time K8s users, and may be deleted soon.
{ {
"apiVersion": "v1beta1", "apiVersion": "v1beta1",
"kind": "Pod", "kind": "ReplicationController",
"id": "redis-master-pod", "id": "redis-master-controller",
"desiredState": {
"replicas": 1,
"replicaSelector": { "name": "redis", "role": "master" },
"podTemplate": {
"desiredState": { "desiredState": {
"manifest": { "manifest": {
"version": "v1beta1", "version": "v1beta1",
"id": "redis-master-pod", "id": "redis-master-controller",
"containers": [{ "containers": [{
"name": "redis-master", "name": "redis-master",
"image": "gurpartap/redis", "image": "gurpartap/redis",
...@@ -14,4 +18,7 @@ ...@@ -14,4 +18,7 @@
} }
}, },
"labels": { "name": "redis", "role": "master" } "labels": { "name": "redis", "role": "master" }
}
},
"labels": { "name": "redis", "role": "master" }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment