Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decommission containers hosted on x64 equinix dockerhost machines #3412

Closed
Haroon-Khel opened this issue Feb 22, 2024 · 5 comments
Closed

Decommission containers hosted on x64 equinix dockerhost machines #3412

Haroon-Khel opened this issue Feb 22, 2024 · 5 comments

Comments

@Haroon-Khel
Copy link
Contributor

Haroon-Khel commented Feb 22, 2024

ref #3378 (comment)

With the x64 equinix dockerhost machines being replaced by skytap machines we need to begin to decommission the jenkins nodes of the containers hosted on the equinix machines.

🛑 = marked offline in jenkins
✅ = decommissioned

    {
        "name": "dockerhost-equinix-ubuntu2204-x64-1",
        "ip": "145.40.113.173",
        "containers": [
            "test-docker-alpine314-x64-2", 🛑 
            "test-docker-alpine317-x64-2", 🛑 
            "test-docker-centos8-x64-2",
            "test-docker-debian11-x64-2", 🛑 
            "test-docker-fedora35-x64-2", 🛑 
            "test-docker-fedora37-x64-2",
            "test-docker-ubi8-x64-2", 🛑 
            "test-docker-ubuntu2004-x64-2",
            "test-docker-ubuntu2204-x64-2"
        ],
        "containersCount": 9
    }
    {
        "name": "dockerhost-equinix-ubuntu2004-x64-1",
        "ip": "145.40.114.58",
        "containers": [
            "test-docker-alpine314-x64-1",
            "test-docker-alpine317-x64-1",
            "test-docker-centos8-x64-1",
            "test-docker-debian11-x64-1", 🛑 
            "test-docker-fedora35-x64-1",
            "test-docker-fedora37-x64-1",
            "test-docker-fedora37-x64-3",
            "test-docker-ubi8-x64-1",
            "test-docker-ubuntu2004-x64-1",
            "test-docker-ubuntu2204-x64-1", 🛑 
            "test-docker-ubuntu2204-x64-3" 🛑 
        ],
        "containersCount": 11
    }

At the same time we need to increase the number of containers on the skytap replacements

    {
        "name": "dockerhost-skytap-ubuntu2204-x64-1",
        "ip": "20.61.136.254",
        "containers": [
            "test-docker-debian12-x64-1", 
            "test-docker-fedora39-x64-1", 
            "test-docker-ubuntu2204-x64-4", 
            "test-docker-ubuntu2204-x64-5" 
        ],
        "containersCount": 4
    }

Second x64 skytap replacement machine is almost ready #3378

@Haroon-Khel
Copy link
Contributor Author

@sxa Regarding dockerhost-skytap-ubuntu2204-x64-1, 20.61.136.254, the disk space allocated for docker might be too small to accommodate enough containers to replace the equinix dockerhosts

├─sdb2                8:18   0   135G  0 part /var/lib/docker
└─sdb3                8:19   0   105G  0 part /home/jenkins

For reference, both of the equinix dockerhosts have ~800g disks mapped to /var/lib/docker. Could the skytap disks be increased to 400g?

@sxa
Copy link
Member

sxa commented Feb 27, 2024

@sxa Regarding dockerhost-skytap-ubuntu2204-x64-1, 20.61.136.254, the disk space allocated for docker might be too small to accommodate enough containers to replace the equinix dockerhosts

├─sdb2                8:18   0   135G  0 part /var/lib/docker
└─sdb3                8:19   0   105G  0 part /home/jenkins

For reference, both of the equinix dockerhosts have ~800g disks mapped to /var/lib/docker. Could the skytap disks be increased to 400g?

You have the same access to the skytap console that I do so feel free to do what is needed :-)

However bear in mind that the specification of the machine in terms of CPU and RAM does not match the Equinix ones, so we need to be mindful of exactly how many images we can have on each system. Do you have a feel for what the disk requirements are for a test image? I would not expect each to use more than around 10GB while running a test (I don't recall what Nagios was set to alert at) but that would mean that even with 10 images there should still be a good amount of headroom with a 130Gb /var/lib/docker.

There are a couple of wayland images on there using 10Gb which can be removed.

@sxa
Copy link
Member

sxa commented Feb 28, 2024

Related (It's causing leakage of space): #3416

@sxa
Copy link
Member

sxa commented Apr 4, 2024

Closing this as the host machines have been decommissioned now

@sxa sxa closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants