diff --git a/examples/pvc-with-node/kustomization.yaml b/examples/pvc-with-node/kustomization.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7bfd4518aa9a6bfc3da2679d7337102514bb1d8e --- /dev/null +++ b/examples/pvc-with-node/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- pvc.yaml diff --git a/examples/pvc-with-node/pvc.yaml b/examples/pvc-with-node/pvc.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7ae77388d84f2bfea6fdb8d834df744a749d881d --- /dev/null +++ b/examples/pvc-with-node/pvc.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: local-path-pvc + annotations: + volume.kubernetes.io/selected-node: MyNode +spec: + accessModes: + - ReadWriteOnce + storageClassName: local-path + resources: + requests: + storage: 128Mi