-
Notifications
You must be signed in to change notification settings - Fork 1k
Add kubectl create pv/c function #1849
Copy link
Copy link
Closed
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.
Metadata
Metadata
Assignees
Labels
kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.
Type
Fields
Give feedbackNo fields configured for issues without a type.
What would you like to be added
Right now, I can create a deployment, service, ingress, secret, configmap, and many more resources directly from the kubectl command line tool. The one main missing one is creating a persistent volume (claim). Working with Kubernetes often, I use kubectl create frequently, particularly with --dry-run=client -oyaml, yet for PV(C)s, I have to either head to the Kubernetes docs or copy an existing yaml file from a previous project.
I would like an option to create a pv/pvc from the kubectl tool.
Why is this needed
This feature makes creating an essential Kubernetes resource easier and more intuitive, without needing to refer to docs or other references.