Kubernetes backup script
Looking for an automated way to backup Kubernete resources Generating .yaml export for each resource. This is still a work in progress…I need to:— evaluate and validate the exported yaml…
Looking for an automated way to backup Kubernete resources Generating .yaml export for each resource. This is still a work in progress…I need to:— evaluate and validate the exported yaml…
import argparse import os import sys def getFiles(_path,_ext,_debug): rtn_list = [] if (_debug > 0): print(f" getFiles({_path},{_ext},{_debug})") list_dir = os.listdir(_path) if not list_dir: print(" **getFiles returned nothing **") else: for…