r/devops • • Oct 07 '20

Minecraft as a kubernetes admin tool

I wrote a little tool that allows you to admin your k8s cluster through minecraft. Pigs are pods, chickens are services, cows are RSs and horses are deployments. Killing an animal in the game will be reflected by killing the corresponding resource in your cluster.

Enjoy! Video and github are linked from article. https://medium.com/@eric.jadi/minecraft-as-a-k8s-admin-tool-cf16f890de42

700 Upvotes

42 comments sorted by

86

u/Venthe DevOps (Software Developer) Oct 08 '20

And you introduce chaos testing by TNT?

20

u/isseki Oct 08 '20

Actually I just tried it out and it does work :) Be careful blowing up your kube-system namespace tho...

30

u/knightress_oxhide Oct 08 '20

Creepers obviously

14

u/[deleted] Oct 08 '20

This guy dungeons

6

u/stevefan1999 Oct 08 '20

well, if you do spawn a wither then its true chaos

47

u/turkeh A little bit of this. A little bit of that. Oct 08 '20

This is absolutely outrageous and I'm all for it.

71

u/yaw130 Oct 08 '20

Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should

12

u/[deleted] Oct 08 '20

Companies began to wonder why they'd not switched to the live stock model of microservices long ago, as rural tech began to take over silicon valley. The farmers of South Carolina thrived.

10

u/about3fitty Oct 08 '20

Remember your resources are cattle, not pets

4

u/[deleted] Oct 08 '20 edited Aug 19 '26

Sparkle seed groovy boat numerous quaint door cable knee offer

This post was anonymized with Redact

30

u/burajin Oct 08 '20

Taking "pets vs cattle" quite literally I see

29

u/kat029 Oct 08 '20

Can we make an entire OS with minecraft next?

10

u/phazer193 Oct 08 '20

The guy that made an entire working version of pokemon from logic gates isn't far away.

10

u/dreamssmelllikeyou Oct 08 '20

I'll have you know, "From NAND to Tetris" is an actual book/university course. Really makes one appreciate the power of abstraction

14

u/bog_deavil13 Oct 08 '20

Now make the server public

14

u/jantari Oct 08 '20

And the k8s deployment runs the minecraft server!

12

u/libertyprivate Oct 08 '20

As the ender dragon!

4

u/odinti Oct 08 '20

Getting Sword Art Online vibes here

10

u/Jake_Harris Oct 08 '20

You monster. You brilliant monster.

9

u/MCShoveled Oct 08 '20

It’s all fun and games until a pig gets struck by lightning 😂

8

u/wittyaccountname123 Oct 08 '20

Hah, this is great. Reminds me of psDooM

12

u/0xnld Oct 08 '20

KubeDoom is also a thing.

5

u/Gr1pp717 Oct 08 '20

People used to make full blow games in excel to get around corporate restrictions. Now? They turn real games into corporate tools..

3

u/menge101 Oct 08 '20

This reminds me of a process manager that was implemented in Doom back in the day.

Ha, I was able to find it.

Edit - And apparently i'm not the first to think of it.

2

u/razentine Oct 08 '20

Wow man. Love that animated temrinal background. Anyone have a clue how to get something like that working for ITerm2?

2

u/PenguinSunrise Oct 08 '20

You should make it so when animals in MC reproduce it scales out k8s. And thus skynet was born.

2

u/stuntmannik Oct 08 '20

Dangerous man you are. Thank you!

2

u/RealestJi Oct 08 '20

Holy Cow. This is seriously very impressive!

2

u/defiantstyles Oct 08 '20

In another few years, someone will find a way to run this on a redstone computer

2

u/loogle13 Oct 08 '20

This is so ridiculous I love it

3

u/Kra013 Oct 08 '20

This is gamification ! Nice work, it remember me an experiment with opengl and firewalls.

1

u/sf49erfan Oct 08 '20

This is 👍

1

u/_ante Oct 08 '20

This legend just discover a way to play minecraft and not get fired. Lmao

1

u/about3fitty Oct 08 '20

Great work! Reminds me of the guy who allowed you to kill running processes by blasting them in Doom

1

u/MCShoveled Oct 08 '20

So if you put lava down does that just keep killing the chickens 🤔

1

u/blakewantsa68 Oct 08 '20

I love this....

1

u/Willyis40 Oct 09 '20

This is awesome man. I love tools that have no real purpose but are just so fun to play around with. Looking forward to any future projects you do!

1

u/hijinked Oct 09 '20

This is absolutely ridiculous and completely amazing.

1

u/FurryTreeSounds Oct 09 '20

Crazy and funny. I watched Tron Legacy a few weeks ago and this video reminds me of that.

1

u/roadwaywarrior Nov 24 '22

!remindme 2 days

1

u/RemindMeBot Nov 24 '22

I will be messaging you in 2 days on 2022-11-26 03:17:18 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback