Skip to content

Commit 6819fe4

Browse files
author
Ray Tsang
committed
initial update to examples for Kubernetes 1.10
1 parent efb1673 commit 6819fe4

30 files changed

+661
-8
lines changed

examples/kubernetes-1.6/guestbookservice-deployment.yaml renamed to examples/kubernetes-1.10-simple/guestbookservice-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
###############################################################################
16-
apiVersion: extensions/v1beta1
16+
apiVersion: apps/v1
1717
kind: Deployment
1818
metadata:
1919
name: guestbook-service
2020
labels:
2121
app: guestbook-service
2222
visualize: "true"
2323
spec:
24-
replicas: 1
24+
replicas: 2
2525
selector:
2626
matchLabels:
2727
app: guestbook-service

examples/kubernetes-1.6/guestbookservice-service.yaml renamed to examples/kubernetes-1.10-simple/guestbookservice-service.yaml

File renamed without changes.

examples/kubernetes-1.6/helloworldservice-deployment-v1.yaml renamed to examples/kubernetes-1.10-simple/helloworldservice-deployment-v1.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
###############################################################################
16-
apiVersion: extensions/v1beta1
16+
apiVersion: apps/v1
1717
kind: Deployment
1818
metadata:
1919
name: helloworld-service
2020
labels:
2121
app: helloworld-service
2222
visualize: "true"
2323
spec:
24-
replicas: 1
24+
replicas: 2
2525
selector:
2626
matchLabels:
2727
app: helloworld-service

examples/kubernetes-1.6/helloworldservice-service.yaml renamed to examples/kubernetes-1.10-simple/helloworldservice-service.yaml

File renamed without changes.

examples/kubernetes-1.6/helloworldui-deployment-v1.yaml renamed to examples/kubernetes-1.10-simple/helloworldui-deployment-v1.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
###############################################################################
16-
apiVersion: extensions/v1beta1
16+
apiVersion: apps/v1
1717
kind: Deployment
1818
metadata:
1919
name: helloworld-ui
2020
labels:
2121
app: helloworld-ui
2222
visualize: "true"
2323
spec:
24-
replicas: 1
24+
replicas: 2
2525
selector:
2626
matchLabels:
2727
app: helloworld-ui
File renamed without changes.

examples/kubernetes-1.6/mysql-deployment.yaml renamed to examples/kubernetes-1.10-simple/mysql-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: extensions/v1beta1
1+
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: mysql
File renamed without changes.
File renamed without changes.

examples/kubernetes-1.6/redis-deployment.yaml renamed to examples/kubernetes-1.10-simple/redis-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515
###############################################################################
1616

17-
apiVersion: extensions/v1beta1
17+
apiVersion: apps/v1
1818
kind: Deployment
1919
metadata:
2020
name: redis

0 commit comments

Comments
 (0)