We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4f0141 commit 2bad7c2Copy full SHA for 2bad7c2
04-built-in-resource-types/PersistentVolume/kind/PersistentVolume.manual-kind.yaml
@@ -1,7 +1,7 @@
1
apiVersion: v1
2
kind: PersistentVolume
3
metadata:
4
- name: manual-kind
+ name: manual-kind-worker
5
labels:
6
name: manual-kind
7
spec:
@@ -20,3 +20,26 @@ spec:
20
operator: In
21
values:
22
- kind-worker
23
+---
24
+apiVersion: v1
25
+kind: PersistentVolume
26
+metadata:
27
+ name: manual-kind-worker2
28
+ labels:
29
+ name: manual-kind
30
+spec:
31
+ accessModes:
32
+ - ReadWriteOnce
33
+ capacity:
34
+ storage: 100Mi
35
+ storageClassName: standard
36
+ local:
37
+ path: /some/path/in/container # Replace with the path to your local storage
38
+ nodeAffinity:
39
+ required:
40
+ nodeSelectorTerms:
41
+ - matchExpressions:
42
+ - key: kubernetes.io/hostname
43
+ operator: In
44
+ values:
45
+ - kind-worker2
0 commit comments