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
Post a Comment