Difference between revisions of "CKA v1.15: Understand PersistentVolumeClaims (PVC) for storage"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
+ | [[CKA v1.21]] | ||
== Example == | == Example == |
Revision as of 20:58, 13 July 2021
This article is a Draft. Help us to complete it.
Example
apiVersion: v1 kind: PersistentVolume metadata: name: dockerfile labels: type: local spec: capacity: storage: 10Gi accessModes: - ReadWriteOnce storageClassName: local-storage hostPath: path: /home/docker/kaniko # replace this with the output of pwd command from before, if it is different
Related commands
kubectl describe pvc mysql-pv-claim
Related terms
- Volumes (Kubernetes)
- CKA v1.18: Understand persistent volumes and know how to create them
- CKA v1.15: Understand PersistentVolumeClaims for storage
kind: PersistentVolume
kind: PersistentVolumeClaim
helm install --set persistence.enabled=true grafana stable/grafana
See also
- Kubernetes: distributions, tools, CKA, CKS, Kubernetes interfaces: CSI, CNI, installation, workloads, networking,
kubeadm
,Kubernetes API
, Kubernetes API Server,kubectl, kubeadm, kubelet, kube-proxy
, Cloud services: EKS, GKE, TKE, DKS, Helm, Kubernetes RBAC, Kubernetes deployments, Minikube, Rancher, OpenShift, Charmed Kubernetes, Ingress, Kubernetes scheduler, Kubernetes Finalizers, logging, Kubernetes operator, Orka,kind:
, Kubernetes namespaces, Kubernetes dashboard, Kubernetes Metrics Server, Field Selectors, CoreDNS, CRI, Kubernetes Topology Manager, Kubernetes governance: (SIG, KEP), Kustomize, controllers,ReadinessProbe, LivenessProbe
, KOPS, K9s, Kui, k3s, ImagePullBackOff, PDB, EndPoints, Kots, metadata, Karpenter, Replicated.com, Kubernetes Authenticating, Kubernetes timeline, Changelog/Versions, service accounts, Kubernetes Pod Lifecycle, Kubernetes Conformance Certified, Kubernetes backup, Kubernetes Pod Security Admission, tEKS, Kubernetes events, Kubernetes ports, Kubernetes policies, Connect, addons, DoKC, Kubernetes control plane, Kubernetes Federation, Kubernetes info, Kubetest2, Sidecar (Kubernetes)
Advertising: