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...")
 
Line 1: Line 1:
  
 +
 +
[[extraVolumes:]]
 +
  - name: extras
 +
    [[emptyDir:]] {}
 +
 +
[[extraVolumeMounts:]]
 +
  - name: extras
 +
    mountPath: /usr/share/extras
 +
    readOnly: true
  
  

Revision as of 10:42, 2 November 2022


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

Advertising: