Difference between revisions of "K8s storage: EmptyDir"

From wikieduonline
Jump to navigation Jump to search
(Created page with " kubectl get psp Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ NAME PRIV CAPS SELINUX RUNASUSER...")
 
m (Welcome moved page EmptyDir to K8s storage: EmptyDir)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
* https://kubernetes.io/docs/concepts/storage/volumes/#emptydir
  
 +
[[extraVolumes:]]
 +
  - name: extras
 +
    [[emptyDir:]] {}
 +
 +
[[extraVolumeMounts:]]
 +
  - name: extras
 +
    mountPath: /usr/share/extras
 +
    readOnly: true
  
  
Line 7: Line 16:
 
  [[gce]].[[gke-metrics-agent]]  false          RunAsAny  RunAsAny    RunAsAny  RunAsAny  false            hostPath,secret,configMap
 
  [[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]]
 
  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 ==
 +
* {{K8s storage}}
 +
 +
[[Category:K8s]]

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: