Commit 8d3d13db authored by Abhi Shah's avatar Abhi Shah

Merge pull request #9606 from krousey/example_storm

Update storm example to use v1
parents 928971ce 65bb8161
{ {
"kind": "Service", "kind": "Service",
"apiVersion": "v1beta3", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "nimbus", "name": "nimbus",
"labels": { "labels": {
...@@ -10,12 +10,11 @@ ...@@ -10,12 +10,11 @@
"spec": { "spec": {
"ports": [ "ports": [
{ {
"port": 6627, "port": 6627
"targetPort": 6627
} }
], ],
"selector": { "selector": {
"name": "nimbus" "name": "nimbus"
} }
} }
} }
\ No newline at end of file
{ {
"kind": "Pod", "kind": "Pod",
"apiVersion": "v1beta3", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "nimbus", "name": "nimbus",
"labels": { "labels": {
...@@ -25,4 +25,4 @@ ...@@ -25,4 +25,4 @@
} }
] ]
} }
} }
\ No newline at end of file
{ {
"kind": "ReplicationController", "kind": "ReplicationController",
"apiVersion": "v1beta3", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "storm-worker-controller", "name": "storm-worker-controller",
"labels": { "labels": {
...@@ -52,4 +52,4 @@ ...@@ -52,4 +52,4 @@
} }
} }
} }
} }
\ No newline at end of file
{ {
"kind": "Service", "kind": "Service",
"apiVersion": "v1beta3", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "zookeeper", "name": "zookeeper",
"labels": { "labels": {
...@@ -10,12 +10,11 @@ ...@@ -10,12 +10,11 @@
"spec": { "spec": {
"ports": [ "ports": [
{ {
"port": 2181, "port": 2181
"targetPort": 2181
} }
], ],
"selector": { "selector": {
"name": "zookeeper" "name": "zookeeper"
} }
} }
} }
\ No newline at end of file
{ {
"kind": "Pod", "kind": "Pod",
"apiVersion": "v1beta3", "apiVersion": "v1",
"metadata": { "metadata": {
"name": "zookeeper", "name": "zookeeper",
"labels": { "labels": {
...@@ -25,4 +25,4 @@ ...@@ -25,4 +25,4 @@
} }
] ]
} }
} }
\ No newline at end of file
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