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?

質問済み 6ヶ月前155ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ