Filesystem PVC and POD Workload

This chart will install the following resources:

  • A PVC named example-fs-pvc referencing the previously defined StorageClass.
  • A POD named example-fs-pod using example-fs-pvc.

Deploying the Filesystem Workload

Bash
Copy

Will output:

Bash
Copy

Deploying the POD on a Specific K8S Node

You can choose to deploy the POD on a specific K8s node by specifying nodeName or nodeSelector in the template.

The default values for these parameters are empty, which means the POD will not be limited to any POD.

Examples:

  1. Specifying nodeSelector:
Bash
Copy

Will result in:

Bash
Copy
  1. Specifying nodeName:
Bash
Copy

Will result in:

Bash
Copy

Verifying the Filesystem Workload Deployed

Verify that PV, PVC are created and in Bounded state, and that POD is in Running state:

Bash
Copy

Uninstalling the Filesystem Workload

Bash
Copy

Verify that all resources are gone:

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard