aws eks update-kubeconfig
Configures kubectl so that you can connect to an Amazon EKS cluster. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--aliasAlias for the cluster context name.--assume-role-arnTo assume a role for retrieving cluster information, specify an IAM role ARN with this option.--dry-runPrint the merged kubeconfig to stdout instead of writing it to the specified file.--kubeconfigOptionally specify a kubeconfig file to append with your configuration.--nameThe name of the cluster for which to create a kubeconfig entry.--proxy-urlOptionally specify a proxy url to route traffic via when connecting to a cluster.--role-arnTo assume a role for cluster authentication, specify an IAM role ARN with this option.--user-aliasAlias for the generated user name.--verbosePrint more detailed output when writing to the kubeconfig file, including the appended entries.