I want to get data for two EKS clusters via JAVA (Different clusters in the same account or different account). But if I run 'aws eks update-kubeconfig' command. I am able to get data for only one of them. Can anyone suggest me a better idea?
I followed the below steps to connect (I used processBuilder to connect to kubectl):
--kubeconfig
argument.