Compare commits
10 Commits
d6552ff9b0
...
b6e0c36e7e
Author | SHA1 | Date |
---|---|---|
YuenSun | b6e0c36e7e | |
Anand Francis Joseph | d7927a27b4 | |
Joonianry | 3ec1be06f0 | |
Yuan Sun | 90f56901c2 | |
Joonianry | f420b40949 | |
Yuan Sun | c2d95a189b | |
Yuan Sun | f70f62a488 | |
Joonianry | 29dbb905b6 | |
Yuan Sun | 76c0b838cf | |
Yuan Sun | ffe61b44ce |
|
@ -3,7 +3,7 @@ kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: guestbook-ui
|
name: guestbook-ui
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 2
|
||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
|
|
|
@ -26,7 +26,7 @@ spec:
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 80
|
containerPort: {{ .Values.containerPort }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
|
|
|
@ -2,13 +2,15 @@
|
||||||
# This is a YAML-formatted file.
|
# This is a YAML-formatted file.
|
||||||
# Declare variables to be passed into your templates.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 2
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: gcr.io/heptio-images/ks-guestbook-demo
|
repository: gcr.io/heptio-images/ks-guestbook-demo
|
||||||
tag: 0.1
|
tag: 0.1
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
containerPort: 80
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
|
|
Loading…
Reference in New Issue