From ce1484dc9b9b02cc3edb1cf9b1bc28c3f48e44ad Mon Sep 17 00:00:00 2001 From: Chao Xu Date: Tue, 9 Jun 2015 16:06:14 -0700 Subject: [PATCH] update examples/glusterfs to v1 --- examples/glusterfs/README.md | 3 +-- examples/glusterfs/glusterfs-endpoints.json | 8 +++----- examples/glusterfs/glusterfs-pod.json | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/examples/glusterfs/README.md b/examples/glusterfs/README.md index a1ab1b9ddae..68bccb6ff7a 100644 --- a/examples/glusterfs/README.md +++ b/examples/glusterfs/README.md @@ -19,8 +19,7 @@ Here is a snippet of [glusterfs-endpoints.json](glusterfs-endpoints.json), ], "ports": [ { - "port": 1, - "protocol": "TCP" + "port": 1 } ] diff --git a/examples/glusterfs/glusterfs-endpoints.json b/examples/glusterfs/glusterfs-endpoints.json index 4c5d649e14a..751715e6896 100644 --- a/examples/glusterfs/glusterfs-endpoints.json +++ b/examples/glusterfs/glusterfs-endpoints.json @@ -1,6 +1,6 @@ { "kind": "Endpoints", - "apiVersion": "v1beta3", + "apiVersion": "v1", "metadata": { "name": "glusterfs-cluster" }, @@ -13,8 +13,7 @@ ], "ports": [ { - "port": 1, - "protocol": "TCP" + "port": 1 } ] }, @@ -26,8 +25,7 @@ ], "ports": [ { - "port": 1, - "protocol": "TCP" + "port": 1 } ] } diff --git a/examples/glusterfs/glusterfs-pod.json b/examples/glusterfs/glusterfs-pod.json index 664a35dc0fa..52c92da6ebb 100644 --- a/examples/glusterfs/glusterfs-pod.json +++ b/examples/glusterfs/glusterfs-pod.json @@ -1,5 +1,5 @@ { - "apiVersion": "v1beta3", + "apiVersion": "v1", "id": "glusterfs", "kind": "Pod", "metadata": { @@ -29,4 +29,4 @@ } ] } -} \ No newline at end of file +}