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