From 91d3b9e0cf8eee10b7f920c23c9d676ccfbe6635 Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Fri, 9 Jan 2015 14:00:46 -0700 Subject: Infrastructure - Update pod definitions * Bring pod definitions in line with lates k8s release --- roles/pods/files/pods/docker-registry.json | 2 +- roles/pods/files/pods/fedora_apache.json | 2 ++ roles/pods/files/pods/frontend-controller.json | 2 +- roles/pods/files/pods/redis-master-service.json | 2 +- roles/pods/files/pods/redis-master.json | 2 +- roles/pods/files/pods/redis-slave-controller.json | 2 +- roles/pods/files/pods/redis-slave-service.json | 2 +- roles/pods/files/pods/registry-service.json | 2 +- 8 files changed, 9 insertions(+), 7 deletions(-) (limited to 'roles/pods/files') diff --git a/roles/pods/files/pods/docker-registry.json b/roles/pods/files/pods/docker-registry.json index 388a1015e..a480e6b30 100644 --- a/roles/pods/files/pods/docker-registry.json +++ b/roles/pods/files/pods/docker-registry.json @@ -1,6 +1,6 @@ { "kind": "Pod", - "version": "v1beta1", + "version": "v1beta2", "desiredState": { "manifest": { "version": "v1beta1", diff --git a/roles/pods/files/pods/fedora_apache.json b/roles/pods/files/pods/fedora_apache.json index 54eb712c2..187927559 100644 --- a/roles/pods/files/pods/fedora_apache.json +++ b/roles/pods/files/pods/fedora_apache.json @@ -1,5 +1,7 @@ { "id": "apache", + "kind": "Pod", + "apiVersion": "v1beta2", "desiredState": { "manifest": { "version": "v1beta1", diff --git a/roles/pods/files/pods/frontend-controller.json b/roles/pods/files/pods/frontend-controller.json index 1558724b6..2a2cdea9a 100644 --- a/roles/pods/files/pods/frontend-controller.json +++ b/roles/pods/files/pods/frontend-controller.json @@ -1,7 +1,7 @@ { "id": "frontendController", "kind": "ReplicationController", - "apiVersion": "v1beta1", + "apiVersion": "v1beta2", "desiredState": { "replicas": 2, "replicaSelector": {"name": "frontend"}, diff --git a/roles/pods/files/pods/redis-master-service.json b/roles/pods/files/pods/redis-master-service.json index 80808dcd6..0f590272d 100644 --- a/roles/pods/files/pods/redis-master-service.json +++ b/roles/pods/files/pods/redis-master-service.json @@ -1,7 +1,7 @@ { "id": "redismaster", "kind": "Service", - "apiVersion": "v1beta1", + "apiVersion": "v1beta2", "port": 10000, "containerPort": 6379, "selector": { diff --git a/roles/pods/files/pods/redis-master.json b/roles/pods/files/pods/redis-master.json index 71acea530..0a281a045 100644 --- a/roles/pods/files/pods/redis-master.json +++ b/roles/pods/files/pods/redis-master.json @@ -1,7 +1,7 @@ { "id": "redis-master-2", "kind": "Pod", - "apiVersion": "v1beta1", + "apiVersion": "v1beta2", "desiredState": { "manifest": { "version": "v1beta1", diff --git a/roles/pods/files/pods/redis-slave-controller.json b/roles/pods/files/pods/redis-slave-controller.json index 5c8d1ea30..b85fff66a 100644 --- a/roles/pods/files/pods/redis-slave-controller.json +++ b/roles/pods/files/pods/redis-slave-controller.json @@ -1,7 +1,7 @@ { "id": "redisSlaveController", "kind": "ReplicationController", - "apiVersion": "v1beta1", + "apiVersion": "v1beta2", "desiredState": { "replicas": 2, "replicaSelector": {"name": "redisslave"}, diff --git a/roles/pods/files/pods/redis-slave-service.json b/roles/pods/files/pods/redis-slave-service.json index f90a9be9f..e1c5029f6 100644 --- a/roles/pods/files/pods/redis-slave-service.json +++ b/roles/pods/files/pods/redis-slave-service.json @@ -1,7 +1,7 @@ { "id": "redisslave", "kind": "Service", - "apiVersion": "v1beta1", + "apiVersion": "v1beta2", "port": 10001, "containerPort": 6379, "labels": { diff --git a/roles/pods/files/pods/registry-service.json b/roles/pods/files/pods/registry-service.json index 96eaf261c..3a711a1ac 100644 --- a/roles/pods/files/pods/registry-service.json +++ b/roles/pods/files/pods/registry-service.json @@ -1,7 +1,7 @@ { "id": "dockerregistry", "kind": "Service", - "apiVersion": "v1beta1", + "apiVersion": "v1beta2", "port": 8888, "selector": { "name": "docker-registry" -- cgit v1.2.3