Git Product home page Git Product logo

netscaler-endpoint-controller's People

Contributors

jaapgorjup avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

netscaler-endpoint-controller's Issues

Fix KubeConfig reader and set to clusterwide mode explicitly

Following info/error messages in the log

/usr/local/lib/python3.7/site-packages/kopf/reactor/running.py:170: FutureWarning: Absence of either namespaces or cluster-wide flag will become an error soon. For now, switching to the cluster-wide mode for backward compatibility.
4/8/2021 11:53:34 PM   FutureWarning)

Seems Pykube interface has changed:

[2021-04-08 22:01:35,187] kopf.objects         [ERROR   ] [ink8sfnode01] Handler 'my_update_handler' failed with an exception. Will retry.
4/9/2021 12:01:35 AM Traceback (most recent call last):
4/9/2021 12:01:35 AM   File "/usr/local/lib/python3.7/site-packages/kopf/reactor/handling.py", line 274, in execute_handler_once
4/9/2021 12:01:35 AM     subrefs=subrefs,
4/9/2021 12:01:35 AM   File "/usr/local/lib/python3.7/site-packages/kopf/reactor/handling.py", line 374, in invoke_handler
4/9/2021 12:01:35 AM     **kwargs,
4/9/2021 12:01:35 AM   File "/usr/local/lib/python3.7/site-packages/kopf/reactor/invocation.py", line 151, in invoke
4/9/2021 12:01:35 AM     await asyncio.shield(future)  # slightly expensive: creates tasks
4/9/2021 12:01:35 AM   File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
4/9/2021 12:01:35 AM     result = self.fn(*self.args, **self.kwargs)
4/9/2021 12:01:35 AM   File "/app/handler.py", line 50, in my_update_handler
4/9/2021 12:01:35 AM     update_netscaler()
4/9/2021 12:01:35 AM   File "/app/handler.py", line 66, in update_netscaler
4/9/2021 12:01:35 AM     pykube.KubeConfig.from_env(), verify=K8S_SSL_VERIFY)
4/9/2021 12:01:35 AM AttributeError: type object 'KubeConfig' has no attribute 'from_env'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.