Deploying Block PVC and POD

This chart will install the following resources:

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

Deploying the Block 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 Block Workload

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

Bash
Copy

Uninstalling the Block 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