mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-08-28 17:57:16 +00:00
Release v0.6
- Helm chart: use quay image, add color env var, rename backend env var, adjust deployment strategy and set liveness probe to 2s
This commit is contained in:
@@ -27,7 +27,7 @@ spec:
|
||||
terminationGracePeriodSeconds: 30
|
||||
containers:
|
||||
- name: podinfod
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0-rc.10
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
@@ -60,5 +60,5 @@ spec:
|
||||
value: "grey"
|
||||
- name: message
|
||||
value: "Greetings from backend grey"
|
||||
- name: backend_url
|
||||
- name: backendURL
|
||||
value: "http://podinfo-store:9898/echo" #"https://httpbin.org/anything"
|
||||
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
terminationGracePeriodSeconds: 30
|
||||
containers:
|
||||
- name: podinfod
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0-rc.10
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
@@ -60,5 +60,5 @@ spec:
|
||||
value: "orange"
|
||||
- name: message
|
||||
value: "Greetings from backend orange"
|
||||
- name: backend_url
|
||||
- name: backendURL
|
||||
value: "http://podinfo-store:9898/echo" #"https://httpbin.org/anything"
|
||||
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
terminationGracePeriodSeconds: 30
|
||||
containers:
|
||||
- name: podinfod
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0-rc.10
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
@@ -61,5 +61,5 @@ spec:
|
||||
value: "blue"
|
||||
- name: message
|
||||
value: "Greetings from podinfo blue"
|
||||
- name: backend_url
|
||||
- name: backendURL
|
||||
value: "http://podinfo-backend:9898/backend"
|
||||
|
||||
@@ -28,7 +28,7 @@ spec:
|
||||
terminationGracePeriodSeconds: 30
|
||||
containers:
|
||||
- name: podinfod
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0-rc.10
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
@@ -64,5 +64,5 @@ spec:
|
||||
value: "green"
|
||||
- name: message
|
||||
value: "Greetings from podinfo green"
|
||||
- name: backend_url
|
||||
- name: backendURL
|
||||
value: "http://podinfo-backend:9898/backend"
|
||||
|
||||
@@ -27,7 +27,7 @@ spec:
|
||||
terminationGracePeriodSeconds: 30
|
||||
containers:
|
||||
- name: podinfod
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0-rc.10
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
|
||||
@@ -7,6 +7,12 @@ metadata:
|
||||
app: podinfo
|
||||
spec:
|
||||
replicas: 3
|
||||
minReadySeconds: 15
|
||||
strategy:
|
||||
type: RollingUpdate
|
||||
rollingUpdate:
|
||||
maxUnavailable: 1
|
||||
maxSurge: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: podinfo
|
||||
@@ -17,9 +23,17 @@ spec:
|
||||
annotations:
|
||||
prometheus.io/scrape: 'true'
|
||||
spec:
|
||||
terminationGracePeriodSeconds: 30
|
||||
containers:
|
||||
- name: podinfod
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0-beta.7
|
||||
image: quay.io/stefanprodan/podinfo:0.6.0
|
||||
lifecycle:
|
||||
preStop:
|
||||
exec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- sleep 3
|
||||
command:
|
||||
- ./podinfo
|
||||
- -port=9898
|
||||
@@ -33,7 +47,7 @@ spec:
|
||||
path: /readyz
|
||||
port: 9898
|
||||
initialDelaySeconds: 1
|
||||
periodSeconds: 5
|
||||
periodSeconds: 2
|
||||
failureThreshold: 1
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
@@ -51,7 +65,7 @@ spec:
|
||||
value: "blue"
|
||||
- name: message
|
||||
value: "Greetings from podinfo blue"
|
||||
- name: backend_url
|
||||
- name: backendURL
|
||||
value: "http://podinfo-backend:9898/echo"
|
||||
- name: configPath
|
||||
value: "/var/secrets"
|
||||
|
||||
@@ -5,7 +5,7 @@ metadata:
|
||||
labels:
|
||||
app: podinfo
|
||||
spec:
|
||||
type: ClusterIP
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 9898
|
||||
targetPort: http
|
||||
|
||||
Reference in New Issue
Block a user