修改配置文件
This commit is contained in:
parent
22ea8bd895
commit
1d5a036bf7
@ -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:
|
Loading…
x
Reference in New Issue
Block a user