concept
Overcommit and ephemeral storage
Calculate effective resource requests, reason about overcommit, and understand local ephemeral storage and extended-resource bounds.
Formal Syntax & Structure
kubernetes syntaxkubernetes
Overcommit and ephemeral storageWorking Example
Example Snippetkubernetes
apiVersion: v1kind: Podmetadata: name: catalog-cache namespace: resource-studyspec: automountServiceAccountToken: false restartPolicy: Never activeDeadlineSeconds: 120 securityContext: runAsNonRoot: true runAsUser: 10001 seccompProfile: type: RuntimeDefault containers: - name: cache image: example.invalid/bytemind/cache:offline resources: requests: cpu: 250m memory: 128Mi ephemeral-storage: 100Mi limits: cpu: 500m memory: 256Mi ephemeral-storage: 300Mi securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true capabilities: drop: [ALL] volumeMounts: - name: scratch mountPath: /scratch volumes: - name: scratch emptyDir: sizeLimit: 200Mi