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

How to set Shoot cluster's Pod/Service CIDR when deploying via auto-installer #141

Closed
gauravbist opened this issue Nov 18, 2019 · 3 comments

Comments

@gauravbist
Copy link

I am trying to install Gardener on existing Kubernetes Cluster (configured via KOPS) via automatic installer (https://gardener.cloud/installer/).

But I am facing an issue: "100.64.0.0/13": must not be a subset of "spec.networks.shootDefaults.services" ("100.64.0.0/13")

Tried with different subnet (100.80.0.0/11) too, then it gives error:
Error: release gardener failed: Service "gardener-apiserver" is invalid: spec.clusterIP: Invalid value: "100.80.0.20": provided IP is not in the valid range. The range of valid IPs is 100.64.0.0/13

As per the ticket gardener/gardener#1386 "Shoot pod/service CIDR defaults per seed", "It is now possible to specify shoot default pod/service CIDRs per seed. Please configure spec.networks.shootDefaults on your Seed resources if you want to use this."

But I am not able to understand how to configure the same when using the automatic installer (https://gardener.cloud/installer/).

Please help me to achieve a successful deployment of Gardner on existing Kubernetes Cluster (configured via Kops).

@rfranzke rfranzke transferred this issue from gardener/gardener Dec 30, 2019
@rfranzke
Copy link
Member

@Diaphteiros can you help out?

@Diaphteiros
Copy link
Contributor

@gauravbist The automated installer that you link to is meant to provide an visual overlay for garden-setup (this project) and abstract the complexity of creating the config file (acre.yaml) by yourself. The downside of this is that it strongly restricts the possible configurations - the garden-setup installer supports only a very small subset of the configuration options that garden-setup offers.
However, the shootDefaults networks are currently not configurable in garden-setup either. For garden-setup 1.18.0, you would need to modify it in the code directly before running sow deploy.

I'll leave this issue open and make the networks configurable in garden-setup with one of the next releases.

@Diaphteiros
Copy link
Contributor

Resolved with #154

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

3 participants