更改删除jenkins机器上旧镜像步骤
This commit is contained in:
@@ -45,7 +45,7 @@ spec:
|
||||
containers:
|
||||
- name: test-lessie-agents # 容器名称
|
||||
image: uswccr.ccs.tencentyun.com/lessietest/lessie-sourcing-agents:v0.0.2 # 容器镜像
|
||||
imagePullPolicy: IfNotPresent # 镜像拉取策略 ,有则不拉
|
||||
imagePullPolicy: Always # 镜像拉取策略拉
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
@@ -69,7 +69,7 @@ spec:
|
||||
memory: "2Gi" # 容器请求分配1Gi内存(这会实际预留)
|
||||
limits:
|
||||
cpu: "2" # 最多可以使用2个CPU核心
|
||||
memory: "8Gi" # 容器最多可以使用8Gi内存
|
||||
memory: "10Gi" # 容器最多可以使用8Gi内存
|
||||
volumeMounts:
|
||||
- name: aws-credentials-volume
|
||||
mountPath: /root/.aws/
|
||||
|
||||
Reference in New Issue
Block a user