-
Notifications
You must be signed in to change notification settings - Fork 76
Support configuring service cluster ip and pod network #220
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ processes: | |
- --leader-elect | ||
- --root-ca-file=/var/vcap/jobs/kube-controller-manager/config/ca.pem | ||
- --service-account-private-key-file=/var/vcap/jobs/kube-controller-manager/config/service-account-private-key.pem | ||
- --service-cluster-ip-range=10.100.200.0/24 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am no sure if we need that at all.
and we are not using the allocate-node-cidrs=true There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. --service-cluster-ip-range is needed, it sets the address block for hosting kubernetes service IPs, if not set, kubernetes uses a 10.X.X.X default of some sort, which could potentially clash with users pod IP space, or even network routable IP space. I think the default size is also a /24, which means a kubernetes cluster can only have an absolute max of 254 services. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, thats for the controller manager and not the apiserver, yeah you are correct, that should be fine to drop for now. |
||
- --service-cluster-ip-range=<%= service-cluster-cidr %> | ||
- --terminated-pod-gc-threshold=100 | ||
- --use-service-account-credentials | ||
- --v=<%=p('logging-level') %> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the format is incorrect for properties.
It should be like
otherwise bosh is complaining