@ -4,7 +4,7 @@ metadata:
labels:
app: enfi-boot
name: enfi-boot
namespace: wang-project #一定要写名称空间
namespace: wang-project
spec:
progressDeadlineSeconds: 600
replicas: 1s
@ -22,16 +22,9 @@ spec:
imagePullSecrets:
- name: aliyun-docker-hub #提前在项目下配置访问阿里云的账号密码
- name: aliyun-docker-hub
containers:
- image: $REGISTRY/$ALIYUNHUB_NAMESPACE/enfi-boot:SNAPSHOT-$BUILD_NUMBER
# readinessProbe:
# httpGet:
# path: /actuator/health
# port: 8080
# timeoutSeconds: 10
# failureThreshold: 30
# periodSeconds: 5
imagePullPolicy: Always
name: app
ports: