JDev  
                
               
              
                  
                    February 21, 2019,  6:39am
                   
                   
              3 
               
             
            
              I thought that there was already some other solution.
  
  
    You'd need to check how kubelet is started, but probably better to wait for your colleague   
In the meantime if you want you can try to configure ssl  to use the secure port.
   
 
  
  
    yeah.. thanks, I tried that too... that's what I have, but still no luck (get the same x509 error): 
kubernetes: 
enabled: true 
config: 
module: kubernetes 
metricsets:
node
system
pod
container
volume 
period: 10s 
hosts: ["https://$ {HOSTNAME}:10250"] 
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token 
ssl.certificate_authorities:
/var/run/secrets/kubernetes.io/serviceaccount/ca.crt 
add_metadata: true 
in_cluster: true