Revert "Revert "Deleting old sample JSON; moving those in use; updating referenc..."

This commit is contained in:
Alex Mohr
2015-03-09 14:44:14 -07:00
parent 56bdd94985
commit da9622a6d7
12 changed files with 9 additions and 154 deletions

View File

@@ -1,35 +0,0 @@
{
"kind": "ReplicationControllerList",
"apiVersion": "v1beta1",
"items": [
{
"id": "test-run",
"desiredState": {
"replicas": 2,
"replicaSelector": {
"name": "test-run"
},
"podTemplate": {
"desiredState": {
"manifest": {
"version": "v1beta1",
"image": "dockerfile/nginx",
"networkPorts": [
{
"hostPort": 8080,
"containerPort": 80
}
]
}
},
"labels": {
"name": "test-run"
}
}
},
"labels": {
"name": "test-run"
}
}
]
}

View File

@@ -1,23 +0,0 @@
{
"id": "nginx-controller",
"apiVersion": "v1beta1",
"kind": "ReplicationController",
"desiredState": {
"replicas": 2,
"replicaSelector": {"name": "nginx"},
"podTemplate": {
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "nginx-controller",
"containers": [{
"name": "nginx",
"image": "dockerfile/nginx",
"ports": [{"containerPort": 80, "hostPort": 8080}]
}]
}
},
"labels": {"name": "nginx"}
}},
"labels": {"name": "nginx"}
}

View File

@@ -1,13 +0,0 @@
{
"id": "example",
"kind": "Service",
"apiVersion": "v1beta1",
"port": 8000,
"labels": {
"name": "nginx"
},
"selector": {
"name": "nginx"
},
"createExternalLoadBalancer": true
}

View File

@@ -1,54 +0,0 @@
{
"kind": "PodList",
"apiVersion": "v1beta1",
"items": [
{
"id": "my-pod-1",
"labels": {
"name": "test-run",
"replicationcontroller": "test-run"
},
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "my-pod-1",
"containers": [{
"name": "nginx",
"image": "dockerfile/nginx",
"ports": [{
"hostPort": 8080,
"containerPort": 80
}]
}]
}
},
"currentState": {
"host": "host-1"
}
},
{
"id": "my-pod-2",
"labels": {
"name": "test-run",
"replicationcontroller": "test-run"
},
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "my-pod-2",
"containers": [{
"name": "nginx",
"image": "dockerfile/nginx",
"ports": [{
"hostPort": 8080,
"containerPort": 80
}]
}]
}
},
"currentState": {
"host": "host-2"
}
}
]
}

View File

@@ -1,32 +0,0 @@
{
"kind": "Pod",
"apiVersion": "v1beta1",
"id": "php",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "php",
"containers": [{
"name": "nginx",
"image": "dockerfile/nginx",
"ports": [{
"containerPort": 80,
"hostPort": 8081
}],
"livenessProbe": {
"enabled": true,
"type": "http",
"initialDelaySeconds": 30,
"httpGet": {
"path": "/index.html",
"port": "8081"
}
}
}]
}
},
"labels": {
"name": "foo"
}
}

View File

@@ -1,28 +0,0 @@
{
"kind": "ServiceList",
"apiVersion": "v1beta1",
"items": [
{
"id": "example1",
"port": 8000,
"labels": {
"name": "nginx"
},
"selector": {
"name": "nginx"
}
},
{
"id": "example2",
"port": 8080,
"labels": {
"env": "prod",
"name": "jetty"
},
"selector": {
"env": "prod",
"name": "jetty"
}
}
]
}

View File

@@ -1,12 +0,0 @@
{
"kind": "Service",
"apiVersion": "v1beta1",
"id": "example",
"port": 8000,
"labels": {
"name": "nginx"
},
"selector": {
"name": "nginx"
}
}