dm/python/assets/type0-pod.yaml

24 lines
513 B
YAML
Raw Normal View History

2024-07-01 10:43:22 +08:00
apiVersion: v1
kind: Pod
metadata:
name: NAME
namespace: ""
labels:
2024-07-02 13:00:00 +08:00
app: NAME
2024-07-01 10:43:22 +08:00
spec:
2024-07-02 13:00:00 +08:00
containers:
- name: base-dm
image: harbor.dameng.io/cnsof50011836/base-dm:latest
imagePullPolicy: Always
command: [ "/bin/bash", "-c" ]
args: [ "service ssh start && tail -f /dev/null" ]
securityContext:
runAsUser: 0
runAsGroup: 0
resources:
limits:
2024-07-05 17:15:37 +08:00
cpu: '0.5'
memory: 1.2Gi
2024-07-05 15:04:41 +08:00
requests:
2024-07-05 17:15:37 +08:00
cpu: '0'
memory: 0Gi