Get Kubernetes POD restart count with Python client
It takes some time to search right keywords.
#!/usr/bin/python3
import sys
from kubernetes import client, config
from kubernetes.client.api import core_v1_api
from kubernetes.client import configuration
def main():
config.load_kube_config("/ho...
cylee.hashnode.dev1 min read