New to Voyager? Please start here.

Configure ingress with annotations

Below is the full list of supported annotations:

Keys Value Default
ingress.appscode.com/type LoadBalancer, HostPort, NodePort, Internal LoadBalancer
ingress.appscode.com/api-schema {APIGroup}/{APIVersion} voyager.appscode.com/v1beta1
ingress.appscode.com/accept-proxy bool false
ingress.appscode.com/affinity cookie
ingress.appscode.com/session-cookie-hash string
ingress.appscode.com/session-cookie-name string SERVERID
ingress.appscode.com/hsts bool true
ingress.appscode.com/hsts-include-subdomains bool false
ingress.appscode.com/hsts-max-age string 15768000
ingress.appscode.com/hsts-preload bool false
ingress.appscode.com/use-node-port bool false
ingress.appscode.com/enable-cors bool false
ingress.appscode.com/cors-allow-headers string DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
ingress.appscode.com/cors-allow-methods string GET,PUT,POST,DELETE,PATCH,OPTIONS
ingress.appscode.com/cors-allow-origin string *
ingress.appscode.com/default-option map {"http-server-close": "true", "dontlognull": "true"}
ingress.appscode.com/default-timeout map {"connect": "5s", "server": "50s", "client": "50s", "client-fin": "50s", "tunnel": "50s"}
ingress.appscode.com/hard-stop-after string 30s
ingress.appscode.com/auth-type basic
ingress.appscode.com/auth-realm string
ingress.appscode.com/auth-secret string
ingress.appscode.com/auth-tls-error-page string
ingress.appscode.com/auth-tls-secret string
ingress.appscode.com/auth-tls-verify-client required or, optional required
ingress.appscode.com/backend-tls string
ingress.appscode.com/replicas int 1
ingress.appscode.com/backend-weight int 1
ingress.appscode.com/whitelist-source-range string
ingress.appscode.com/max-connections int
ingress.appscode.com/ssl-redirect bool true
ingress.appscode.com/force-ssl-redirect bool false
ingress.appscode.com/limit-connection int
ingress.appscode.com/limit-rpm int
ingress.appscode.com/limit-rps int
ingress.appscode.com/errorfiles string
ingress.appscode.com/proxy-body-size int
ingress.appscode.com/ssl-passthrough bool false
ingress.appscode.com/rewrite-target string
ingress.appscode.com/keep-source-ip bool false
ingress.appscode.com/health-check-nodeport int
ingress.appscode.com/load-balancer-ip string
ingress.appscode.com/annotations-pod map
ingress.appscode.com/annotations-service map
ingress.appscode.com/stats bool false
ingress.appscode.com/stats-port int 56789
ingress.appscode.com/stats-secret-name string
ingress.appscode.com/monitoring-agent string
ingress.appscode.com/service-monitor-labels map
ingress.appscode.com/service-monitor-namespace string
ingress.appscode.com/service-monitor-endpoint-port integer 56790
ingress.appscode.com/service-monitor-endpoint-scrape-interval string
ingress.appscode.com/use-dns-resolver bool false
ingress.appscode.com/dns-resolver-nameservers string
ingress.appscode.com/dns-resolver-check-health bool true
ingress.appscode.com/dns-resolver-retries int 0
ingress.appscode.com/dns-resolver-timeout map
ingress.appscode.com/dns-resolver-hold map
ingress.appscode.com/workload-kind string Deployment
ingress.appscode.com/node-selector map
ingress.appscode.com/tolerations array
ingress.appscode.com/check bool false
ingress.appscode.com/check-port int
ingress.appscode.com/agent-port int
ingress.appscode.com/agent-interval string “2000ms”