Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from kubernetes import client, config
# Setup the client for E2E Tests
def k8s_client():
# Configuration for accessing the K8s Cluster
# Create and return an instance of the CoreV1Api class
return client.CoreV1Api()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment