Skip to content

Get rid of "ServiceBackend" in Kubernetes Routegroups #3649

@szuecs

Description

@szuecs

There is a hacked backend, that we sooner or later should get rid of:


// adding Kubernetes specific backend types here. To be discussed.
// The main reason is to differentiate between service and external, in a way
// where we can also use the current global option to decide whether the service
// should then be converted to LB. Or shall we expect the route group already
// contain the pod endpoints, and ignore the global option for skipper?
// --> As CRD we have to lookup endpoints ourselves, maybe via kube.go
const (
	ServiceBackend = eskip.LBBackend + 1 + iota
)

Normally in eskip we do not have it and when we introduced <forward> backend we stumbled in our cluster about the validation webhook that denied this backend because somehow eskip.LBBackend + 1 mapped to eskip.ForwardBackend...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions