command
module
Version:
v0.0.0-...-7e88508
Opens a new window with list of versions in this module.
Published: Dec 28, 2023
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
neon-re-terminator
algorithm
- get list of pods in a specific namespace (
default
by default) by label selector(neon/component=compute-node
by default)
- check if pod has
DeletionTimestamp
(meaning the pod in terminating
state)
- check if pod in terminating state longer than timeout (
30s
by default) or longer than .spec.terminationGracePeriodSeconds
- check if the
compute-node
container is already terminated (container status terminated
)
- if all confitions passed - force delete pod
usage
build
go build
get help
./neon-re-terminator -help
run in kuberntes cluster
kubectl apply -f manifests
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.