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
{{ message }}
This repository was archived by the owner on Feb 4, 2020. It is now read-only.
A mandatory update is needed for OpenFaaS providers to work with the newest changes proposed in the OpenFaaS UI.
A new field: availableReplicas will need to be populated in the endpoint /system/function/
Now the purpose of this field is to indicate which functions (containers) have a replica ready for a HTTP request - often when pulling a large image the function is not ready until several minutes in. That's the purpose of this change - to provide that information to the UI or new endpoint.
You may need to vendor the latest release of faas-provider, which adds a healthcheck endpoint also.
The easiest way to maintain compatibility will be to set the availableReplicas count to be the same as replicas - this will mean the UI continues to work as planned. Down the road updating availableReplicas to its true meaning would be best.
Let me know if you have questions or if I can help.