--- apiVersion: apps/v1 kind: Deployment metadata: name: example-app spec: replicas: 1 selector: matchLabels: app: example-app template: metadata: labels: app: example-app spec: securityContext: seccompProfile: type: RuntimeDefault containers: - name: example-app image: nginx:alpine imagePullPolicy: Always ports: - containerPort: 80 resources: limits: cpu: 500m memory: 128Mi requests: cpu: 50m memory: 32Mi securityContext: runAsNonRoot: false runAsUser: 0 allowPrivilegeEscalation: false capabilities: drop: [ALL] readOnlyRootFilesystem: false seccompProfile: type: RuntimeDefault livenessProbe: httpGet: path: / port: 80 initialDelaySeconds: 30 periodSeconds: 10 readinessProbe: httpGet: path: / port: 80 initialDelaySeconds: 5 periodSeconds: 5