Skip to content
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

networking ip_family not honored #69

Open
bdalpe opened this issue Oct 1, 2024 · 0 comments
Open

networking ip_family not honored #69

bdalpe opened this issue Oct 1, 2024 · 0 comments

Comments

@bdalpe
Copy link

bdalpe commented Oct 1, 2024

When attempting to create a dual-stack cluster, the provider does not honor the ipFamily setting (no errors displayed).

resource "kind_cluster" "this" {
  name           = "example"
  wait_for_ready = true

  kind_config {
    api_version = "kind.x-k8s.io/v1alpha4"
    kind        = "Cluster"

    networking {
      ip_family = "dual"
    }

    node {
      role  = "control-plane"
      image = "kindest/node:v1.31.0" 

      # ...
    }
  }
}

Setting the equivalent config on my machine and running the commands manually succeeds in starting a dual-stack cluster:

kind create cluster --config - <<EOT
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
  ipFamily: dual
EOT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant