dm/python/assets/type0-pod.yaml

24 lines
517 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: NAME
namespace: ""
labels:
app: NAME
spec:
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:
cpu: '0.2'
memory: 0.2Gi
requests:
cpu: '0.1'
memory: 0.1Gi