How to resolve tls error when running kubectl logs or kubectl exec?

0

I recently provisioned an EKS cluster using the AWS CLI on an EC2 instance. The EC2 instance has an instance profile that was used to create the EKS cluster. I can access the EC2 instance via SSM and, because it is inside the EC2 that contains the cluster owener role, I can execute several kubectl commands. However, when trying to run commands like kubectl get logs pod-name or kubectl exec, I'm encountering a TLS-related error. Could anyone guide me on the cause of this problem and possible solutions?

posta 6 mesi fa155 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande