mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-25 12:17:52 +00:00
Initial add of a walkthrough of basic Kubernetes concepts.
This commit is contained in:
18
examples/walkthrough/pod2.yaml
Normal file
18
examples/walkthrough/pod2.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1beta1
|
||||
id: storage
|
||||
desiredState:
|
||||
manifest:
|
||||
version: v1beta1
|
||||
id: storage
|
||||
containers:
|
||||
- name: redis
|
||||
image: dockerfile/redis
|
||||
volumeMounts:
|
||||
# name must match the volume name below
|
||||
- name: redis-persistent-storage
|
||||
# mount path within the container
|
||||
mountPath: /data/redis
|
||||
volumes:
|
||||
- name: redis-persistent-storage
|
||||
source:
|
||||
emptyDir: {}
|
Reference in New Issue
Block a user