conventions.io

Tech Challenge

2026-07-01

☸️

Daily Tech Challenge

Kubernetes

medium
Question 1 of 5

A container sets securityContext.readOnlyRootFilesystem: true, as shown. Its process needs to write temporary files to /tmp. What is the effect of this setting, and what must you add for the writes to succeed?

Example
containers:
- name: app
  image: myapp:1.0
  securityContext:
    readOnlyRootFilesystem: true
  volumeMounts:
  - name: scratch
    mountPath: /tmp
volumes:
- name: scratch
  emptyDir: {}

Wednesday, July 1, 2026 · A new challenge drops every day