Skip to content

Commit

Permalink
Add Chapter 2 Lecture 4 files
Browse files Browse the repository at this point in the history
  • Loading branch information
timhberry committed Jul 25, 2019
1 parent 6b9eafa commit 6989543
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Chapter_Two/Lecture_4_Lab/multi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: v1
kind: Pod
metadata:
name: multi
spec:
volumes:
- name: shared-data
emptyDir: {}
containers:
- name: web-container
image: nginx
volumeMounts:
- name: shared-data
mountPath: /usr/share/nginx/html
- name: ftp-container
image: fauria/vsftpd
volumeMounts:
- name: shared-data
mountPath: /pod-data
env:
- name: FTP_USER
value: admin
- name: FTP_PASS
value: password
11 changes: 11 additions & 0 deletions Chapter_Two/Lecture_4_Lab/nginx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- name: web
containerPort: 80

0 comments on commit 6989543

Please sign in to comment.