Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cluster-02
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
K8S
cluster-02
Commits
5456f6d3
Verified
Commit
5456f6d3
authored
2 years ago
by
Rafael László
Browse files
Options
Downloads
Patches
Plain Diff
Add drbd multipath blacklist to kube nodes
parent
cfa72fa1
No related branches found
No related tags found
No related merge requests found
Pipeline
#42731
passed
2 years ago
Stage: plan
Stage: apply
Stage: ansible
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/kube/base.yaml
+13
-0
13 additions, 0 deletions
ansible/kube/base.yaml
ansible/kube/templates/etc/multipath/conf.d/drbd.conf
+3
-0
3 additions, 0 deletions
ansible/kube/templates/etc/multipath/conf.d/drbd.conf
with
16 additions
and
0 deletions
ansible/kube/base.yaml
+
13
−
0
View file @
5456f6d3
...
...
@@ -20,3 +20,16 @@
state
:
present
key
:
"
{{
item
}}"
loop
:
"
{{
ssh_keys
}}"
-
name
:
Ensure /etc/multipathfolder exists
file
:
path
:
/etc/multipath
state
:
directory
-
name
:
Ensure /etc/multipath/conf.d folder exists
file
:
path
:
/etc/multipath/conf.d
state
:
directory
-
name
:
Blacklist multipath for drbd
template
:
src
:
etc/multipath/conf.d/drbd.conf
dest
:
/etc/multipath/conf.d/drbd.conf
mode
:
0644
This diff is collapsed.
Click to expand it.
ansible/kube/templates/etc/multipath/conf.d/drbd.conf
0 → 100644
+
3
−
0
View file @
5456f6d3
blacklist
{
devnode
"^drbd[0-9]+"
}
\ No newline at end of file
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