22 lines
427 B
YAML
22 lines
427 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: NAME
|
|
namespace: ""
|
|
labels:
|
|
app: NAME
|
|
spec:
|
|
containers:
|
|
- name: code-server
|
|
image: harbor.dameng.io/cnsof50011836/code-server:latest
|
|
imagePullPolicy: Always
|
|
securityContext:
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
resources:
|
|
limits:
|
|
cpu: '0.7'
|
|
memory: 1.5Gi
|
|
requests:
|
|
cpu: '0'
|
|
memory: 0Gi |