--
You received this message because you are subscribed to the Google Groups "kubernetes-sig-network" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-sig-ne...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/CABhP%3Dtba8if0shcT5vyWM8nraapgRWz_kC1MpcbhnnjZu-aE-g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/CAGY4dkmgCQbO52yG6J%2BiyLUqwp8CwURRmEy1oyRZeYzP5bcN%3Dw%40mail.gmail.com.
You can only deprecate a v1 API via a v2 group, of which we have no
plans, for now. You should assume Endpoints will continue to exist
and the controller will be available for the indefinite future. We
will be obligated to maintain it, though we may choose not to enhance
it.
We can discuss whether we should remove Endpoints support from
kube-proxy, which seems reasonable to me.
We can also discuss introducing more concrete limits in Endpoints,
e.g. setting a deterministic size limit, but that will have to be done
carefully.
We can also discuss offering a way to disable the Endpoints controller
for cluster admins who want to, though that seems less useful than
changing the biggest consumers (kube-proxy and Ingress controllers) to
use EndpointSlice instead.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/CAGY4dk%3D8W0u-aUm36P%3D8rAq0XvdxeH2KWi_p%3D%3DHgqSchc-ScDQ%40mail.gmail.com.
You can only deprecate a v1 API via a v2 group, of which we have no
plans, for now. You should assume Endpoints will continue to exist
and the controller will be available for the indefinite future. We
will be obligated to maintain it, though we may choose not to enhance
it.
We can discuss whether we should remove Endpoints support from
kube-proxy, which seems reasonable to me.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-sig-network/CAO_RewZHYq5fjQjYD1jwZLSFgHGeqKWxi3J3sq%2BOR4x3d16_vw%40mail.gmail.com.
On Thu, Sep 10, 2020 at 12:31 PM Sandor Szuecs <sandor...@zalando.de> wrote:
>
> Hi!
>
> On Thu, 10 Sep 2020 at 18:50, 'Tim Hockin' via kubernetes-sig-network <kubernetes-...@googlegroups.com> wrote:
>>
>> You can only deprecate a v1 API via a v2 group, of which we have no
>> plans, for now. You should assume Endpoints will continue to exist
>> and the controller will be available for the indefinite future. We
>> will be obligated to maintain it, though we may choose not to enhance
>> it.
>
>
> ACK
>
>>
>> We can discuss whether we should remove Endpoints support from
>> kube-proxy, which seems reasonable to me.
>
>
> I would not change kube-proxy, because tools already rely on it.
> For example https://github.com/zalando/postgres-operator relies on it. It manages endpoints of services itself to make sure we switch the current writable DB and the read-followers when the operator decides it. Of course we can change it to something else if this works, but there will be other users that might notice when it breaks....
> From a developer point of view I understand less code is better, but in this case we have to be really careful.
Do you depend on kube-proxy's use of Endpoints vs. EndpointSlices?
How so? The EPSlice mirroring controller should handle apps that
manually manipulate Endpoints by converting to slices...
On Thu, Sep 10, 2020 at 2:00 PM Sandor Szuecs <sandor...@zalando.de> wrote:
>
>
>
> On Thu, 10 Sep 2020 at 21:36, Tim Hockin <tho...@google.com> wrote:
>>
>> On Thu, Sep 10, 2020 at 12:31 PM Sandor Szuecs <sandor...@zalando.de> wrote:
>> >
>> > Hi!
>> >
>> > On Thu, 10 Sep 2020 at 18:50, 'Tim Hockin' via kubernetes-sig-network <kubernetes-...@googlegroups.com> wrote:
>> >> We can discuss whether we should remove Endpoints support from
>> >> kube-proxy, which seems reasonable to me.
>> >
>> >
>> > I would not change kube-proxy, because tools already rely on it.
>> > For example https://github.com/zalando/postgres-operator relies on it. It manages endpoints of services itself to make sure we switch the current writable DB and the read-followers when the operator decides it. Of course we can change it to something else if this works, but there will be other users that might notice when it breaks....
>> > From a developer point of view I understand less code is better, but in this case we have to be really careful.
>>
>> Do you depend on kube-proxy's use of Endpoints vs. EndpointSlices?
>
>
> I don't know the difference yet.
> I think we rely on that a service IP:port is accessed and the postgres-operator controlled endpoint is the one kube-proxy adds (or better sets, because it deletes the other) to the service. Of course an EndpointSlice with size 1 could work, too.
This should be unchanged. The difference between kube-proxy using
Endpoints and EndpointSlice should be invisible. The contents should
be synced, and the results should be the same.
Now, in the future it may get more fun, as we teach slices about
topology, but we have a strong commitment to making sure it still
works.
>> How so? The EPSlice mirroring controller should handle apps that
>> manually manipulate Endpoints by converting to slices...
>
>
> I would have to check it. Does it just reflect the same state to endpoints as part of a service?
> I will have more time again in October (parental leave right now).
Yes. If your controller writes Endpoints directly, we will
automatically mirror that into an EndpointSlice.
Congrats on parental leave! :)