deislabs / osiris

A general purpose, scale-to-zero component for Kubernetes
MIT License
463 stars 51 forks source link

Using Osiris ZeroScaler with Istio Proxy Injected pods #70

Open rkapoor028 opened 4 years ago

rkapoor028 commented 4 years ago

Question: We are trying to use Osiris ZeroScaler with Istio proxy injected pods. Looks like its scaling the pods to 0 when there is no traffic. However, it does not ever scale them back up. We set the Annotations as below on the Service "osiris.deislabs.io/deployment": "pods-istio", "osiris.deislabs.io/enabled": "true", "osiris.deislabs.io/ingressDefaultPort": "80", "osiris.deislabs.io/ingressHostname": "pods-istio.example.com", "osiris.deislabs.io/loadBalancerHostname": "pods-istio.example.com"

Is it possible to make it work with Istio enabled deployments which has Istio Ingress Gateway, Virtual service, Destination Rules in front of it?