Kubernetes-Zero-to-Hero icon indicating copy to clipboard operation
Kubernetes-Zero-to-Hero copied to clipboard

Error: State Store: Required value: Please set the --state flag or export KOPS_STATE_STORE

Open sulbiraj06 opened this issue 1 year ago • 2 comments

**Step 12: Build the cluster

kops update cluster demok8scluster.k8s.local --yes**

I ran into a problem while executing this step

ubuntu@ip-172-31-90-103:~$ kops edit cluster myfirstcluster.k8s.local Error: State Store: Required value: Please set the --state flag or export KOPS_STATE_STORE. For example, a valid value follows the format s3://<bucket>. You can find the supported stores in https://kops.sigs.k8s.io/state.

Please edit the repo with below working command

kops update cluster demok8scluster.k8s.local --yes --state=s3://kops-abhi-storage

sulbiraj06 avatar Apr 26 '23 14:04 sulbiraj06