|
|
@@ -2,7 +2,7 @@ apiVersion: apps/v1
|
|
|
kind: Deployment
|
|
|
metadata:
|
|
|
name: <service_name><service_version>
|
|
|
- namespace: ahxpm
|
|
|
+ namespace: default
|
|
|
spec:
|
|
|
strategy:
|
|
|
type: RollingUpdate
|
|
|
@@ -28,13 +28,13 @@ spec:
|
|
|
image: <docker_image>
|
|
|
command: ["java"]
|
|
|
args: <java_args>
|
|
|
- #readinessProbe:
|
|
|
- # httpGet:
|
|
|
- # path: <service_health>
|
|
|
- # port: 80
|
|
|
- # initialDelaySeconds: 15
|
|
|
- # periodSeconds: 30
|
|
|
- # failureThreshold: 3
|
|
|
+ readinessProbe:
|
|
|
+ httpGet:
|
|
|
+ path: <service_health>
|
|
|
+ port: 80
|
|
|
+ initialDelaySeconds: 15
|
|
|
+ periodSeconds: 30
|
|
|
+ failureThreshold: 3
|
|
|
ports:
|
|
|
- name: http
|
|
|
containerPort: 80
|