Skip to content

Instantly share code, notes, and snippets.

View Dark-Kernel's full-sized avatar
🐧
You Never Know.

Sumit Patel Dark-Kernel

🐧
You Never Know.
View GitHub Profile
#!/bin/bash
# Perform a blue-green deployment in Kubernetes. Still not perfect, modify accordingly.
# check the pod readiness
check_readiness() {
local deployment=$1
local timeout=300
local interval=5
local elapsed=0

This is something cool