dm/python/assets/type0-pod.yaml

24 lines
517 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-03 14:08:43 +08:00
cpu: '0.2'
memory: 0.3Gi
2024-07-02 13:00:00 +08:00
requests:
2024-07-03 14:08:43 +08:00
cpu: '0.1'
memory: 0.2Gi