Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
europdx
k8s
cbio-on-demand
API
Commits
dbc1bcc8
Commit
dbc1bcc8
authored
5 years ago
by
Ľuboslav Pivarč
Browse files
Options
Downloads
Patches
Plain Diff
Node affinity & tolerations for API
parent
6d258fb1
No related branches found
No related tags found
2 merge requests
!10
Time refactor
,
!8
New Cluster
Pipeline
#23701
failed
5 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
k8s/deployment.yml
+18
-0
18 additions, 0 deletions
k8s/deployment.yml
with
18 additions
and
0 deletions
k8s/deployment.yml
+
18
−
0
View file @
dbc1bcc8
...
@@ -21,6 +21,24 @@ spec:
...
@@ -21,6 +21,24 @@ spec:
app
:
cbio-api
app
:
cbio-api
type
:
ondemand
type
:
ondemand
spec
:
spec
:
tolerations
:
-
effect
:
NoSchedule
key
:
node-role.kubernetes.io
operator
:
Equal
value
:
controlplane
effect
:
NoExecute
key
:
node-role.kubernetes.io
operator
:
Equal
value
:
etcd
affinity
:
nodeAffinity
:
requiredDuringSchedulingIgnoredDuringExecution
:
nodeSelectorTerms
:
-
matchExpressions
:
-
key: node-role.kubernetes.io/controlplane
:
operator
:
In
values
:
-
true
serviceAccountName
:
cbio-api
serviceAccountName
:
cbio-api
imagePullSecrets
:
imagePullSecrets
:
-
name
:
temporary
-
name
:
temporary
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment