Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: mysql
spec:
template:
metadata:
labels:
app: mysql
spec:
containers:
- env:
- name: MYSQL_DATABASE
value: admin
- name: MYSQL_ROOT_PASSWORD
value: admin
image: 'mysql:latest'
name: mysql
ports:
- name: mysqlport
containerPort: 3306
protocol: TCP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.