This commit is contained in:
Marian Steinbach 2021-11-11 21:54:14 +01:00 committed by GitHub
commit 2520ead626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,11 @@ def main():
random.seed()
random.shuffle(jobs)
# TODO: change to work inside the cluster like shown in
# https://github.com/kubernetes-client/python/blob/master/examples/in_cluster_config.py#L55
#
kubernetes.config.load_kube_config(context='giantswarm-5jka7')
v1client = kubernetes.client.CoreV1Api()
k8sclient = kubernetes.client.ApiClient()