Difference between revisions of "K8s storage: EmptyDir"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page EmptyDir to K8s storage: EmptyDir)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
+
* https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
  
 
  [[extraVolumes:]]
 
  [[extraVolumes:]]

Latest revision as of 14:24, 7 February 2024

extraVolumes:
 - name: extras
   emptyDir: {}

extraVolumeMounts:
 - name: extras
   mountPath: /usr/share/extras
   readOnly: true


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
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

See also[edit]

Advertising: