Skip to content
Permalink
Browse files

Update examples and texts to non-root nginx-hello

  • Loading branch information
mohamed-gougam committed Feb 4, 2020
1 parent ce3271e commit 2d700625756a1279e7b6076fa0286cf36b7cee59
@@ -14,9 +14,9 @@ spec:
spec:
containers:
- name: coffee-v1
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -25,7 +25,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -47,9 +47,9 @@ spec:
spec:
containers:
- name: coffee-v2
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -58,7 +58,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -80,9 +80,9 @@ spec:
spec:
containers:
- name: tea-post
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -91,7 +91,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -113,9 +113,9 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -124,7 +124,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -14,9 +14,9 @@ spec:
spec:
containers:
- name: coffee
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -25,7 +25,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -47,9 +47,9 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -58,7 +58,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -15,9 +15,9 @@ spec:
spec:
containers:
- name: coffee
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -27,7 +27,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -15,9 +15,9 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -27,7 +27,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -14,9 +14,9 @@ spec:
spec:
containers:
- name: coffee-v1
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -25,7 +25,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -47,9 +47,9 @@ spec:
spec:
containers:
- name: coffee-v2
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -58,7 +58,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -14,9 +14,9 @@ spec:
spec:
containers:
- name: coffee
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -25,7 +25,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -47,9 +47,9 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -59,7 +59,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -59,12 +59,12 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
readinessProbe:
httpGet:
port: 80
port: 8080
path: /healthz/tea
httpHeaders:
- name: header1
@@ -14,9 +14,9 @@ spec:
spec:
containers:
- name: coffee
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -25,7 +25,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -47,9 +47,9 @@ spec:
spec:
containers:
- name: tea
image: nginxdemos/hello:plain-text
image: nginxdemos/nginx-hello:plain-text
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@@ -59,7 +59,7 @@ metadata:
spec:
ports:
- port: 80
targetPort: 80
targetPort: 8080
protocol: TCP
name: http
selector:
@@ -9,4 +9,4 @@ spec:
protocol: TCP
name: http
selector:
app: backend1
app: backend1

0 comments on commit 2d70062

Please sign in to comment.
You can’t perform that action at this time.