mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
17 lines
No EOL
352 B
YAML
17 lines
No EOL
352 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: pod-with-hostpath
|
|
annotations:
|
|
cluster-autoscaler.kubernetes.io/safe-to-evict: true
|
|
spec:
|
|
containers:
|
|
- image: k8s.gcr.io/test-webserver
|
|
name: test-container
|
|
volumeMounts:
|
|
- mountPath: /tmp/foo
|
|
name: host-volume
|
|
volumes:
|
|
- name: host-volume
|
|
hostPath:
|
|
path: "/tmp/foo" |