question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

describe configmap Exception

See original GitHub issue

Typing the following in the kube-shell followed by a space produces an error (provided at the end of the report)

kubectl describe configmap

kube-shell> kubectl describe configmap Exception in thread Thread-73:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_r
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Users/user/.pyenv/versions/kube-shell/lib/python2.7/site-packages/prompt_toolkit/interface.py", line 860, in n
    completions = list(buffer.completer.get_completions(document, complete_event))
  File "/Users/user/.pyenv/versions/kube-shell/lib/python2.7/site-packages/kubeshell/completer.py", line 246, in get_cs
    resources = self.get_resources(arg, namespace)
  File "/Users/user/.pyenv/versions/kube-shell/lib/python2.7/site-packages/kubeshell/completer.py", line 325, in get_rs
    ret = v1.list_config_map_for_all_namespaces(watch=False)
  File "/Users/user/.pyenv/versions/kube-shell/lib/python2.7/site-packages/kubernetes/client/apis/core_v1_api.py", lins
    (data) = self.list_config_map_for_all_namespaces_with_http_info(**kwargs)
  File "/Users/user/.pyenv/versions/kube-shell/lib/python2.7/site-packages/kubernetes/client/apis/core_v1_api.py", lino
    collection_formats=collection_formats)
  File "/Users/user/.pyenv/versions/kube-shell/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 329,i
    _return_http_data_only, collection_formats, _preload_content, _request_timeout)
  File "/Users/user/.pyenv/versions/kube-shell/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 153,i
    _request_timeout=_request_timeout)
  File "/Users/user/.pyenv/versions/kube-shell/lib/python2.7/site-packages/kubernetes/client/api_client.py", line 361,t
    headers=headers)
  File "/Users/user/.pyenv/versions/kube-shell/lib/python2.7/site-packages/kubernetes/client/rest.py", line 240, in GET
    query_params=query_params)
  File "/Users/user/.pyenv/versions/kube-shell/lib/python2.7/site-packages/kubernetes/client/rest.py", line 217, in ret
    raise ApiException(status=0, reason=msg)
ApiException: (0)
Reason: SSLError
[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
tedwarddcommented, Jul 11, 2017

@vogxn I’m connecting over HTTPS but I have insecure-skip-tls-verify: true set in $HOME/.kube/config due to our use of a self signed cert for the cluster controllers at this time. This will change in the future as we have plans to put the 5 controller nodes behind a load balancer and use our “real” certificate. Until then I’m connecting directly to node1 in the cluster which has a self signed cert:

clusters:
- cluster:
  insecure-skip-tls-verify: true
  server: https://node1.cluster1.my-domain.com
name: cluster1.prod

I have confirmed that setting urllib3.disable_warnings() as you did suppresses the warning.

0reactions
vogxncommented, Jul 11, 2017

A new release is pushed to pypi with version 0.0.21. An upgrade should fix this issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

2. ConfigMap PropertySource - Spring Cloud
ConfigMap PropertySource. Kubernetes provides a resource named ConfigMap to externalize the parameters to pass to your application in the form of key-value ...
Read more >
ConfigMaps - Kubernetes
A ConfigMap allows you to decouple environment-specific configuration from your container images, so that your applications are easily portable.
Read more >
Cannot read configmap with name: [xx] in namespace ['default ...
Trying to read values from profile based config map. My configmap exists in default namespace. But, spring boot is not pickingup the values....
Read more >
Configure agent data collection for Container insights
This article describes how you can configure the Container insights agent to control stdout/stderr and environment variables log collection.
Read more >
Hot Reloading of ConfigMaps Spring Cloud Kubernetes Demo
Check out my Kubernetes training course at https://www.udemy.com/kubernetes-microservices/?couponCode=RCK8S_YTThe two files needed for the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found