( kallo | 2023. 07. 13., cs – 15:41 )

Még soha nem használtam ezt a modult, de itt  https://github.com/kubernetes-client/python/issues/1131#issuecomment-74… úgy látom, hogy van ssl_ca_cert változód szal itt meg tudod adni a CA certedet.

amit le is tudsz szedni közvetlen az endpointról is akár:

openssl s_client -showcerts -connect xx.xx.xx.com:443

a címet az errorodból ki tudod szedni, innen:

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='xx.xx.xx.com', port=443): Max retries exceeded with url: /k8s/clusters/xxxx/api/v1/pods?watch=False (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get issuer certificate (_ssl.c:1091)')))