更改删除jenkins机器上旧镜像步骤

This commit is contained in:
dxin
2025-11-06 12:11:02 +08:00
parent a9653d8da1
commit f1ba36dc3b
11 changed files with 222 additions and 212 deletions

View File

@@ -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/