Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
europdx
k8s
cbio-on-demand
Kubernetes-Docker
Commits
b26bebf0
Commit
b26bebf0
authored
Jul 30, 2019
by
Ľuboslav Pivarč
Browse files
delete yaml/cbio-db (rs & service) duplicated (in API repo)
parent
858aa809
Changes
2
Hide whitespace changes
Inline
Side-by-side
yaml/cbio-db/cbiodb-replicaset.yml
deleted
100644 → 0
View file @
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
yaml/cbio-db/cbiodb-service.yml
deleted
100644 → 0
View file @
858aa809
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment