Files
snippets/k8s-ubuntu-privileged.yaml

22 lines
388 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: ubuntu-deployment
spec:
selector:
matchLabels:
app: ubuntu
replicas: 1
template:
metadata:
labels:
app: ubuntu
spec:
containers:
- name: ubuntu
image: ubuntu
command: ["/usr/bin/sleep"]
args: ["infinity"]
securityContext:
privileged: true