Configuration class to show active host
This commit is contained in:
parent
4e535772a4
commit
c3f36bd54a
@ -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:")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user