<div dir="ltr"><pre style="font-family:courier,"courier new",monospace;font-size:14px;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">Hello all,
I'm pleased to announce a new release of txkube, a Twisted-based library for interacting with Kubernetes using the HTTP API. The big news for this release is compatibility with Kubernetes 1.6 and an easier path to compatibility with future Kubernetes releases. This release also improves txkube's ability to authenticate against different Kubernetes configurations.</pre><pre style="word-wrap:break-word;margin-top:0px;margin-bottom:0px"><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;white-space:pre-wrap">
Here is an example of txkube usage, taken from the README:
from __future__ import print_function
from twisted.internet.task import react
from txkube import network_kubernetes_from_context
@react
def main(reactor):
k8s = network_kubernetes_from_context(reactor, u"minikube")
d = k8s.versioned_client()
d.addCallback(
lambda client: client.list(client.model.v1.Namespace)
)
d.addCallback(print)
return d
You can download txkube from PyPI <</span></font><a rel="nofollow" href="https://pypi.python.org/pypi" style="color:rgb(160,30,30);font-family:courier,"courier new",monospace;font-size:14px;white-space:pre-wrap">https://pypi.python.org/pypi</a><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;white-space:pre-wrap">>.
You can contribute to its development on GitHub <</span></font><a rel="nofollow" href="https://github.com/LeastAuthority/txkube" style="color:rgb(160,30,30);font-family:courier,"courier new",monospace;font-size:14px;white-space:pre-wrap">https://github.com/LeastAuthority/txkube</a><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;white-space:pre-wrap">>.
Thanks to Least Authority Enterprises <</span></font><a rel="nofollow" href="https://leastauthority.com/" style="color:rgb(160,30,30);font-family:courier,"courier new",monospace;font-size:14px;white-space:pre-wrap">https://leastauthority.com/</a><font color="#000000" face="courier, courier new, monospace"><span style="font-size:14px;white-space:pre-wrap">> for sponsoring this development.
Jean-Paul Calderone
</span></font><a rel="nofollow" href="http://as.ynchrono.us/" style="color:rgb(160,30,30);font-family:courier,"courier new",monospace;font-size:14px;white-space:pre-wrap">http://as.ynchrono.us/</a></pre></div>