Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions kubernetes/pod/web.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
apiVersion: v1
kind: Pod
metadata:
name: aws-web
name: aws-web
spec:
containers:
- name: web
image: nginx
ports:
containers:
- name: web
containerPort: 80
protocol: tcp
volumeMounts:
image: nginx
ports:
- name: web
containerPort: 80
protocol: tcp
volumeMounts:
- name: html-volume
mountPath: "/usr/share/nginx/html"
securityContext:
allowPrivilegeEscalation: false
volumes:
- name: html-volume
mountPath: "/usr/share/nginx/html"
volumes:
- name: html-volume
awsElasticBlockStore:
# Enter the volume ID below
volumeID: volume_ID
fsType: ext4
awsElasticBlockStore:
# Enter the volume ID below
volumeID: volume_ID
fsType: ext4