增加了k8s devops的配置

This commit is contained in:
bamanker
2023-11-23 15:03:54 +08:00
parent 4d660bbff8
commit eaec895ff0

View File

@@ -27,7 +27,7 @@ spec:
- image: $REGISTRY/$DOCKERHUB_NAMESPACE/$APP_NAME:$TAG
readinessProbe:
httpGet:
path: /actuator/health
path: /
port: 8080
timeoutSeconds: 10
failureThreshold: 30
@@ -40,7 +40,7 @@ spec:
resources:
limits:
cpu: 300m
memory: 120Mib
memory: 120Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst