-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid type for io.x-k8s.cluster.infrastructure.v1alpha3.AWSMachinePool.spec.subnets: got "string", expected "map" #2464
Comments
Thanks for reporting. This is a documentation issue not a bug I think. Contributions are welcome as well. /milestone Next |
@sedefsavas I continued configuring the cluster and got an error
It means that "id: eu-central-1a" is also not a proper configuration. I replaced it with a subnet ID (subnet-xxxxxxxxx) and it worked out. But this ID gets known after the cluster is provisioned, so it's impossible to specify it beforehand. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
When we apply |
/lifecycle active |
/triage accepted |
@shivi28 |
/priority backlog |
I think you forgot to assign yourself. |
Thanks @sedefsavas, I have updated the template and doc |
Since this is documentation, I am bumping the milestone to the next release. |
/kind bug
What steps did you take and what happened:
I followed steps from https://cluster-api-aws.sigs.k8s.io/topics/machinepools.html
After applying the configuration, I got
What did you expect to happen:
No error as it is the same as in the provided documentation.
Anything else you would like to add:
This configuration works:
Subnets
field has[]infrav1.AWSResourceReference
type, so it requires an object, not a string.Environment:
kubectl version
): v1.21.1/etc/os-release
): Debian GNU/Linux 11 (bullseye)The text was updated successfully, but these errors were encountered: