theshire/kubernetes/apps/default/ubuntu-nenya.yaml

20 lines
412 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: ubuntu
namespace: default
spec:
nodeName: nenya
containers:
- name: ubuntu
image: ubuntu:latest
securityContext:
privileged: true
command: ["/bin/bash", "-c", "while true; do sleep 10; done"]
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
cpu: 4000m
memory: 4000Mi