kubectl to interact with Cortex clusters, advanced users can use kubectl to get more granular visibility into the cluster (since Cortex is built on top of Kubernetes).kubectl and connect it to your existing Cortex cluster:aws --version >= 1.16, and configure your credentials by running aws configure or by exporting the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.<cluster_name> is the name of your cluster and <region> is the region of the cluster. These were specified when your cluster was created, either via command line prompts or your cluster configuration file (e.g. cluster.yaml). The default cluster name is cortex, and the default region is us-east-1.kubectl against the existing Cortex cluster by running a command like the following. Your output will be different.kubectl is now configured!