Creating two different pods with yaml file

Creating pod for nginx using yaml

apiVersion: v1
kind: Pod
metadata:
  name: nodehelloworld.example.com
  labels:
    app: helloworld
spec:
  containers:
  - name: devopsschool1
    image: scmgalaxy/nginx-devopsschoolv1
    ports:
    - name: nginx-port
      containerPort: 80

Creating pod for Mysql using yaml

apiVersion: v1
kind: Pod
metadata:
  name: abhi.example.com
  labels:
    app: helloworld
spec:
  containers:
- name: devopsschool2
    image: webimp/mysql-56-slim
    ports:
    - name: mysql-port
      containerPort: 3306