Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Commit

Permalink
Update deploy readiness
Browse files Browse the repository at this point in the history
Signed-off-by: soulseen <sunzhu@yunify.com>
  • Loading branch information
soulseen committed Apr 19, 2019
1 parent 3e3910c commit c6f9b7e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 6 deletions.
3 changes: 3 additions & 0 deletions deploy/dev-ol/devops-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
httpGet:
path: /
port: 8080
timeoutSeconds: 10
failureThreshold: 30
periodSeconds: 5
imagePullPolicy: Always
name: ks-sample
ports:
Expand Down
3 changes: 3 additions & 0 deletions deploy/dev/devops-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
httpGet:
path: /
port: 8080
timeoutSeconds: 10
failureThreshold: 30
periodSeconds: 5
imagePullPolicy: Always
name: ks-sample
ports:
Expand Down
3 changes: 3 additions & 0 deletions deploy/no-branch-dev/devops-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ spec:
httpGet:
path: /
port: 8080
timeoutSeconds: 10
failureThreshold: 30
periodSeconds: 5
ports:
- containerPort: 8080
protocol: TCP
Expand Down
9 changes: 6 additions & 3 deletions deploy/prod-ol/devops-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ spec:
value: 3d
image: $REDISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:$TAG_NAME
readinessProbe:
httpGet:
path: /
port: 8080
httpGet:
path: /
port: 8080
timeoutSeconds: 10
failureThreshold: 30
periodSeconds: 5
imagePullPolicy: Always
name: ks
ports:
Expand Down
9 changes: 6 additions & 3 deletions deploy/prod/devops-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ spec:
value: 3d
image: $REDISTRY/$HARBOR_NAMESPACE/$APP_NAME:$TAG_NAME
readinessProbe:
httpGet:
path: /
port: 8080
httpGet:
path: /
port: 8080
timeoutSeconds: 10
failureThreshold: 30
periodSeconds: 5
imagePullPolicy: Always
name: ks
ports:
Expand Down

0 comments on commit c6f9b7e

Please sign in to comment.