Pods-adding two containers

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now
apiVersion: v1
kind: Pod
metadata:
  name: nodehelloworld.example.com
  labels:
    app: helloworld
    server: abhishek
spec:
  containers:
  - name: abhishek
    image: scmgalaxy/nginx-devopsschoolv1
    ports:
    - name:nginx-port
      containerPort: 80
  - name: abhishek1
    image: webimp/mysql-56-slim
    ports:
    - name: mysql- port
      containerPort: 3306