22 lines
431 B
YAML
22 lines
431 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.2'
|
|
memory: 0.3Gi
|
|
requests:
|
|
cpu: '0.1'
|
|
memory: 0.2Gi |