Double the killer, delete select all

When all else fails, we can always revert to basics. CC0 / Pexels courtesy of Pixabay

Strategy #1

Strategy #2

# it has always been my dream to just delete Kubernetes. I finally get to live it out.# for comparative purposes:$ time rm -rf kubernetesreal 0m1.177suser 0m0.118ssys 0m0.863s# now using a container filesystem:$ dd if=/dev/zero of=myfs count=10240000 bs=2048$ sudo mkdir /mnt/test$ sudo mkfs.ext4 /mnt/test$ sudo mount -o loop myfs /mnt/test$ sudo cp kubernetes /mnt/test -R$ sudo umount /mnt/test$ time rm -f myfsreal 0m0.379suser 0m0.000ssys 0m0.218s

Strategy #3

Actually deleting the thing

# # It’s totally random that I’m deleting kubernetes again. honest!# strace -c rm -rf kubernetes/% time seconds usecs/call calls errors syscall — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — 36.55 0.179019 6 28501 unlinkat14.97 0.073310 2 26376 fcntl12.46 0.061001 2 21107 fstat11.00 0.053855 3 15829 getdents6410.26 0.050264 3 16035 close8.64 0.042337 3 10766 8 openat5.65 0.027678 5 5278 lstat

Summary

--

--

--

A Gil, of all trades. DevOps roles are often called “a one man show”. As it turns out, I’m not a man and never was. Welcome to this one (trans) woman show.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Hackerrank-type coding question: balanced-string

Istio Service Mesh on Multi-Cluster Kubernetes Environment

Why Object Oriented Programming?

Car Object Model OOP

Lesser-Known Git Commands That Are Good to Know

The easy way to add license for C# application with Firebase-Realtime Database

Firebase — Realtime Database

A Beginner’s Guide To Web Development In Go Using The Martini Framework

How to customize permissions in Teams

Creating a dead simple CountDownLatch with ZIO

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gil Bahat (she/her)

Gil Bahat (she/her)

A Gil, of all trades. DevOps roles are often called “a one man show”. As it turns out, I’m not a man and never was. Welcome to this one (trans) woman show.

More from Medium

Is your code too complicated?

Let me help you organize your best Secret Santa ever

Bionitio | Software engineering template

Why You Should Learn How to Code — Regardless of Age