Skip to content

Kubernetes v.1.33+ deprecates endpoints: #301

Description

@tschirmer

Describe the bug
kubernetes v.1.33+ deprecates endpoints:

I0611 01:07:53.372731 1 warnings.go:110] "Warning: v1 Endpoints is deprecated in v1.33+; use discovery.k8s.io/v1 EndpointSlice"

To Reproduce
Steps to reproduce the behavior:
- args:
- '-admin-addr=0.0.0.0'
- '-admin-port=6083'
- '-signaller-enable'
- '-signaller-port=8090'
- '-frontend-watch'
- '-frontend-namespace=$(NAMESPACE)'
- '-frontend-service=varnish-headless'
- '-frontend-portname=http-varnish'
- '-frontend-port=6081'
- '-backend-watch'
- '-backend-namespace=$(NAMESPACE)'
- '-backend-service=my-app-service-no-cache'
- '-varnish-secret-file=/etc/varnish/k8s-secret/secret'
- '-varnish-vcl-template=/etc/varnish/tmpl/default.vcl.tmpl'
- '-varnish-storage=malloc,100M'

Expected behavior

No warning appears around kubernetes api

Environment:

  • Kubernetes version: [e.g. 1.18]
  • kube-httpcache version: [e.g. v0.2.2]

Configuration
If applicable, add your VCL configuration file and other relevant configuration settings

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions