Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Arvinhub/client-python

 
 

Repository files navigation

Kubernetes Python Client

Python clients for talking to a kubernetes cluster.

Example

from __future__ import absolute_import

import k8sclient
import os

v1=k8sclient.CoreV1Api()
print "Listing pods with their IPs:"
ret = v1.list_pod_for_all_namespaces(watch=False)
for i in ret.items:
  print "%s\t%s\t%s" % (i.status.pod_ip, i.metadata.namespace, i.metadata.name)

Generated client README

for generated client documentation, refer to generated README.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%