paint-brush
Handling an Ungraceful Service in Kubernetes by Bashby@kavehmz

Handling an Ungraceful Service in Kubernetes by Bash

by Kaveh Mousavi Zamani3mSeptember 21st, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Kubernetes has several mechanisms to check if your app is able to handle connections and in return if it wants to kill you app (scale down, or end of life for your preemptible/spot-instance node,… it will signal your app to wrap up and shutdown. If your server does not handle shutdowns gracefully or it is not adjustable in ways you need to make it work in k8s (shutdown delay, …), notice you can always wrap it with bash.
featured image - Handling an Ungraceful Service in Kubernetes by Bash
Kaveh Mousavi Zamani HackerNoon profile picture
Kaveh Mousavi Zamani

Kaveh Mousavi Zamani

@kavehmz

A binary world janitor. Specialized in code, architecture cleanup and cost reduction

About @kavehmz
LEARN MORE ABOUT @KAVEHMZ'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Kaveh Mousavi Zamani HackerNoon profile picture
Kaveh Mousavi Zamani@kavehmz
A binary world janitor. Specialized in code, architecture cleanup and cost reduction

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here