website icon indicating copy to clipboard operation
website copied to clipboard

Improvement for k8s.io/docs/concepts/services-networking/ingress/

Open shorif2000 opened this issue 5 months ago • 3 comments

please add canary example as it is impossible to find in https://kubernetes.io/ . There are good examples here but this is not available to use directly in website https://kubernetes.github.io/ingress-nginx/examples/canary/

There needs to be some examples put on the page


apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: canary
  annotations:
    nginx.ingress.kubernetes.io/canary: \"true\"
    nginx.ingress.kubernetes.io/canary-weight: \"50\"
spec:
  ingressClassName: nginx
  rules:
  - host: echo.prod.mydomain.com
    http:
      paths:
      - pathType: Prefix
        path: /
        backend:
          service:
            name: canary
            port:
              number: 80

shorif2000 avatar Feb 04 '24 21:02 shorif2000