kubernetes - How to scale the number of Ingress pods -


is there way scale number of ingress pods based on load? have:

apiversion: extensions/v1beta1 kind: ingress metadata:   name: my-service spec:   rules:   - host: my-service     http:       paths:       - path: /         backend:           servicename: my-service           serviceport: 80 

and ingress controller appropriate nginx-ingress-controller.

i had though ingress-controller handle scaling us? right way handle this?

ingress can not scaled, ingress set of traffic routing rules , configuration.

ingress controller on other hand can.

the "dummy" way scale nginx-ingress number of nodes in cluster run daemonset.

a more sophisticated aproach this, use horizontal pod autoscaling can scale based on resource utilisation.

in both cases not scale ingress, ingress controller, meaning not related traffic/load 1 ingress, ingresses (of given type if have different)


Comments

Popular posts from this blog

javascript - Replicate keyboard event with html button -

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Web audio api 5.1 surround example not working in firefox -