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
API
Commits
8da3f493
Commit
8da3f493
authored
Aug 21, 2019
by
Ľuboslav Pivarč
Browse files
Merge branch 'dev' into 'beta'
Dev See merge request
!6
parents
5fcc34b4
e00da039
Pipeline
#22665
passed with stages
in 15 minutes and 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cbioondemandK8S/src/main/java/cz/muni/ics/edirex/cbioondemandK8S/service/KubernetesImpl.java
View file @
8da3f493
...
...
@@ -37,14 +37,14 @@ public class KubernetesImpl implements CBioOnDemandService {
private
V1beta1CronJob
cronJob
;
private
IdentifierCRD
identifier
;
@Value
(
"${namespace:cbio-on-demand}"
)
private
final
String
NAMESPACE
=
"cbio-on-demand"
;
private
final
String
NAMESPACE
;
private
final
String
APP_LABELS
=
"app=cbio, type=ondemand"
;
private
final
String
DB_LABELS
=
"app=cbioDB, type=ondemand"
;
public
KubernetesImpl
(
KubernetesCalls
api
,
RoutingAAI
routing
)
throws
IOException
{
public
KubernetesImpl
(
KubernetesCalls
api
,
RoutingAAI
routing
,
@Value
(
"${namespace:cbio-on-demand}"
)
String
namespace
)
throws
IOException
{
this
.
api
=
api
;
this
.
routing
=
routing
;
NAMESPACE
=
namespace
;
cronJob
=
(
V1beta1CronJob
)
Utils
.
getConfigurationFromYaml
(
"deletecronjob.yml"
);
cbioService
=
(
V1Service
)
Utils
.
getConfigurationFromYaml
(
"cbio-service.yml"
);
cbioReplicaSet
=
(
V1ReplicaSet
)
Utils
.
getConfigurationFromYaml
(
"cbio-replicaset.yml"
);
...
...
k8s/deployment.yml
View file @
8da3f493
...
...
@@ -21,6 +21,7 @@ spec:
app
:
cbio-api
type
:
ondemand
spec
:
serviceAccountName
:
cbio-api
imagePullSecrets
:
-
name
:
temporary
containers
:
...
...
Write
Preview
Markdown
is supported
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