Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a204fa + c3f36bd commit 8845beeCopy full SHA for 8845bee
examples/example3.py
@@ -22,7 +22,7 @@ def main():
22
config.load_kube_config()
23
24
print("Supported APIs (* is preferred version):")
25
- print("%-20s %s" %
+ print("%-40s %s" %
26
("core", ",".join(client.CoreApi().get_api_versions().versions)))
27
for api in client.ApisApi().get_api_versions().groups:
28
versions = []
examples/example4.py
@@ -32,7 +32,7 @@ def main():
32
# utility
33
config.load_kube_config(context=option)
34
35
- print("Active host is %s" % configuration.host)
+ print("Active host is %s" % configuration.Configuration().host)
36
37
v1 = client.CoreV1Api()
38
print("Listing pods with their IPs:")
0 commit comments