1
0
Fork 0
hudctrl/ci/podTemplate.yaml

37 lines
778 B
YAML

spec:
nodeSelector:
kubernetes.io/hostname: k8s-amd64-n2.pyrocufflink.blue
containers:
- name: python
image: docker.io/python:3.10
command:
- sleep
- infinity
securityContext:
readOnlyRootFilesystem: true
runAsUser: 1000
- name: node
image: docker.io/node:16-bullseye-slim
command:
- sleep
- infinity
env:
- name: npm_config_cache
value: ./npm_cache
- name: NODE_OPTIONS
value: '--max_old_space_size=512'
resources:
limits:
memory: 1536M
cpu: 1.0
securityContext:
readOnlyRootFilesystem: true
runAsUser: 1000
- name: podman
image: quay.io/containers/podman:v3.4
command:
- sleep
- infinity
securityContext:
privileged: true