apiVersion: v1
kind: Pod
metadata:
  name: mysql
  labels:
    tier: backend
  annotations:
    mysql/annotation: "yes"
spec:
  initContainers:
    - name: busybox
      image: busybox:latest
      command:
        - /bin/sh
  containers:
    - name: mysql
      image: mysql:5.7
      ports:
        - name: mysql
          protocol: TCP
          containerPort: 3306
        - name: mysql-alt
          protocol: TCP
          containerPort: 3307
      env:
        - name: MYSQL_ROOT_PASSWORD
          value: test
