Skip to content
This repository was archived by the owner on Dec 1, 2022. It is now read-only.

Commit 860c720

Browse files
committed
Add examples.
1 parent c9d3154 commit 860c720

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed

examples/container/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM scratch
2+
ADD index.html

examples/container/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Example Website HERE

examples/pod.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: test
5+
spec:
6+
containers:
7+
- name: main
8+
image: nginx
9+
volumeMounts:
10+
- name: data
11+
mountPath: /var/www/html
12+
volumes:
13+
- name: data
14+
csi:
15+
driver: image.csi.k8s.io
16+
volumeAttributes:
17+
# Specify your image here. busybox used just as a placeholder, not
18+
# because its a good idea. See the container folder for a better
19+
# example.
20+
image: busybox

0 commit comments

Comments
 (0)