Skip to content

Commit e8ac68e

Browse files
committed
cluster install documentation, add env variables to fix kops cluster install issue
1 parent 18b3eaf commit e8ac68e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cluster-install/readme.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,11 @@ Alternatively, you may not specify the `--yes` flag as part of the `kops create
149149
Once the `kops create cluster` command is issued, it provisions the EC2 instances, sets up Auto Scaling Groups, IAM users, Security Groups, installs Kubernetes on each node, then configures the master and worker nodes. This process can take some time based upon the number of master and worker nodes.
150150

151151
Note: If your 'create cluster' fails with an error like:
152-
153-
"error reading s3://example-kops-state-store-workshop/workshop-prep.cluster.k8s.local/config: Unable to list AWS regions: NoCredentialProviders: no valid providers in chain
154-
caused by: EnvAccessKeyNotFound: failed to find credentials in the environment.", try setting the following environment variables before executing the 'create cluster' command:
155-
152+
```
153+
error reading s3://example-kops-state-store-workshop/workshop-prep.cluster.k8s.local/config: Unable to list AWS regions: NoCredentialProviders: no valid providers in chain
154+
caused by: EnvAccessKeyNotFound: failed to find credentials in the environment."
155+
```
156+
, try setting the following environment variables before executing the 'create cluster' command:
156157
```
157158
export AWS_DEFAULT_PROFILE=<your_aws_credentials_profile_name>
158159
export AWS_SDK_LOAD_CONFIG=1

0 commit comments

Comments
 (0)