Repository navigation
Removing dependency on the extra storage device. - #6888
Conversation
f3da506 to
48d3511
Compare
48d3511 to
bf443f6
Compare
| CONTAINER_ROOT_LV_SIZE="{{ docker_storage_setup_options.root_lv_size }}" | ||
| CONTAINER_ROOT_LV_MOUNT_PATH="{{ docker_storage_setup_options.root_lv_mount_path }}" | ||
| {% else %} | ||
| STORAGE_DRIVER="{{ docker_storage_setup_options.storage_driver }}" |
There was a problem hiding this comment.
Doesn't storage driver have to be empty here to tell docker storage setup to do nothing? Or will it do the correct thing otherwise?
There was a problem hiding this comment.
I'm not 100% sure. If you'd prefer to leave out the STORAGE_DRIVER option we can try.
I tested with a single drive in AWS and set the following inventory variables:
container_runtime_docker_storage_type: overlay2
container_runtime_docker_storage_setup_device: ''
This produced the following docker-storage-setup file:
STORAGE_DRIVER="overlay2"
EXTRA_STORAGE_OPTIONS="--storage-opt overlay2.override_kernel_check=true --graph=/var/lib/docker"
Here is the docker info output:
[root@ip-172-31-58-161 ~]# docker info | grep overlay
Storage Driver: overlay2
Network: host bridge null overlay
|
Tested on GCP in both configurations (device and overlay) and both worked correctly for me. /lgtm |
|
/retest |
|
Unblocks the flakes in the queues |
|
/test all [submit-queue is verifying that this PR is safe to merge] |
|
Automatic merge from submit-queue. |
|
@kwoodson: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
This pull request addresses the need to have configure docker storage to overlay without an extra drive.