RKE fails to provision cluster

Hi guys,

I’m attempting to provision a cluster on AWS, however, it fails with the following error:

Failed running cluster err:[workerPlane] Failed to bring up Worker Plane: [Failed to verify healthcheck: Failed to check http://localhost:10248/healthz for service [kubelet] on host [3.95.213.230]: Get http://localhost:10248/healthz: Unable to access the service on localhost:10248. The service might be still starting up. Error: ssh: rejected: connect failed (Connection refused), log: F0301 13:32:25.053999   12053 server.go:273] failed to run Kubelet: could not init cloud provider "aws": error finding instance i-056f93a515d729afd: "error listing AWS instances: \"NoCredentialProviders: no valid providers in chain. Deprecated.\\n\\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors\""]

My output: https://gist.github.com/john-morsley/dfebb9ab0d27a915e789d38c0393eac4

The requirements for using the Kubernetes AWS cloud provider are described on https://rancher.com/docs/rke/latest/en/config-options/cloud-providers/aws/. You don’t have to use this Kubernetes cloud provider if you don’t want to use automatic load balancer or storage provisioning, if you remove that configuration, it should start up. If you want to use these cloud provider features, make sure the requirements are met as described in the documentation.

Thanks. Found that article and it did help.