Files
snippets/k8s-ubuntu-privileged.yaml

20 lines
325 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
securityContext:
privileged: true