You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
===== ERROR:
Exception RuntimeError: RuntimeError('cannot join current thread',) in <bound method ApiClient.del of <kubernetes.client.api_client.ApiClient object at 0x39cf8d0>> ignored
=================script=====================
#!/usr/bin/python
#coding=utf-8
from kubernetes import client, config
import urllib3
from pprint import pprint
#disable warnings
urllib3.disable_warnings()
===== ERROR:
Exception RuntimeError: RuntimeError('cannot join current thread',) in <bound method ApiClient.del of <kubernetes.client.api_client.ApiClient object at 0x39cf8d0>> ignored
=================script=====================
#!/usr/bin/python
#coding=utf-8
from kubernetes import client, config
import urllib3
from pprint import pprint
#disable warnings
urllib3.disable_warnings()
def kube_get_dep_list():
configuration = client.Configuration()
configuration.host = "https://192.168.0.33:6443"
configuration.verify_ssl = False
client.Configuration.set_default(configuration)
print("Listing deployment:")
k8s_beta = client.ExtensionsV1beta1Api()
resp = k8s_beta.list_deployment_for_all_namespaces(async=True)
pprint(resp.get())
kube_get_dep_list()
The text was updated successfully, but these errors were encountered: