(self, url, verbose=True, stream=False)
return self.http.get(
            url,
            verify=self.kubelet_credentials.verify(),
            cert=self.kubelet_credentials.cert_pair(),
            headers=self.kubelet_credentials.headers(url),
            params={'verbose': verbose},
            stream=stream,
        )
Perform and return a GET request against kubelet. Support auth and TLS validation.
Perform and return a GET request against kubelet. Support auth and TLS validation.
Perform and return a GET request against kubelet . Support auth and TLS validation .
def perform_kubelet_query(self, url, verbose=True, stream=False):
        """
        Perform and return a GET request against kubelet. Support auth and TLS validation.
        """

        # If tls_verify is False, then suppress tls warning
        if self.kubelet_credentials.verify() is False:
            self.http.ignore_tls_warning = True

        return self.http.get(
            url,
            verify=self.kubelet_credentials.verify(),
            cert=self.kubelet_credentials.cert_pair(),
            headers=self.kubelet_credentials.headers(url),
            params={'verbose': verbose},
            stream=stream,
        )
def perform_kubelet_query ( self , url , verbose = True , stream = False ) : # If tls_verify is False, then suppress tls warning if self . kubelet_credentials . verify ( ) is False : self . http . ignore_tls_warning = True return self . http . get ( url , verify = self . kubelet_credentials . verify ( ) , cert = self . kubelet_credentials . cert_pair ( ) , headers = self . kubelet_credentials . headers ( url ) , params = { 'verbose' : verbose } , stream = stream , )