c87a30450a
1. Confirm the document content is similar as en version.
2. Merge the zh release-1.14 version into 1.15 version
3. add the 1.14 all sample into 1.15 for template work. The build looks fine.
- docs
- concepts
- architecture
28 lines
499 B
YAML
28 lines
499 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: two-containers
|
|
spec:
|
|
|
|
restartPolicy: Never
|
|
|
|
volumes:
|
|
- name: shared-data
|
|
emptyDir: {}
|
|
|
|
containers:
|
|
|
|
- name: nginx-container
|
|
image: nginx
|
|
volumeMounts:
|
|
- name: shared-data
|
|
mountPath: /usr/share/nginx/html
|
|
|
|
- name: debian-container
|
|
image: debian
|
|
volumeMounts:
|
|
- name: shared-data
|
|
mountPath: /pod-data
|
|
command: ["/bin/sh"]
|
|
args: ["-c", "echo Hello from the debian container > /pod-data/index.html"]
|