On Mon, Aug 14, 2017 at 10:56 AM, David Rosenstrauch wrote:
> On 2017-08-14 12:13 pm, 'Tim Hockin' via Kubernetes user discussion and Q
> wrote:
>>
>> On Mon, Aug 14, 2017 at 9:03 AM, David Rosenstrauch
>> wrote:
>>>
>>> So, for example, I have a k8s setup
On 2017-08-14 12:13 pm, 'Tim Hockin' via Kubernetes user discussion and
Q wrote:
On Mon, Aug 14, 2017 at 9:03 AM, David Rosenstrauch
wrote:
So, for example, I have a k8s setup with 4 machines: a master, 2
worker
nodes, and a "driver" machine. All 4 machines are on the
On Mon, Aug 14, 2017 at 9:03 AM, David Rosenstrauch wrote:
> Thanks for the feedback. I see I didn't quite understand k8s networking
> properly (and had my cluster misconfigured as a result).
>
> I now have it configured as:
>
> --cluster-cidr=10.240.0.0/12
/12 gives you room
Thanks for the feedback. I see I didn't quite understand k8s networking
properly (and had my cluster misconfigured as a result).
I now have it configured as:
--cluster-cidr=10.240.0.0/12
--service-cluster-ip-range=10.128.0.0/16
And I'm deducing that the /12 in the cluster-cidr is what would
Oh hold on. the *service cluster IP range* is not for pod IPs at all. It's
for the ClusterIP of services, so you can have up to 64k services in a
cluster at the default setting. The range for pods is the --cluster-cidr
flag on kube-controller-manager.
On Fri, Aug 11, 2017 at 3:05 PM David
Actually, that begs another question. The docs also specify that k8s
can support up to 5000 nodes. But I'm not clear on how the networking
can support that.
So let's go back to that service-cluster-ip-range with the /16 CIDR.
That only supports a maximum of 256 nodes.
Now the maximum
Ah. That makes a bit more sense.
Thanks!
DR
On 2017-08-11 10:41 am, Ben Kochie wrote:
Kuberentes will be giving a /24 to each node, not each pod. Each node
will give one IP out of that /24 to a pod it controls. This default
means you can have 253 pods-per-node. This of course can be
Kuberentes will be giving a /24 to each node, not each pod. Each node will
give one IP out of that /24 to a pod it controls. This default means you
can have 253 pods-per-node. This of course can be adjust depending on the
size of your pods and nodes.
This means that you can fully utilize the