Azure

Kubernetes cluster error

error: You must be logged in to the server (Unauthorized)

Validation failed: State Store: Required value: Please set the –state flag or export KOPS_STATE_STORE.

How to fix?

export KOPS_STATE_STORE=s3://<your aws storage name>