Created
May 18, 2021 08:52
-
-
Save mvidalgarcia/c0a8663e482fda97e3529be587aa6602 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kubernetes import client | |
from kubernetes import config as k8s_config | |
k8s_config.load_incluster_config() | |
api_configuration = client.Configuration() | |
api_configuration.verify_ssl = False | |
api_client = client.CoreV1Api() | |
api_client.list_node() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment