Skip to content

Instantly share code, notes, and snippets.

@diegows
Created February 22, 2019 21:34
Show Gist options
  • Save diegows/b9ae8383e72d0541769ba526950f21d8 to your computer and use it in GitHub Desktop.
Save diegows/b9ae8383e72d0541769ba526950f21d8 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/upstream-hash-by: "$arg_predictorid"
nginx.ingress.kubernetes.io/upstream-hash-by-subset: "true"
nginx.ingress.kubernetes.io/upstream-hash-by-subset-size: "3"
name: nginxhello-ingress
namespace: default
spec:
backend:
serviceName: nginxhello
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment