2026-07-23 22:00:10 +02:00

20 lines
342 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: test
namespace: test
labels:
app.kubernetes.io/name: test
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
volumeMounts:
- name: webpage
mountPath: /usr/share/nginx/html
volumes:
- name: webpage
configMap:
name: test-cm