Skip to content

Feature Request: Kubernetes & Istio Compatibility #28

@stuvet

Description

@stuvet

After quite a lot of debugging of Shinyproxy on a K8s + Istio cluster it looks like Shinyproxy itself runs fine, and can launch pods without the kube-sidecar proxy (kubernetes.url: [IP of kubernetes.default.svc.cluster.local] , but it fails to communicate with the child pods since Containerproxy uses either pod IP (for internal networking) or hostIP+servicePort for external networking. Istio mostly requires services.

I've tried a few options, and a quick and dirty workaround could be to define a separate (non-injected) namespace for the child pods, create a ServiceEntry for spec.hosts childnamespace.svc.cluster.local, resolution: DNS, and have an option which acts similarly to internal-networking=false, but uses the service IP address & port, not the host.

To allow full functionality of istio, it'd be preferable to allow an 'istio' option, which would cause pods to be addressed by created services, even when internal-networking is true. I'm certain I don't have the Java skills to submit this request, but I'll give it a go at this end, even if only to help those with real skill get on the right path.

Stuart

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions