kubeclient 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of kubeclient might be problematic. Click here for more details.

@@ -0,0 +1,43 @@
1
+ {
2
+ "kind": "ServiceList",
3
+ "creationTimestamp": null,
4
+ "selfLink": "/api/v1beta1/services",
5
+ "resourceVersion": 8,
6
+ "apiVersion": "v1beta1",
7
+ "items": [
8
+ {
9
+ "id": "kubernetes",
10
+ "uid": "be10c0ba-8f4e-11e4-814c-3c970e4a436a",
11
+ "creationTimestamp": "2014-12-29T13:35:08+02:00",
12
+ "selfLink": "/api/v1beta1/services/kubernetes?namespace=default",
13
+ "resourceVersion": 4,
14
+ "namespace": "default",
15
+ "port": 443,
16
+ "protocol": "TCP",
17
+ "labels": {
18
+ "component": "apiserver",
19
+ "provider": "kubernetes"
20
+ },
21
+ "selector": null,
22
+ "containerPort": 0,
23
+ "portalIP": "10.0.0.151"
24
+ },
25
+ {
26
+ "id": "kubernetes-ro",
27
+ "uid": "be106b89-8f4e-11e4-814c-3c970e4a436a",
28
+ "creationTimestamp": "2014-12-29T13:35:08+02:00",
29
+ "selfLink": "/api/v1beta1/services/kubernetes-ro?namespace=default",
30
+ "resourceVersion": 3,
31
+ "namespace": "default",
32
+ "port": 80,
33
+ "protocol": "TCP",
34
+ "labels": {
35
+ "component": "apiserver",
36
+ "provider": "kubernetes"
37
+ },
38
+ "selector": null,
39
+ "containerPort": 0,
40
+ "portalIP": "10.0.0.171"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "kind": "EventList",
3
+ "apiVersion": "v1beta3",
4
+ "metadata": {
5
+ "selfLink": "/api/v1beta3/events",
6
+ "resourceVersion": "152"
7
+ },
8
+ "items": [
9
+ {
10
+ "metadata": {
11
+ "name": "php.13c130f78da4641e",
12
+ "namespace": "default",
13
+ "selfLink": "/api/v1beta3/events/php.13c130f78da4641e?namespace=default",
14
+ "uid": "f3a454d2-b03a-11e4-89e4-525400c903c1",
15
+ "resourceVersion": "178",
16
+ "creationTimestamp": "2015-02-09T04:06:37-05:00"
17
+ },
18
+ "involvedObject": {
19
+ "kind": "BoundPod",
20
+ "namespace": "default",
21
+ "name": "php",
22
+ "uid": "64273d20-b03a-11e4-89e4-525400c903c1",
23
+ "apiVersion": "v1beta1",
24
+ "fieldPath": "spec.containers{nginx}"
25
+ },
26
+ "reason": "created",
27
+ "message": "Created with docker id 9ba2a714411d2d0dd1e826b2fe5c3222b5cbfd9dd9133c841585cbb96b8c2c0f",
28
+ "source": {
29
+ "component": "kubelet",
30
+ "host": "127.0.0.1"
31
+ },
32
+ "timestamp": "2015-02-09T04:06:37-05:00"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "kind": "NodeList",
3
+ "creationTimestamp": null,
4
+ "selfLink": "/api/v1beta1/nodes",
5
+ "apiVersion": "v1beta1",
6
+ "minions": [
7
+ {
8
+ "id": "127.0.0.1",
9
+ "uid": "a7b13504-9402-11e4-9a08-3c970e4a436a",
10
+ "creationTimestamp": "2015-01-04T13:13:05+02:00",
11
+ "selfLink": "/api/v1beta1/nodes/127.0.0.1",
12
+ "resourceVersion": 7,
13
+ "resources": {
14
+ "capacity": {
15
+ "cpu": 1000,
16
+ "memory": 3221225472
17
+ }
18
+ }
19
+ }
20
+ ],
21
+ "items": [
22
+ {
23
+ "id": "127.0.0.1",
24
+ "uid": "a7b13504-9402-11e4-9a08-3c970e4a436a",
25
+ "creationTimestamp": "2015-01-04T13:13:05+02:00",
26
+ "selfLink": "/api/v1beta1/nodes/127.0.0.1",
27
+ "resourceVersion": 7,
28
+ "resources": {
29
+ "capacity": {
30
+ "cpu": 1000,
31
+ "memory": 3221225472
32
+ }
33
+ }
34
+ }
35
+ ]
36
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "kind": "PodList",
3
+ "creationTimestamp": null,
4
+ "selfLink": "/api/v1beta1/pods",
5
+ "resourceVersion": 7,
6
+ "apiVersion": "v1beta1",
7
+ "items": [
8
+
9
+ ]
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "kind": "ReplicationControllerList",
3
+ "creationTimestamp": null,
4
+ "selfLink": "/api/v1beta1/replicationControllers",
5
+ "resourceVersion": 7,
6
+ "apiVersion": "v1beta1",
7
+ "items": [
8
+
9
+ ]
10
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "kind": "ServiceList",
3
+ "creationTimestamp": null,
4
+ "selfLink": "/api/v1beta1/services",
5
+ "resourceVersion": 8,
6
+ "apiVersion": "v1beta1",
7
+ "items": [
8
+ {
9
+ "id": "kubernetes",
10
+ "uid": "be10c0ba-8f4e-11e4-814c-3c970e4a436a",
11
+ "creationTimestamp": "2014-12-29T13:35:08+02:00",
12
+ "selfLink": "/api/v1beta1/services/kubernetes?namespace=default",
13
+ "resourceVersion": 4,
14
+ "namespace": "default",
15
+ "port": 443,
16
+ "protocol": "TCP",
17
+ "labels": {
18
+ "component": "apiserver",
19
+ "provider": "kubernetes"
20
+ },
21
+ "selector": null,
22
+ "containerPort": 0,
23
+ "portalIP": "10.0.0.151"
24
+ },
25
+ {
26
+ "id": "kubernetes-ro",
27
+ "uid": "be106b89-8f4e-11e4-814c-3c970e4a436a",
28
+ "creationTimestamp": "2014-12-29T13:35:08+02:00",
29
+ "selfLink": "/api/v1beta1/services/kubernetes-ro?namespace=default",
30
+ "resourceVersion": 3,
31
+ "namespace": "default",
32
+ "port": 80,
33
+ "protocol": "TCP",
34
+ "labels": {
35
+ "component": "apiserver",
36
+ "provider": "kubernetes"
37
+ },
38
+ "selector": null,
39
+ "containerPort": 0,
40
+ "portalIP": "10.0.0.171"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "kind": "Node",
3
+ "id": "127.0.0.1",
4
+ "uid": "b0ddfa00-8b5b-11e4-a8c4-3c970e4a436a",
5
+ "creationTimestamp": "2014-12-24T12:57:45+02:00",
6
+ "selfLink": "/api/v1beta1/nodes/127.0.0.1",
7
+ "resourceVersion": 7,
8
+ "apiVersion": "v1beta1",
9
+ "resources": {
10
+ "capacity": {
11
+ "cpu": 1000,
12
+ "memory": 3221225472
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "kind": "Node",
3
+ "apiVersion": "v1beta3",
4
+ "metadata": {
5
+ "name": "127.0.0.1",
6
+ "selfLink": "/api/v1beta3/nodes/127.0.0.1",
7
+ "uid": "01018013-a231-11e4-a36b-3c970e4a436a",
8
+ "resourceVersion": "7",
9
+ "creationTimestamp": "2015-01-22T14:20:08+02:00"
10
+ },
11
+ "spec": {
12
+ "capacity": {
13
+ "cpu": "1",
14
+ "memory": "3Gi"
15
+ }
16
+ },
17
+ "status": {
18
+ "hostIP": "127.0.0.1",
19
+ "conditions": [
20
+ {
21
+ "kind": "Ready",
22
+ "status": "Full",
23
+ "lastTransitionTime": null
24
+ }
25
+ ]
26
+ }
27
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "apiVersion": "v1beta1",
3
+ "kind": "Pod",
4
+ "id": "redis-master-pod",
5
+ "desiredState": {
6
+ "manifest": {
7
+ "version": "v1beta1",
8
+ "id": "redis-master-pod",
9
+ "containers": [
10
+ {
11
+ "name": "redis-master",
12
+ "image": "gurpartap/redis",
13
+ "ports": [
14
+ {
15
+ "name": "redis-server",
16
+ "containerPort": 6379
17
+ }
18
+ ]
19
+ }
20
+ ]
21
+ }
22
+ },
23
+ "labels": {
24
+ "name": "redis",
25
+ "role": "master"
26
+ }
27
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "kind": "Pod",
3
+ "apiVersion": "v1beta3",
4
+ "metadata": {
5
+ "name": "redis-master3",
6
+ "namespace": "default",
7
+ "selfLink": "/api/v1beta3/pods/redis-master3?namespace=default",
8
+ "uid": "a344023f-a23c-11e4-a36b-3c970e4a436a",
9
+ "resourceVersion": "9",
10
+ "creationTimestamp": "2015-01-22T15:43:24+02:00",
11
+ "labels": {
12
+ "name": "redis-master"
13
+ }
14
+ },
15
+ "spec": {
16
+ "volumes": null,
17
+ "containers": [
18
+ {
19
+ "name": "master",
20
+ "image": "dockerfile/redis",
21
+ "ports": [
22
+ {
23
+ "hostPort": 6379,
24
+ "containerPort": 6379,
25
+ "protocol": "TCP"
26
+ }
27
+ ],
28
+ "memory": "0",
29
+ "cpu": "100m",
30
+ "imagePullPolicy": ""
31
+ },
32
+ {
33
+ "name": "php-redis",
34
+ "image": "kubernetes/example-guestbook-php-redis",
35
+ "ports": [
36
+ {
37
+ "hostPort": 8000,
38
+ "containerPort": 80,
39
+ "protocol": "TCP"
40
+ }
41
+ ],
42
+ "memory": "50000000",
43
+ "cpu": "100m",
44
+ "imagePullPolicy": ""
45
+ }
46
+ ],
47
+ "restartPolicy": {
48
+ "always": {
49
+
50
+ }
51
+ },
52
+ "dnsPolicy": "ClusterFirst"
53
+ },
54
+ "status": {
55
+ "phase": "Running",
56
+ "host": "127.0.0.1",
57
+ "podIP": "172.17.0.2",
58
+ "info": {
59
+ "master": {
60
+ "state": {
61
+ "running": {
62
+ "startedAt": "2015-01-22T13:43:29Z"
63
+ }
64
+ },
65
+ "restartCount": 0,
66
+ "containerID": "docker://87458d9a12f9dc9a01b52c1eee5f09cf48939380271c0eaf31af298ce67b125e",
67
+ "image": "dockerfile/redis"
68
+ },
69
+ "net": {
70
+ "state": {
71
+ "running": {
72
+ "startedAt": "2015-01-22T13:43:27Z"
73
+ }
74
+ },
75
+ "restartCount": 0,
76
+ "containerID": "docker://3bb5ced1f831322d370f70b58137e1dd41216c2960b7a99394542b5230cbd259",
77
+ "podIP": "172.17.0.2",
78
+ "image": "kubernetes/pause:latest"
79
+ },
80
+ "php-redis": {
81
+ "state": {
82
+ "running": {
83
+ "startedAt": "2015-01-22T13:43:31Z"
84
+ }
85
+ },
86
+ "restartCount": 0,
87
+ "containerID": "docker://5f08685c0a7a5c974d438a52c6560d72bb0aae7e805d2a34302b9b460f1297c7",
88
+ "image": "kubernetes/example-guestbook-php-redis"
89
+ }
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "kind": "ReplicationController",
3
+ "id": "frontendController",
4
+ "uid": "f4e5966c-8eb2-11e4-a6e7-3c970e4a436a",
5
+ "creationTimestamp": "2014-12-28T18:59:59+02:00",
6
+ "selfLink": "/api/v1beta1/replicationControllers/frontendController?namespace=default",
7
+ "resourceVersion": 11,
8
+ "apiVersion": "v1beta1",
9
+ "namespace": "default",
10
+ "desiredState": {
11
+ "replicas": 3,
12
+ "replicaSelector": {
13
+ "name": "frontend"
14
+ },
15
+ "podTemplate": {
16
+ "desiredState": {
17
+ "manifest": {
18
+ "version": "v1beta2",
19
+ "id": "",
20
+ "volumes": null,
21
+ "containers": [
22
+ {
23
+ "name": "php-redis",
24
+ "image": "brendanburns/php-redis",
25
+ "ports": [
26
+ {
27
+ "hostPort": 8000,
28
+ "containerPort": 80,
29
+ "protocol": "TCP"
30
+ }
31
+ ],
32
+ "imagePullPolicy": ""
33
+ }
34
+ ],
35
+ "restartPolicy": {
36
+ "always": {
37
+
38
+ }
39
+ }
40
+ }
41
+ },
42
+ "labels": {
43
+ "name": "frontend"
44
+ }
45
+ }
46
+ },
47
+ "currentState": {
48
+ "replicas": 3,
49
+ "podTemplate": {
50
+ "desiredState": {
51
+ "manifest": {
52
+ "version": "",
53
+ "id": "",
54
+ "volumes": null,
55
+ "containers": null,
56
+ "restartPolicy": {
57
+
58
+ }
59
+ }
60
+ }
61
+ }
62
+ },
63
+ "labels": {
64
+ "name": "frontend"
65
+ }
66
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "kind": "ReplicationController",
3
+ "apiVersion": "v1beta3",
4
+ "metadata": {
5
+ "name": "guestbook-controller",
6
+ "namespace": "default",
7
+ "selfLink": "/api/v1beta3/replicationcontrollers/guestbook-controller?namespace=default",
8
+ "uid": "c71aa4c0-a240-11e4-a265-3c970e4a436a",
9
+ "resourceVersion": "8",
10
+ "creationTimestamp": "2015-01-22T16:13:02+02:00",
11
+ "labels": {
12
+ "name": "guestbook"
13
+ }
14
+ },
15
+ "spec": {
16
+ "replicas": 3,
17
+ "selector": {
18
+ "name": "guestbook"
19
+ },
20
+ "template": {
21
+ "metadata": {
22
+ "creationTimestamp": null,
23
+ "labels": {
24
+ "name": "guestbook"
25
+ }
26
+ },
27
+ "spec": {
28
+ "volumes": null,
29
+ "containers": [
30
+ {
31
+ "name": "guestbook",
32
+ "image": "kubernetes/guestbook",
33
+ "ports": [
34
+ {
35
+ "name": "http-server",
36
+ "containerPort": 3000,
37
+ "protocol": "TCP"
38
+ }
39
+ ],
40
+ "memory": "0",
41
+ "cpu": "0m",
42
+ "imagePullPolicy": ""
43
+ }
44
+ ],
45
+ "restartPolicy": {
46
+ "always": {
47
+
48
+ }
49
+ },
50
+ "dnsPolicy": "ClusterFirst"
51
+ }
52
+ }
53
+ },
54
+ "status": {
55
+ "replicas": 3
56
+ }
57
+ }