Commit b26bebf0 authored by Ľuboslav Pivarč's avatar Ľuboslav Pivarč
Browse files

delete yaml/cbio-db (rs & service) duplicated (in API repo)

parent 858aa809
apiVersion: apps/v1
kind: ReplicaSet
metadata:
generateName: cbiodb
namespace: cbio-on-demand
annotations:
maintainer: Luboslav Pivarc <456130@muni.cz>
labels:
app: cbioDB
type: ondemand
spec:
replicas: 1
selector:
matchLabels:
app: cbioDB
type: ondemand
# generated by API by user id from request
#user: Luboslav
# generated by API unique for user
#instance: "1"
template:
metadata:
labels:
app: cbioDB
type: ondemand
# generated by API by user id from request
#user: Luboslav
# generated by API unique for user
#instance: "1"
spec:
containers:
- name: cbio
image: lpivo/cbiodb:v1
ports:
- name: mysql
containerPort: 3306
livenessProbe:
exec:
command:
- sh
- -c
- "mysqladmin ping -u cbio -pP@ssword1"
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 3
readinessProbe:
exec:
command:
- sh
- -c
- "mysqladmin ping -u cbio -pP@ssword1"
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 3
volumeMounts:
- name: config
mountPath: /etc/mysql/mysql.conf.d
subPath: mysql.conf.d
readOnly: true
envFrom:
- secretRef:
name: mysql-env
# we use 1 config for all on-demand databeses
volumes:
- name: config
configMap:
name: mysql-cbio-db
apiVersion: v1
kind: Service
metadata:
generateName: cbio-on-demand-db
namespace: cbio-on-demand
labels:
app: cbioDB
type: ondemand
# generated by API by user id from request
#user: Luboslav
# generated by API unique for user
#instance: "1"
annotations:
maintainer: Luboslav Pivarc <456130@muni.cz>
spec:
selector:
app: cbioDB
type: ondemand
# generated by API by user id from request
#user: Luboslav
# generated by API unique for user
#instance: "1"
ports:
- port: 3306
targetPort: mysql
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment