When you create a local educates cluster if the registry already existed but is not running (with an ip/port binding) then cluster creation process fails at Linking local registry to cluster with:
Error: failed to create service for registry: unable to create registry headless service endpoint: EndpointSlice.discovery.k8s.io "registry-1" is invalid: [endpoints[0].addresses[0]: Invalid value: "": must be a valid IPv4 address, endpoints[0].addresses[0]: Invalid value: "": must be a valid IP address]
This is because the containerInspect of educates-registry here does not check for the container to be running and later the network.IPAddress of that container is empty (as it's stopped) and fails
Describe the bug
When you create a local educates cluster if the registry already existed but is not running (with an ip/port binding) then cluster creation process fails at Linking local registry to cluster with:
This is because the containerInspect of educates-registry here does not check for the container to be running and later the network.IPAddress of that container is empty (as it's stopped) and fails
Additional information
No response