You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Login to harbor portal, under Administration->Registries, add a a new endpoint of type harbor
In the form, select Provider “Harbor”, and fill all the required details. (Endpoint URL, etc..), Click “TEST CONNECTION” button to verify it is accessible and click “OK” to create it
After that endpoint has been created successfully, you would see in the new endpoint added to
Administration->Registries and its status is “Healthy”.
Up till now all good.
Now simulate an issue on the remote endpoint and make it inaccessible, (e.g: change replica of core to 0, or any other approach you want to make endpoint not reachable), as a result, the excepted behavior is that the “Status” column will be modify to “Unhealthy”, but it remain “Healthy” regardless if endpoint is accessible or not. (you can refresh the page to see it does make any changes)
Attaching a screenshot showing two endpoint one with Healthy, and second with Unhealthy (before my code change, both were Healthy regardless if there were accessible or not)
If you have a remote registry configured in Harbor, its stays healthy always because error handling prevents from setting it unhealthy in the code.
Also, the HealthCheck function is not implemented in the harbor adapter.
The text was updated successfully, but these errors were encountered: