BCDevOps / developer-experience

This repository is used to track all work for the BCGov Platform Services Team (This includes work for: 1. Platform Experience, 2. Developer Experience 3. Platform Operations/OCP 3)
Apache License 2.0
8 stars 17 forks source link

201 content addition - delete a stuck pod #2997

Open mtspn opened 2 years ago

mtspn commented 2 years ago

Describe the issue Add explanation of how to delete/kill a pod stuck in the terminating state to 201 training

Additional context Redhat doc sugested by Jason: https://access.redhat.com/solutions/2317401

How does this benefit the users of our platform? Adds an additional skill to training

Definition of done References to killing a stuck pod using --force

StevenBarre commented 2 years ago

As noted in https://stackoverflow.developer.gov.bc.ca/questions/74/75#comment17_75 --force is a big hammer and should be used sparingly. Especially on things that are not pods. Please emphasize that if someone is force killing stuff every day they should investigate WHY its getting so stuck.