You are looking at the documentation of a prior release. To read the documentation of the latest release, please visit here.

New to Voyager? Please start here.

Configure ingress with annotations

Below is the full list of supported annotations:

KeysValueDefault
ingress.appscode.com/typeLoadBalancer, HostPort, NodePort, InternalLoadBalancer
ingress.appscode.com/api-schema{APIGroup}/{APIVersion}voyager.appscode.com/v1beta1
ingress.appscode.com/accept-proxyboolfalse
ingress.appscode.com/affinitycookie
ingress.appscode.com/session-cookie-hashstring
ingress.appscode.com/session-cookie-namestringSERVERID
ingress.appscode.com/hstsbooltrue
ingress.appscode.com/hsts-include-subdomainsboolfalse
ingress.appscode.com/hsts-max-agestring15768000
ingress.appscode.com/hsts-preloadboolfalse
ingress.appscode.com/use-node-portboolfalse
ingress.appscode.com/enable-corsboolfalse
ingress.appscode.com/cors-allow-headersstringDNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization
ingress.appscode.com/cors-allow-methodsstringGET,PUT,POST,DELETE,PATCH,OPTIONS
ingress.appscode.com/cors-allow-originstring*
ingress.appscode.com/default-optionmap{"http-server-close": "true", "dontlognull": "true"}
ingress.appscode.com/default-timeoutmap{"connect": "50s", "server": "50s", "client": "50s", "client-fin": "50s", "tunnel": "50s"}
ingress.appscode.com/auth-typebasic
ingress.appscode.com/auth-realmstring
ingress.appscode.com/auth-secretstring
ingress.appscode.com/auth-tls-error-pagestring
ingress.appscode.com/auth-tls-secretstring
ingress.appscode.com/auth-tls-verify-clientrequired or, optionalrequired
ingress.appscode.com/backend-tlsstring
ingress.appscode.com/replicasint1
ingress.appscode.com/backend-weightint
ingress.appscode.com/whitelist-source-rangestring
ingress.appscode.com/max-connectionsint
ingress.appscode.com/ssl-redirectbooltrue
ingress.appscode.com/force-ssl-redirectboolfalse
ingress.appscode.com/limit-connectionint
ingress.appscode.com/limit-rpmint
ingress.appscode.com/limit-rpsint
ingress.appscode.com/errorfilesstring
ingress.appscode.com/proxy-body-sizeint
ingress.appscode.com/ssl-passthroughboolfalse
ingress.appscode.com/rewrite-targetstring
ingress.appscode.com/keep-source-ipboolfalse
ingress.appscode.com/load-balancer-ipstring
ingress.appscode.com/annotations-podmap
ingress.appscode.com/annotations-servicemap
ingress.appscode.com/statsboolfalse
ingress.appscode.com/stats-portint56789
ingress.appscode.com/stats-secret-namestring
ingress.appscode.com/monitoring-agentstring
ingress.appscode.com/service-monitor-labelsmap
ingress.appscode.com/service-monitor-namespacestring
ingress.appscode.com/service-monitor-endpoint-portinteger56790
ingress.appscode.com/service-monitor-endpoint-scrape-intervalstring
ingress.appscode.com/use-dns-resolverboolfalse
ingress.appscode.com/dns-resolver-nameserversstring
ingress.appscode.com/dns-resolver-check-healthbooltrue
ingress.appscode.com/dns-resolver-retriesint0
ingress.appscode.com/dns-resolver-timeoutmap
ingress.appscode.com/dns-resolver-holdmap
ingress.appscode.com/workload-kindstringDeployment
ingress.appscode.com/node-selectormap
ingress.appscode.com/tolerationsarray