Skip to content

Ottovsky/keep-open-deleted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple program to check if the issue 83107 can cause a k8s worker to fail.

Compile with

CGO_ENABLED=0 go build -a -ldflags '-extldflags "-static"' -o keepopendeleted  main.go

Docker image available at:

docker pull ottovsky/keepopendeleted

Run in k8s with:

kubectl create deployment keepopendeleted --image=ottovsky/keepopendeleted

Run only in the sandbox environment!

Result:

Pods are randomly evicted from the node: alt text