Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pod.yml #4

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
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
16 changes: 3 additions & 13 deletions 1-Pods/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,10 @@
apiVersion: v1 #version of the API to use
kind: Pod #What kind of object we're deploying
metadata: #information about our object we're deploying
name: nginx-pod
name: php7.2-pod
spec: #specifications for our object
containers:
- name: nginx-container #the name of the container within the pod
image: nginx #which container image should be pulled
- name: php-container #the name of the container within the pod
image: yenaing/php72 #which container image should be pulled
ports:
- containerPort: 80 #the port of the container within the pod
apiVersion: v1 #version of the API to use
kind: Pod #What kind of object we're deploying
metadata: #information about our object we're deploying
name: nginx-pod
spec: #specifications for our object
containers:
- name: nginx-container #the name of the container within the pod
image: nginx #which container image should be pulled
ports:
- containerPort: 80 #the port of the container within the pod