Commit 65bb8161 authored by Kris Rousey's avatar Kris Rousey

Update storm example to use v1

parent a1840218
{ {
"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