• Geoff Simmons's avatar
    Update the implementation of self-sharding. · 694ed696
    Geoff Simmons authored
    Since the controller now interacts with the headless Service that
    defines the admin ports, it can no longer find the http port in
    that Service definition. This is needed to configure the Varnishen
    as backends for one another.
    
    Search for all Services in the same namespace that define the same
    selector as the admin Service (and hence are configured for the
    same Pods). We then search for the http port in the Endpoints of
    those Services.
    694ed696
ingress.go 31.6 KB