Configuration class to show active host

This commit is contained in:
hajowieland 2019-06-01 14:05:01 +02:00
parent 4e535772a4
commit c3f36bd54a

View File

@ -32,7 +32,7 @@ def main():
# utility
config.load_kube_config(context=option)
print("Active host is %s" % configuration.host)
print("Active host is %s" % configuration.Configuration().host)
v1 = client.CoreV1Api()
print("Listing pods with their IPs:")