You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
619 B
31 lines
619 B
7 years ago
|
---
|
||
7 years ago
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: catalogue-db
|
||
|
labels:
|
||
|
name: catalogue-db
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
name: catalogue-db
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
name: catalogue-db
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: catalogue-db
|
||
|
image: weaveworksdemos/catalogue-db:0.3.0
|
||
|
env:
|
||
|
- name: MYSQL_ROOT_PASSWORD
|
||
|
value: fake_password
|
||
|
- name: MYSQL_DATABASE
|
||
|
value: socksdb
|
||
|
ports:
|
||
|
- name: mysql
|
||
|
containerPort: 3306
|
||
|
nodeSelector:
|
||
|
beta.kubernetes.io/os: linux
|