Difference between revisions of "Kubernetes projected volumes"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | <pre> | ||
+ | volumes: | ||
+ | - name: persistent-storage | ||
+ | persistentVolumeClaim: | ||
+ | claimName: pvc-ebs-redis-api-instance-manager-ue5-dev | ||
+ | - name: kube-api-access-jhnds | ||
+ | projected: | ||
+ | defaultMode: 420 | ||
+ | sources: | ||
+ | - serviceAccountToken: | ||
+ | expirationSeconds: 3607 | ||
+ | path: token | ||
+ | - configMap: | ||
+ | items: | ||
+ | - key: ca.crt | ||
+ | path: ca.crt | ||
+ | name: kube-root-ca.crt | ||
+ | - downwardAPI: | ||
+ | items: | ||
+ | - fieldRef: | ||
+ | apiVersion: v1 | ||
+ | fieldPath: metadata.namespace | ||
+ | path: namespace | ||
+ | </pre> | ||
Line 10: | Line 35: | ||
− | + | == See also == | |
− | {{K8s}} | + | * {{K8s}} |
Revision as of 10:05, 8 March 2023
volumes: - name: persistent-storage persistentVolumeClaim: claimName: pvc-ebs-redis-api-instance-manager-ue5-dev - name: kube-api-access-jhnds projected: defaultMode: 420 sources: - serviceAccountToken: expirationSeconds: 3607 path: token - configMap: items: - key: ca.crt path: ca.crt name: kube-root-ca.crt - downwardAPI: items: - fieldRef: apiVersion: v1 fieldPath: metadata.namespace path: namespace
kubectl get psp Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ NAME PRIV CAPS SELINUX RUNASUSER FSGROUP SUPGROUP READONLYROOTFS VOLUMES gce.gke-metrics-agent false RunAsAny RunAsAny RunAsAny RunAsAny false hostPath,secret,configMap grafana false RunAsAny RunAsAny RunAsAny RunAsAny false configMap,emptyDir,projected,secret,downwardAPI,persistentVolumeClaim
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: