Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Mizu
Commits
1760afda
Unverified
Commit
1760afda
authored
3 years ago
by
gadotroee
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add tolerations to api server pod (#1035)
parent
522e2cc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shared/kubernetes/provider.go
+10
-0
shared/kubernetes/provider.go
with
10 additions
and
0 deletions
+10
-0
shared/kubernetes/provider.go
+
10
-
0
View file @
1760afda
...
...
@@ -392,6 +392,16 @@ func (provider *Provider) GetMizuApiServerPodObject(opts *ApiServerOptions, moun
Volumes
:
volumes
,
DNSPolicy
:
core
.
DNSClusterFirstWithHostNet
,
TerminationGracePeriodSeconds
:
new
(
int64
),
Tolerations
:
[]
core
.
Toleration
{
{
Operator
:
core
.
TolerationOpExists
,
Effect
:
core
.
TaintEffectNoExecute
,
},
{
Operator
:
core
.
TolerationOpExists
,
Effect
:
core
.
TaintEffectNoSchedule
,
},
},
},
}
...
...
This diff is collapsed.
Click to expand it.
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