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?

demandé il y a 6 mois155 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions