Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/docker-archive/ip-util-check
:white_check_mark: Docker IP Utilization Check Script
https://github.com/docker-archive/ip-util-check
Last synced: 6 days ago
JSON representation
:white_check_mark: Docker IP Utilization Check Script
- Host: GitHub
- URL: https://github.com/docker-archive/ip-util-check
- Owner: docker-archive
- Archived: true
- Fork: true (ctelfer/docker-ip-util-check)
- Created: 2018-11-01T22:56:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-21T18:29:19.000Z (over 2 years ago)
- Last Synced: 2024-08-01T19:51:38.934Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 11
- Watchers: 6
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Docker IP Utilization Check Script
==================================This script scans the Docker overlay networks in a swarm and attempts to
determine whether the network has available capacity in its IP address
subnet ranges to upgrade to an 18.06 version of the docker engine from
an older version of the engine. (However, as it turns out the 18.03
version of the engine has a one-time fix that will prevent issues
upgrading to 18.06 or later.) The reason that such an upgrade may not
be seemless is that the 18.06 engine introduced a scalability
improvement to Docker load balancing that requires allocating an
additional IP address per node in the docker cluster that attaches to
the overlay network.The script flags several potential conditions for each overlay:
* IP address space is already completely exhausted
* IP address space will be over capacity if upgrading to Docker engine
18.06 or late
* IP address space *could* become exhausted in the overlay if the
cluster size scales up to a certain number of nodes
* IP address space is allocated to > 80% capacityBuilding the Container
======================
docker image build -t docker/ip-util-check .Running the Container
=====================docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock \
docker/ip-util-check