Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
f7d52564
Unverified
Commit
f7d52564
authored
7 years ago
by
Chad Swenson
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #2084 from riverzhang/devicemapper
Fix can not use devicemapper driver
parents
f7e8d114
3993e123
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/docker/docker-storage/defaults/main.yml
+3
-0
3 additions, 0 deletions
roles/docker/docker-storage/defaults/main.yml
roles/docker/docker-storage/tasks/main.yml
+6
-0
6 additions, 0 deletions
roles/docker/docker-storage/tasks/main.yml
with
9 additions
and
0 deletions
roles/docker/docker-storage/defaults/main.yml
+
3
−
0
View file @
f7d52564
...
@@ -3,6 +3,9 @@ docker_container_storage_setup_version: v0.6.0
...
@@ -3,6 +3,9 @@ docker_container_storage_setup_version: v0.6.0
docker_container_storage_setup_profile_name
:
kubespray
docker_container_storage_setup_profile_name
:
kubespray
docker_container_storage_setup_storage_driver
:
devicemapper
docker_container_storage_setup_storage_driver
:
devicemapper
docker_container_storage_setup_container_thinpool
:
docker-pool
docker_container_storage_setup_container_thinpool
:
docker-pool
#It must be define a disk path for docker_container_storage_setup_devs.
#Otherwise docker-storage-setup will be executed incorrectly.
#docker_container_storage_setup_devs: /dev/vdb
docker_container_storage_setup_data_size
:
40%FREE
docker_container_storage_setup_data_size
:
40%FREE
docker_container_storage_setup_min_data_size
:
2G
docker_container_storage_setup_min_data_size
:
2G
docker_container_storage_setup_chunk_size
:
512K
docker_container_storage_setup_chunk_size
:
512K
...
...
This diff is collapsed.
Click to expand it.
roles/docker/docker-storage/tasks/main.yml
+
6
−
0
View file @
f7d52564
...
@@ -31,6 +31,12 @@
...
@@ -31,6 +31,12 @@
group
:
root
group
:
root
mode
:
0644
mode
:
0644
#https://docs.docker.com/engine/installation/linux/docker-ce/centos/#install-using-the-repository
-
name
:
docker-storage-setup | install lvm2
yum
:
name
:
lvm2
state
:
present
-
name
:
docker-storage-setup | install and run container-storage-setup
-
name
:
docker-storage-setup | install and run container-storage-setup
become
:
yes
become
:
yes
script
:
install_container_storage_setup.sh {{ docker_container_storage_setup_version }} {{ docker_container_storage_setup_profile_name }}
script
:
install_container_storage_setup.sh {{ docker_container_storage_setup_version }} {{ docker_container_storage_setup_profile_name }}
...
...
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