forked from xiaohei/taiji-AI-PAD
36 lines
745 B
YAML
36 lines
745 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: kaniko-build-mcp
|
|
namespace: taiji-ai
|
|
spec:
|
|
nodeSelector:
|
|
kubernetes.io/arch: arm64
|
|
restartPolicy: Never
|
|
containers:
|
|
- name: kaniko
|
|
image: gcr.io/kaniko-project/executor:v1.21.1-debug
|
|
command: ["/busybox/sh", "-c", "sleep 7200"]
|
|
resources:
|
|
requests:
|
|
cpu: "2"
|
|
memory: "4Gi"
|
|
limits:
|
|
cpu: "6"
|
|
memory: "12Gi"
|
|
volumeMounts:
|
|
- name: docker-config
|
|
mountPath: /kaniko/.docker
|
|
- name: workspace
|
|
mountPath: /workspace
|
|
volumes:
|
|
- name: docker-config
|
|
secret:
|
|
secretName: acr-secret
|
|
items:
|
|
- key: .dockerconfigjson
|
|
path: config.json
|
|
- name: workspace
|
|
emptyDir:
|
|
sizeLimit: 4Gi
|