Skip to content

Commit

Permalink
load_config log
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely committed Nov 26, 2023
1 parent 856cb80 commit eb73058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oc/od/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,11 +753,11 @@ def __init__(self):
# self.logger.debug( f"KUBERNETES_SERVICE_PORT={os.getenv('KUBERNETES_SERVICE_PORT')}" )
# self.logger.debug( f"KUBERNETES_SERVICE_PORT_HTTPS={os.getenv('KUBERNETES_SERVICE_PORT_HTTPS')}" )
config.load_incluster_config() # set up the client from within a k8s pod
self.logger.info( f"load_incluster_config done" )
self.logger.info( "load_incluster_config done" )
except Exception as e_in:
# self.logger.debug( f"ODOrchestratorKubernetes load_kube_config" )
# use KUBE_CONFIG_DEFAULT_LOCATION = os.environ.get('KUBECONFIG', '~/.kube/config')
self.logger.debug( f"ODOrchestratorKubernetes load_kube_config" )
self.logger.debug( "ODOrchestratorKubernetes load_kube_config" )
try:
config.load_kube_config()
self.logger.info( f"load_kube_config done" )
Expand Down

0 comments on commit eb73058

Please sign in to comment.