From 52db4093cf4d481801f20ba5c428998a6685c70e 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 --- glusterfs/README.md | 3 +-- glusterfs/glusterfs-endpoints.json | 8 +++----- glusterfs/glusterfs-pod.json | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/glusterfs/README.md b/glusterfs/README.md index a1ab1b9d..68bccb6f 100644 --- a/glusterfs/README.md +++ b/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/glusterfs/glusterfs-endpoints.json b/glusterfs/glusterfs-endpoints.json index 4c5d649e..751715e6 100644 --- a/glusterfs/glusterfs-endpoints.json +++ b/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/glusterfs/glusterfs-pod.json b/glusterfs/glusterfs-pod.json index 664a35dc..52c92da6 100644 --- a/glusterfs/glusterfs-pod.json +++ b/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 +}