content large_stringlengths 3 20.5k | url large_stringlengths 54 193 | branch large_stringclasses 4
values | source large_stringclasses 42
values | embeddings listlengths 384 384 | score float64 -0.21 0.65 |
|---|---|---|---|---|---|
\* \*\*name\*\* (string), optional Name of the generated resource. A hash suffix will be added to the Name by default. \* \*\*namespace\*\* (string), optional Namespace of the generated resource. \* \*\*behavior\*\* (string), optional Behavior of generated resource, must be one of: \* \*\*create\*\*: Create new resourc... | https://github.com/kubernetes-sigs/kustomize/blob/master//site/content/en/docs/Reference/API/included/generatorargs.md | master | kustomize | [
-0.05626659467816353,
0.04051415994763374,
-0.02056758664548397,
0.03213486447930336,
-0.0718802958726883,
-0.03198203817009926,
0.06453727185726166,
0.009249214082956314,
-0.03675604984164238,
0.010515104979276657,
-0.010308174416422844,
-0.052486952394247055,
0.11471740156412125,
0.01775... | 0.024089 |
\* \*\*group\*\* (string) Kubernetes group that this FieldSpec applies to. If empty, this FieldSpec applies to all groups. Currently, there is no way to specify only the core group, which is also represented by the empty string. \* \*\*version\*\* (string) Kubernetes version that this FieldSpec applies to. If empty, th... | https://github.com/kubernetes-sigs/kustomize/blob/master//site/content/en/docs/Reference/API/Common Definitions/FieldSpec.md | master | kustomize | [
0.02285504713654518,
0.018795786425471306,
0.08288685232400894,
0.026446035131812096,
-0.03585905209183693,
0.03437049314379692,
0.020597077906131744,
-0.061459239572286606,
0.10174626111984253,
-0.011398675851523876,
-0.026302045211195946,
-0.10879720747470856,
-0.02412562631070614,
-0.01... | 0.075783 |
# The ingress-nginx kubectl plugin ## Installation Install [krew](https://github.com/GoogleContainerTools/krew), then run ```console kubectl krew install ingress-nginx ``` to install the plugin. Then run ```console kubectl ingress-nginx --help ``` to make sure the plugin is properly installed and to get a list of comma... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/kubectl-plugin.md | main | ingress-nginx | [
-0.040634118020534515,
-0.012750073336064816,
0.023359155282378197,
-0.007113669533282518,
-0.035698480904102325,
-0.03840196505188942,
-0.019477134570479393,
-0.020062852650880814,
0.020450036972761154,
0.05775580555200577,
-0.02022666111588478,
-0.11215437948703766,
-0.01880481466650963,
... | 0.142426 |
false, "endpoints": [ { "address": "10.1.3.86", "port": "5678" } ], "sessionAffinityConfig": { "name": "", "cookieSessionAffinity": { "name": "" } }, "upstreamHashByConfig": { "upstream-hash-by-subset-size": 3 }, "noServer": false, "trafficShapingPolicy": { "weight": 0, "header": "", "headerValue": "", "cookie": "" } }... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/kubectl-plugin.md | main | ingress-nginx | [
-0.05456266552209854,
0.09770847856998444,
-0.015607156790792942,
-0.02825905568897724,
-0.004306776449084282,
-0.02948370762169361,
0.003554836381226778,
-0.026285750791430473,
0.03333359211683273,
0.04479796439409256,
-0.07909447699785233,
-0.11914488673210144,
-0.020751046016812325,
-0.... | -0.001869 |
namespace2/ingress-nginx-controller - Uses removed config flag --enable-dynamic-certificates Lint added for version 0.24.0 https://github.com/kubernetes/ingress-nginx/issues/3808 ``` ### logs `kubectl ingress-nginx logs` is almost the same as `kubectl logs`, with fewer flags. It will automatically choose an `ingress-ng... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/kubectl-plugin.md | main | ingress-nginx | [
-0.02865109220147133,
-0.0035637898836284876,
0.06529220193624496,
0.04838477075099945,
0.04374682903289795,
-0.0571146123111248,
-0.016337808221578598,
-0.019039884209632874,
0.10575418919324875,
0.09280502796173096,
-0.012735361233353615,
-0.09198549389839172,
0.0025800946168601513,
0.02... | 0.095972 |
# Troubleshooting ## Ingress-Controller Logs and Events There are many ways to troubleshoot the ingress-controller. The following are basic troubleshooting methods to obtain more information. ### Check the Ingress Resource Events ```console $ kubectl get ing -n NAME HOSTS ADDRESS PORTS AGE cafe-ingress cafe.com 10.0.2.... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/troubleshooting.md | main | ingress-nginx | [
-0.003992928192019463,
0.011576530523598194,
0.03948787599802017,
0.018210267648100853,
0.046703170984983444,
-0.020657122135162354,
0.004543106537312269,
-0.05783364921808243,
0.07475661486387253,
0.07082587480545044,
-0.0012480602599680424,
-0.12065007537603378,
-0.014859508723020554,
0.... | 0.122743 |
to `~/.kube/config` which is used by kubectl to connect to the API server. See 'kubeconfig' section for details. \* \_Using the flag `--apiserver-host`:\_ Using this flag `--apiserver-host=http://localhost:8080` it is possible to specify an unsecured API server or reach a remote kubernetes cluster using [kubectl proxy]... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/troubleshooting.md | main | ingress-nginx | [
-0.03180292248725891,
0.04716796800494194,
0.030532002449035645,
-0.030869679525494576,
-0.08040297776460648,
-0.007003395818173885,
-0.02307368814945221,
-0.018327422440052032,
0.07360959053039551,
0.042006704956293106,
-0.04380157217383385,
-0.07033427804708481,
0.04447554424405098,
-0.0... | 0.061453 |
GDB with Nginx [Gdb](https://www.gnu.org/software/gdb/) can be used to with nginx to perform a configuration dump. This allows us to see which configuration is being used, as well as older configurations. Note: The below is based on the nginx [documentation](https://docs.nginx.com/nginx/admin-guide/monitoring/debugging... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/troubleshooting.md | main | ingress-nginx | [
-0.06026509404182434,
-0.0061066108755767345,
-0.018728215247392654,
0.006491031032055616,
0.004946993198245764,
-0.0484742671251297,
-0.0002915806253440678,
-0.001782053499482572,
-0.03503844141960144,
0.04532304406166077,
-0.06653435528278351,
0.0287761390209198,
-0.0028249844908714294,
... | 0.031047 |
container registry services. c. \*.appspot.com -> This a Google domain. part of the domain used for GCR. ## Unable to listen on port (80/443) One possible reason for this error is lack of permission to bind to the port. Ports 80, 443, and any other port < 1024 are Linux privileged ports which historically could only be... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/troubleshooting.md | main | ingress-nginx | [
-0.056038253009319305,
0.019570710137486458,
-0.01105768047273159,
-0.11387158930301666,
-0.04112289473414421,
-0.08703634142875671,
0.025302374735474586,
-0.03895121440291405,
-0.04429876431822777,
0.03432902693748474,
-0.024455837905406952,
-0.017479831352829933,
0.02315678633749485,
0.0... | 0.031026 |
the port or if it passed that and moved on to other expected errors due to running out of context. Install the libcap package and check capabilities on the file: ```console $ apk add libcap (1/1) Installing libcap (2.50-r0) Executing busybox-1.33.1-r7.trigger OK: 26 MiB in 41 packages $ getcap /nginx-ingress-controller... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/troubleshooting.md | main | ingress-nginx | [
-0.02913461998105049,
0.0075425622053444386,
-0.013411607593297958,
0.008087432943284512,
0.023766104131937027,
-0.06462561339139938,
0.005880886688828468,
-0.007227427326142788,
0.015477125532925129,
0.10214585810899734,
-0.02940778061747551,
-0.03999237343668938,
-0.054444778710603714,
-... | 0.041551 |
# How it works The objective of this document is to explain how the Ingress-NGINX controller works, in particular how the NGINX model is built and why we need one. ## NGINX configuration The goal of this Ingress controller is the assembly of a configuration file (nginx.conf). The main implication of this requirement is... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/how-it-works.md | main | ingress-nginx | [
-0.08667288720607758,
-0.002579103922471404,
0.04773393273353577,
-0.0025433830451220274,
-0.015284249559044838,
-0.022906968370079994,
0.027999471873044968,
-0.009813620708882809,
0.12266459316015244,
0.055203139781951904,
-0.006005432922393084,
0.016722649335861206,
-0.04120685160160065,
... | 0.133748 |
- If more than one Ingress contains a TLS section for the same host, the oldest rule wins. - If multiple Ingresses define an annotation that affects the configuration of the Server block, the oldest rule wins. - Create a list of NGINX Servers (per hostname) - Create a list of NGINX Upstreams - If multiple Ingresses def... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/how-it-works.md | main | ingress-nginx | [
-0.10491666942834854,
0.03386803716421127,
0.050517063587903976,
0.0036637061275541782,
0.0018585495417937636,
-0.043010350316762924,
0.03721540793776512,
-0.0692991316318512,
0.10125464200973511,
0.013771100901067257,
-0.053114332258701324,
-0.022223670035600662,
0.050713688135147095,
-0.... | 0.137054 |
# e2e test suite for [Ingress NGINX Controller](https://github.com/kubernetes/ingress-nginx/tree/main/) ### [[Admission] admission controller](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/admission/admission.go#L38) - [should not allow overlaps of host and paths without canary annotations](https://gi... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/e2e-tests.md | main | ingress-nginx | [
0.0021364963613450527,
0.038509856909513474,
0.04794269800186157,
-0.022819800302386284,
0.026790181174874306,
-0.049742747098207474,
-0.04028590768575668,
-0.019650187343358994,
-0.022228946909308434,
0.0555662177503109,
0.005360431503504515,
-0.04941948130726814,
-0.017419731244444847,
0... | 0.095951 |
cookie if upstream returns error status code](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/annotations/auth.go#L431) - [user with annotated ingress retains cookie if upstream returns error status code](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/annotations/auth.go#L442) - [should... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/e2e-tests.md | main | ingress-nginx | [
-0.055945683270692825,
0.04859098419547081,
0.052098557353019714,
-0.03501260280609131,
0.04113912209868431,
-0.09212569892406464,
0.04066651687026024,
-0.009250854142010212,
0.02028060331940651,
0.06428171694278717,
-0.024962741881608963,
-0.07120190560817719,
-0.056367889046669006,
0.029... | 0.071883 |
weight total is 200](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/annotations/canary.go#L1031) - [should not use canary as a catch-all server](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/annotations/canary.go#L1070) - [should not use canary with domain as a server](https://github.... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/e2e-tests.md | main | ingress-nginx | [
0.0029028516728430986,
0.01708296872675419,
0.05387912690639496,
0.029790053144097328,
-0.00553246820345521,
-0.06994067132472992,
-0.03184910863637924,
0.0015265599358826876,
0.012172053568065166,
0.05095863714814186,
-0.044175464659929276,
-0.07432043552398682,
-0.049806710332632065,
0.0... | 0.106642 |
[enable the http2-push-preload directive](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/annotations/http2pushpreload.go#L34) ### [allowlist-source-range](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/annotations/ipallowlist.go#L27) - [should set valid ip allowlist range](https://gith... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/e2e-tests.md | main | ingress-nginx | [
-0.05909236893057823,
0.05936269462108612,
0.050394196063280106,
-0.0388554222881794,
0.009510969743132591,
-0.009507971815764904,
-0.01939481496810913,
-0.05998890846967697,
0.011568710207939148,
0.062162164598703384,
0.04476452246308327,
-0.026748182252049446,
-0.01250432524830103,
0.035... | 0.076644 |
[[CGroups] cgroups](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/cgroups/cgroups.go#L32) - [detects cgroups version v1](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/cgroups/cgroups.go#L40) - [detect cgroups version v2](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/e2e-tests.md | main | ingress-nginx | [
-0.09666809439659119,
-0.005870991852134466,
0.0033148047514259815,
-0.024440091103315353,
0.028546815738081932,
-0.021073460578918457,
-0.030270500108599663,
-0.07003997266292572,
0.021273691207170486,
-0.010958723723888397,
0.04615553468465805,
-0.10398145765066147,
-0.057309094816446304,
... | 0.124786 |
undefined host are present when flag is set](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/metrics/metrics.go#L95) - [request metrics per undefined host are not present when flag is not set](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/metrics/metrics.go#L128) ### [nginx-configurati... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/e2e-tests.md | main | ingress-nginx | [
-0.014698234386742115,
0.03443973511457443,
0.03793875128030777,
-0.03254600986838341,
0.005496424622833729,
-0.042094986885786057,
0.0010568471625447273,
0.0017538766842335463,
0.05593147873878479,
0.024307923391461372,
0.02172890491783619,
-0.09965824335813522,
-0.03355724364519119,
0.07... | 0.033225 |
return status code 200 when request whitelisted (via no-auth-locations) service and 401 when request protected service](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/settings/global\_external\_auth.go#L107) - [should return status code 200 when request whitelisted (via ingress annotation) service and ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/e2e-tests.md | main | ingress-nginx | [
-0.06083200126886368,
0.05440913885831833,
-0.01994316466152668,
-0.041025180369615555,
0.0258123017847538,
-0.04579799249768257,
0.051959384232759476,
-0.016038432717323303,
0.01900513470172882,
0.058227989822626114,
0.02878100611269474,
-0.023385660722851753,
-0.016447916626930237,
0.024... | 0.081933 |
[Add no tls redirect locations](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/settings/no\_tls\_redirect\_locations.go#L27) - [Check no tls redirect locations config](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/settings/no\_tls\_redirect\_locations.go#L30) ### [OCSP](https://github... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/e2e-tests.md | main | ingress-nginx | [
-0.04556037485599518,
0.08057345449924469,
0.03055516816675663,
0.016513239592313766,
0.006484493613243103,
-0.07712601870298386,
-0.019347544759511948,
-0.01980096660554409,
0.0863921195268631,
0.018788687884807587,
-0.019584553316235542,
-0.08936258405447006,
-0.013571186922490597,
0.027... | 0.040163 |
# FAQ ## Multi-tenant Kubernetes Do not use in multi-tenant Kubernetes production installations. This project assumes that users that can create Ingress objects are administrators of the cluster. For example, the Ingress NGINX control plane has global and per Ingress configuration options that make it insecure, if enab... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/faq.md | main | ingress-nginx | [
0.0009845205349847674,
-0.03948856517672539,
-0.01247459277510643,
-0.0072218915447592735,
-0.027422189712524414,
-0.008621195331215858,
0.004077292047441006,
-0.04975960776209831,
0.058088868856430054,
0.0709979236125946,
0.022191282361745834,
-0.098662830889225,
0.030007123947143555,
-0.... | 0.059226 |
minikube) is to install Metallb and configure the ipaddress of the kind container or the minikube vm/container, as the starting and ending of the pool for Metallb in L2 mode. Then the host ip becomes a real client ipaddress, for curl requests sent from the host. After installing ingress-nginx controller on a kind or a ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/faq.md | main | ingress-nginx | [
-0.054692599922418594,
0.07905813306570053,
-0.010937614366412163,
-0.0012399227125570178,
-0.0035764530766755342,
0.007750884164124727,
0.009678184054791927,
0.043442998081445694,
0.04739535599946976,
0.01567821577191353,
-0.03134986385703087,
-0.06003591790795326,
0.03286026790738106,
-0... | 0.098891 |
the characters accepted on the field "`ingress.spec.rules.http.paths.path`", to "`alphanumeric characters`", and "`/`", "`\_`", "`-`". Also, in this case, the path should start with "`/`". - When the ingress resource path contains other characters (like on rewrite configurations), the pathType value should be "`Impleme... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/faq.md | main | ingress-nginx | [
-0.004957959987223148,
0.008367303758859634,
0.0072130789048969746,
-0.008745024912059307,
-0.043228600174188614,
-0.01297527365386486,
0.03579144924879074,
0.0014249534578993917,
0.07164467871189117,
0.06429126858711243,
-0.0004159160307608545,
-0.09028090536594391,
0.041382960975170135,
... | 0.15764 |
# Overview This is the documentation for the Ingress NGINX Controller. It is built around the [Kubernetes Ingress resource](https://kubernetes.io/docs/concepts/services-networking/ingress/), using a [ConfigMap](https://kubernetes.io/docs/concepts/configuration/configmap/) to store the controller configuration. You can ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/index.md | main | ingress-nginx | [
-0.05949033796787262,
0.04175080731511116,
-0.011122194118797779,
0.018859228119254112,
-0.01740177534520626,
0.025621913373470306,
0.03758781775832176,
0.03885798901319504,
0.02722865156829357,
0.07110553979873657,
-0.026354914531111717,
-0.005938887130469084,
0.03506031259894371,
-0.0383... | 0.158615 |
# Miscellaneous ## Source IP address By default NGINX uses the content of the header `X-Forwarded-For` as the source of truth to get information about the client IP address. This works without issues in L7 \*\*if we configure the setting `proxy-real-ip-cidr`\*\* with the correct information of the IP/network address of... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/miscellaneous.md | main | ingress-nginx | [
-0.08428390324115753,
0.015480579808354378,
0.028094755485653877,
-0.008219465613365173,
-0.015614962205290794,
-0.0015293947653844953,
0.04302273690700531,
-0.023027492687106133,
0.05296734347939491,
0.0794789269566536,
-0.06426946818828583,
-0.09582914412021637,
0.034512318670749664,
0.0... | 0.00669 |
# Command line arguments The following command line arguments are accepted by the Ingress controller executable. They are set in the container spec of the `ingress-nginx-controller` Deployment manifest | Argument | Description | |----------|-------------| | `--annotations-prefix` | Prefix of the Ingress annotations spe... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/cli-arguments.md | main | ingress-nginx | [
-0.0020122213754802942,
0.0577569380402565,
0.00014549406478181481,
-0.010500192642211914,
-0.008705511689186096,
0.0035410535056144,
0.020465457811951637,
0.0005625183694064617,
0.06899197399616241,
0.08806996047496796,
-0.034096166491508484,
-0.11728648096323013,
0.02493126690387726,
0.0... | 0.165075 |
the NGINX status server. All requests received on the port defined by the healthz-port parameter are forwarded internally to this path. (default "/healthz") | | `--health-check-timeout` | Time limit, in seconds, for a probe to health-check-path to succeed. (default 10) | | `--healthz-port` | Port to use for the healthz... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/cli-arguments.md | main | ingress-nginx | [
-0.03984178602695465,
0.10668159276247025,
-0.0874762162566185,
-0.008089644834399223,
-0.02232770249247551,
-0.04178815707564354,
0.0223084706813097,
-0.02523370087146759,
-0.006224307231605053,
0.06374774873256683,
-0.01014444325119257,
0.02875586599111557,
-0.025655750185251236,
-0.0195... | 0.118911 |
| `--status-update-interval` | Time interval in seconds in which the status should check if an update is required. Default is 60 seconds. (default 60) | | `--stream-port` | Port to use for the lua TCP/UDP endpoint configuration. (default 10247) | | `--sync-period` | Period at which the controller forces the repopulatio... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/cli-arguments.md | main | ingress-nginx | [
-0.07119452208280563,
0.011835615150630474,
-0.0851094052195549,
-0.045863281935453415,
-0.0040476033464074135,
-0.10835117846727371,
-0.0202199574559927,
-0.011202570982277393,
-0.018395816907286644,
0.02302534319460392,
0.06000319495797157,
-0.01347548421472311,
-0.00004584838097798638,
... | 0.14242 |
# Basic usage - host based routing ingress-nginx can be used for many use cases, inside various cloud providers and supports a lot of configurations. In this section you can find a common usage scenario where a single load balancer powered by ingress-nginx will route traffic to 2 different HTTP backend services based o... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/basic-usage.md | main | ingress-nginx | [
-0.06157994642853737,
-0.010540153831243515,
-0.00004438568794284947,
-0.008546818047761917,
-0.05740176513791084,
-0.04135903716087341,
0.04598953202366829,
-0.030906839296221733,
0.04874604195356369,
0.059019360691308975,
-0.07411228865385056,
-0.0579695887863636,
0.037963081151247025,
-... | 0.122881 |
# TLS/HTTPS ## TLS Secrets Anytime we reference a TLS secret, we mean a PEM-encoded X.509, RSA (2048) secret. !!! warning Ensure that the certificate order is leaf->intermediate->root, otherwise the controller will not be able to import the certificate, and you'll see this error in the logs ```W1012 09:15:45.920000 6 b... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/tls.md | main | ingress-nginx | [
-0.03006361797451973,
0.058427292853593826,
-0.059872981160879135,
0.03156905621290207,
0.04858558252453804,
-0.020875368267297745,
-0.03473764657974243,
0.015243858098983765,
0.04453233256936073,
0.025869641453027725,
0.07186923176050186,
-0.039238810539245605,
0.06256303191184998,
0.0530... | -0.023167 |
enforcement through redirect By default the controller redirects HTTP clients to the HTTPS port 443 using a 308 Permanent Redirect response if TLS is enabled for that Ingress. This can be disabled globally using `ssl-redirect: "false"` in the NGINX [config map][ConfigMap], or per-Ingress with the `nginx.ingress.kuberne... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/tls.md | main | ingress-nginx | [
0.02418898418545723,
0.08560330420732498,
0.019627800211310387,
0.05791706591844559,
-0.00223277835175395,
-0.022708142176270485,
-0.015367267653346062,
-0.059913817793130875,
0.09527043998241425,
0.030431032180786133,
-0.036513399332761765,
-0.07862816751003265,
0.047680459916591644,
0.03... | 0.081294 |
# FAQ - Migration to Kubernetes 1.22 and apiVersion `networking.k8s.io/v1` If you are using Ingress objects in your cluster (running Kubernetes older than v1.22), and you plan to upgrade to Kubernetes v1.22, this page is relevant to you. - Please read this [official blog on deprecated Ingress API versions](https://kube... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/k8s-122-migration.md | main | ingress-nginx | [
-0.09834345430135727,
0.026376111432909966,
0.06985554099082947,
0.02225637622177601,
0.04559736326336861,
0.05679348483681679,
0.01188489980995655,
-0.019907919690012932,
0.032179225236177444,
0.07870391011238098,
-0.0029681739397346973,
-0.0016757334815338254,
-0.013334915041923523,
-0.0... | 0.170201 |
the IngressClass documentation. ``` The `.spec.ingressClassName` behavior has precedence over the deprecated `kubernetes.io/ingress.class` annotation. ## I have only one ingress controller in my cluster. What should I do? If a single instance of the ingress-nginx controller is the sole Ingress controller running in you... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/k8s-122-migration.md | main | ingress-nginx | [
-0.03301144018769264,
0.03664662688970566,
0.07028526067733765,
0.022010156884789467,
0.06218700110912323,
0.03748339042067528,
0.0033019352704286575,
-0.014011493884027004,
0.050033070147037506,
0.0862935334444046,
-0.020133499056100845,
-0.06025365740060806,
-0.007638710550963879,
-0.017... | 0.10859 |
the new Ingress. Bear in mind that if you start Ingress-Nginx B with the command line argument `--watch-ingress-without-class=true`, it will serve: 1. Ingresses without any `ingressClassName` set 2. Ingresses where the deprecated annotation (`kubernetes.io/ingress.class`) matches the value set in the command line argum... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/k8s-122-migration.md | main | ingress-nginx | [
-0.08222292363643646,
0.003501587314531207,
0.026369910687208176,
0.01631980948150158,
0.05684854835271835,
0.023785054683685303,
0.035149190574884415,
-0.06574945896863937,
0.01841195672750473,
0.026808330789208412,
-0.015039993450045586,
-0.038092248141765594,
0.009980791248381138,
-0.02... | 0.124595 |
# Ingress Path Matching ## Regular Expression Support !!! important Regular expressions is not supported in the `spec.rules.host` field. The wildcard character '\\*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "\\*"). !!! note Pl... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/ingress-path-matching.md | main | ingress-nginx | [
-0.009014059789478779,
0.06362112611532211,
0.0839909091591835,
-0.021205013617873192,
-0.012445762753486633,
0.0016089159762486815,
0.014214914292097092,
-0.04866109788417816,
0.08049418777227402,
0.06085629388689995,
-0.07279171049594879,
-0.08542652428150177,
0.002057186095044017,
0.071... | 0.091961 |
the `test.com` server: ```txt location ~\* "^/foo/bar/[A-Z0-9]{3}" { ... } location ~\* "^/foo/bar/bar" { ... } ``` A request to `test.com/foo/bar/bar` would match the `^/foo/bar/[A-Z0-9]{3}` location block instead of the longest EXACT matching path. | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/ingress-path-matching.md | main | ingress-nginx | [
-0.046706218272447586,
0.008378878235816956,
0.020068105310201645,
-0.07035353034734726,
-0.05220638960599899,
-0.08268017321825027,
-0.00664524594321847,
-0.014737047255039215,
0.020959841087460518,
0.007043390069156885,
0.01872324012219906,
0.045523252338171005,
0.02024903893470764,
0.07... | 0.026626 |
# Exposing TCP and UDP services While the Kubernetes Ingress resource only officially supports routing external HTTP(s) traffic to services, ingress-nginx can be configured to receive external TCP/UDP traffic from non-HTTP protocols and route them to internal services using TCP/UDP port mappings that are specified with... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/exposing-tcp-udp-services.md | main | ingress-nginx | [
-0.067690908908844,
0.028343550860881805,
0.035752538591623306,
-0.048445701599121094,
-0.020326506346464157,
-0.00959739089012146,
0.07767947763204575,
-0.018997106701135635,
0.03325439617037773,
0.06489948183298111,
-0.0608307309448719,
-0.0465102382004261,
-0.0015638830373063684,
0.0271... | 0.164926 |
# Exposing FastCGI Servers > \*\*FastCGI\*\* is a [binary protocol](https://en.wikipedia.org/wiki/Binary\_protocol "Binary protocol") for interfacing interactive programs with a [web server](https://en.wikipedia.org/wiki/Web\_server "Web server"). [...] (It's) aim is to reduce the overhead related to interfacing betwee... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/fcgi-services.md | main | ingress-nginx | [
-0.12751077115535736,
-0.01370969507843256,
-0.03529747202992439,
0.044550757855176926,
0.0035790784750133753,
-0.022736022248864174,
0.015032383613288403,
-0.013054762035608292,
0.0773809477686882,
0.05753206089138985,
-0.021459480747580528,
-0.026812151074409485,
-0.032674528658390045,
-... | 0.236502 |
below until you have created the configMap seen above. - You can see that this ingress matches the service `example-service`, and the port named `fastcgi` from above. ``` apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: nginx.ingress.kubernetes.io/backend-protocol: "FCGI" nginx.ingress.kubernetes.i... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/fcgi-services.md | main | ingress-nginx | [
-0.07033871859312057,
-0.007788824383169413,
-0.017765216529369354,
0.012157255783677101,
0.009026900865137577,
-0.013923831284046173,
0.05425579100847244,
-0.005518181249499321,
0.024306565523147583,
0.09400557726621628,
-0.01145193725824356,
-0.11093059182167053,
0.0005100948619656265,
-... | 0.141659 |
# Multiple Ingress controllers By default, deploying multiple Ingress controllers (e.g., `ingress-nginx` & `gce`) will result in all controllers simultaneously racing to update Ingress status fields in confusing ways. To fix this problem, use [IngressClasses](https://kubernetes.io/docs/concepts/services-networking/ingr... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/multiple-ingress.md | main | ingress-nginx | [
-0.03111121617257595,
-0.0013638795353472233,
0.04245588555932045,
0.002707331208512187,
-0.011187057010829449,
-0.014101305976510048,
0.08162254095077515,
-0.04446498677134514,
0.02992129512131214,
0.1165890246629715,
0.0008276402950286865,
-0.06396657973527908,
0.025448961183428764,
-0.0... | 0.079246 |
# External Articles - [Pain(less) NGINX Ingress](http://danielfm.me/posts/painless-nginx-ingress.html) - [Accessing Kubernetes Pods from Outside of the Cluster](http://alesnosek.com/blog/2017/02/14/accessing-kubernetes-pods-from-outside-of-the-cluster) - [Kubernetes - Redirect HTTP to HTTPS with ELB and the Ingress-Ngi... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/external-articles.md | main | ingress-nginx | [
-0.034792713820934296,
0.08560637384653091,
0.03320859745144844,
0.0020826621912419796,
-0.009659863077104092,
-0.03685973584651947,
-0.02007896825671196,
-0.070075623691082,
0.06524160504341125,
0.057548511773347855,
-0.023967469111084938,
-0.04067211225628853,
0.06328898668289185,
0.0058... | 0.05403 |
# Custom errors When the [`custom-http-errors`][cm-custom-http-errors] option is enabled, the Ingress controller configures NGINX so that it passes several HTTP headers down to its `default-backend` in case of error: | Header | Value | | ---------------- | ---------------------------------------------------------------... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/custom-errors.md | main | ingress-nginx | [
-0.07719531655311584,
0.08984654396772385,
0.011184421367943287,
0.010801831260323524,
-0.009389477781951427,
-0.038268789649009705,
0.022987747564911842,
0.0286400206387043,
0.015283389016985893,
0.12163785845041275,
-0.0054705492220819,
-0.057966213673353195,
0.0376749262213707,
-0.04661... | 0.098583 |
# Monitoring Two different methods to install and configure Prometheus and Grafana are described in this doc. \* Prometheus and Grafana installation using Pod Annotations. This installs Prometheus and Grafana in the same namespace as NGINX Ingress \* Prometheus and Grafana installation using Service Monitors. This inst... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/monitoring.md | main | ingress-nginx | [
-0.10773523896932602,
0.047450367361307144,
-0.04404804855585098,
-0.006157325580716133,
0.012743142433464527,
-0.07452050596475601,
-0.02571527659893036,
0.010018053464591503,
0.010012609884142876,
0.0891314297914505,
-0.005258957389742136,
-0.08847782760858536,
-0.008450212888419628,
0.0... | 0.170535 |
URL: \_http://{node IP address}:{prometheus-svc-nodeport}\_ to load the Prometheus Dashboard. - According to the above example, this URL will be http://10.192.0.3:32630  #### Grafana - Install grafana using the below command ``` kubectl apply --kustomize github... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/monitoring.md | main | ingress-nginx | [
-0.09216522425413132,
0.05595860257744789,
-0.052358098328113556,
-0.044800858944654465,
-0.019939692690968513,
-0.09054575860500336,
-0.051441047340631485,
-0.04882979765534401,
0.04298964515328407,
0.06722165644168854,
-0.030096152797341347,
-0.05333125218749046,
-0.03394744545221329,
-0... | 0.179811 |
``` - Notice that prometheus is installed in a differenet namespace than ingress-nginx - If prometheus is not installed, then you can install from [here](https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack) ### Re-configure Ingress-Nginx Controller - The Ingress NGINX controller needs to be ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/monitoring.md | main | ingress-nginx | [
-0.05900103971362114,
0.048747673630714417,
0.007234492804855108,
0.003607078455388546,
0.003025413490831852,
-0.058489587157964706,
0.009774957783520222,
-0.024360770359635353,
0.04960654675960541,
0.09082267433404922,
-0.0421203188598156,
-0.10516872256994247,
0.00023854196479078382,
-0.... | 0.134441 |
so using the following command: ``` kubectl port-forward svc/prometheus-grafana 3000:80 -n prometheus ``` When you run the above command, you should see something like: ``` Forwarding from 127.0.0.1:3000 -> 3000 Forwarding from [::1]:3000 -> 3000 ``` - Open your browser and visit the following URL http://localhost:{por... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/monitoring.md | main | ingress-nginx | [
-0.09506702423095703,
0.0196455679833889,
-0.09241568297147751,
-0.0603775680065155,
-0.05968645587563515,
-0.09740640223026276,
-0.07847011834383011,
-0.025300445035099983,
0.020787622779607773,
0.07114075124263763,
-0.022627323865890503,
-0.07061294466257095,
-0.016256801784038544,
0.001... | 0.121664 |
1970/01/01 # TYPE nginx\_ingress\_controller\_nginx\_process\_oldest\_start\_time\_seconds gauge # HELP nginx\_ingress\_controller\_nginx\_process\_read\_bytes\_total number of bytes read # TYPE nginx\_ingress\_controller\_nginx\_process\_read\_bytes\_total counter # HELP nginx\_ingress\_controller\_nginx\_process\_req... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/monitoring.md | main | ingress-nginx | [
-0.05178041383624077,
0.001315401284955442,
-0.12540078163146973,
0.053906895220279694,
-0.04695325344800949,
-0.04627811908721924,
0.059988584369421005,
0.07058300077915192,
-0.0015330533497035503,
0.0777626559138298,
-0.01692100241780281,
-0.06072378531098366,
0.019612502306699753,
0.003... | 0.148233 |
# ConfigMaps ConfigMaps allow you to decouple configuration artifacts from image content to keep containerized applications portable. The ConfigMap API resource stores configuration data as key-value pairs. The data provides the configurations for system components for the nginx-controller. In order to overwrite nginx-... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.012754520401358604,
0.08800186961889267,
0.01819121092557907,
-0.0064164334908127785,
-0.0043868119828403,
-0.004928603768348694,
0.0624302513897419,
-0.011436202563345432,
0.009907955303788185,
0.03515958413481712,
0.0026115416549146175,
-0.039481163024902344,
0.03756947070360184,
-0.0... | 0.049077 |
| [max-worker-open-files](#max-worker-open-files) | int | 0 | | | [map-hash-bucket-size](#map-hash-bucket-size) | int | 64 | | | [nginx-status-ipv4-whitelist](#nginx-status-ipv4-whitelist) | []string | "127.0.0.1" | | | [nginx-status-ipv6-whitelist](#nginx-status-ipv6-whitelist) | []string | "::1" | | | [proxy-real-ip-... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.0008885649731382728,
0.10427604615688324,
-0.018146196380257607,
-0.014511986635625362,
-0.0077968258410692215,
-0.027499787509441376,
-0.0029323457274585962,
-0.03696995973587036,
-0.04150044545531273,
0.025998961180448532,
-0.05191102623939514,
0.04848575219511986,
-0.013004535809159279... | 0.002889 |
| | | [jaeger-endpoint](#jaeger-endpoint) | string | "" | | | [jaeger-service-name](#jaeger-service-name) | string | "nginx" | | | [jaeger-propagation-format](#jaeger-propagation-format) | string | "jaeger" | | | [jaeger-sampler-type](#jaeger-sampler-type) | string | "const" | | | [jaeger-sampler-param](#jaeger-sampler... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.039471160620450974,
0.0825231671333313,
-0.012248964980244637,
-0.04012414067983627,
-0.02411527745425701,
-0.0076972306706011295,
0.08766066282987595,
0.02397272363305092,
-0.015360517427325249,
-0.004794517997652292,
-0.02856055274605751,
-0.11557124555110931,
0.052265409380197525,
0.... | 0.089451 |
string | "" | | | [global-auth-cache-duration](#global-auth-cache-duration) | string | "200 202 401 5m" | | | [no-auth-locations](#no-auth-locations) | string | "/.well-known/acme-challenge" | | | [block-cidrs](#block-cidrs) | []string | "" | | | [block-user-agents](#block-user-agents) | []string | "" | | | [block-refe... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.0763559341430664,
0.08927448093891144,
-0.07554343342781067,
0.021398134529590607,
-0.02143346145749092,
-0.016559863463044167,
0.07177446037530899,
-0.07953710854053497,
0.03987591341137886,
-0.05712847784161568,
-0.012650196440517902,
-0.047740738838911057,
0.09329060465097427,
0.0390... | 0.040136 |
Sets buffer size for reading client request body. \_References:\_ [https://nginx.org/en/docs/http/ngx\_http\_core\_module.html#client\_body\_buffer\_size](https://nginx.org/en/docs/http/ngx\_http\_core\_module.html#client\_body\_buffer\_size) ## client-body-timeout Defines a timeout for reading client request body, in ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.007806845474988222,
0.11407940089702606,
-0.01573994569480419,
0.019109193235635757,
-0.0034510137047618628,
-0.059148047119379044,
0.014855632558465004,
0.012884645722806454,
0.06549087911844254,
0.07981414347887039,
-0.037198107689619064,
0.04725302755832672,
-0.028754550963640213,
0.... | 0.114095 |
entirely for character escaping in variables ("true") or controlled by log-format-escape-json ("false") Sets the nginx [log format](https://nginx.org/en/docs/http/ngx\_http\_log\_module.html#log\_format). ## log-format-escape-json Sets if the escape parameter allows JSON ("true") or default characters escaping in varia... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.04881257563829422,
0.040982551872730255,
0.022103257477283478,
0.004235840402543545,
0.0014928854070603848,
-0.00477363308891654,
-0.02774549089372158,
-0.00047550690942443907,
0.05688844248652458,
0.04070818051695824,
-0.02509215660393238,
-0.010088480077683926,
-0.005648039281368256,
... | 0.015286 |
use. The default is: `TLSv1.2 TLSv1.3`. Please check the result of the configuration using `https://ssllabs.com/ssltest/analyze.html` or `https://testssl.sh`. ## ssl-early-data Enables or disables TLS 1.3 [early data](https://tools.ietf.org/html/rfc8446#section-2.3), also known as Zero Round Trip Time Resumption (0-RTT... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.058299195021390915,
0.1299894005060196,
-0.03754943981766701,
0.043760158121585846,
-0.03120279125869274,
-0.0604429729282856,
-0.08284499496221542,
-0.009642976336181164,
0.07650034874677658,
-0.005689666140824556,
-0.03538994491100311,
-0.01833498664200306,
-0.028314581140875816,
0.06... | -0.066578 |
brotli. \_\*\*default:\*\*\_ `application/xml+rss application/atom+xml application/javascript application/x-javascript application/json application/rss+xml application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/svg+xml image/x-i... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.13523158431053162,
0.10663412511348724,
-0.06317421793937683,
-0.02537430077791214,
-0.00881212204694748,
-0.03917562589049339,
-0.010177464224398136,
-0.03424115106463432,
-0.029311925172805786,
-0.08005467057228088,
0.02596220374107361,
0.061877306550741196,
0.046085018664598465,
0.02... | 0.047207 |
server. The 0 value turns off this limitation. \_References:\_ [https://nginx.org/en/docs/stream/ngx\_stream\_proxy\_module.html#proxy\_next\_upstream\_timeout](https://nginx.org/en/docs/stream/ngx\_stream\_proxy\_module.html#proxy\_next\_upstream\_timeout) ## proxy-stream-next-upstream-tries Limits the number of possi... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.059863489121198654,
-0.01176487561315298,
0.05875607952475548,
-0.016682814806699753,
-0.013586556538939476,
-0.02461480163037777,
-0.025266382843255997,
-0.027088576927781105,
0.062446556985378265,
0.01672436110675335,
-0.05333000794053078,
-0.00003978378663305193,
0.0232333242893219,
... | -0.030934 |
OpenTelemetry extension. \_\*\*default:\*\*\_ is disabled \_References:\_ [https://github.com/open-telemetry/opentelemetry-cpp-contrib](https://github.com/open-telemetry/opentelemetry-cpp-contrib/tree/main/instrumentation/nginx) ## opentelemetry-operation-name Specifies a custom name for the server span. \_\*\*default:... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.042347729206085205,
0.07555495947599411,
-0.01834634505212307,
-0.005673334002494812,
-0.045649804174900055,
-0.11019568145275116,
-0.019767655059695244,
0.004524026997387409,
0.04320130497217178,
0.030130116268992424,
0.04401525855064392,
-0.07309777289628983,
-0.035927385091781616,
0.... | 0.171507 |
response. ## proxy-next-upstream Specifies in [which cases](https://nginx.org/en/docs/http/ngx\_http\_proxy\_module.html#proxy\_next\_upstream) a request should be passed to the next server. ## proxy-next-upstream-timeout [Limits the time](https://nginx.org/en/docs/http/ngx\_http\_proxy\_module.html#proxy\_next\_upstre... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.07119612395763397,
0.007361316122114658,
0.05060090124607086,
-0.031086644157767296,
-0.033119671046733856,
-0.01828889176249504,
-0.044283438473939896,
-0.01420971192419529,
0.02928982861340046,
0.02343192882835865,
-0.0385456420481205,
0.04906749725341797,
0.009314474649727345,
-0.022... | 0.045633 |
A comma-separated list of locations on which http requests will never get redirected to their https counterpart. \_\*\*default:\*\*\_ "/.well-known/acme-challenge" ## global-allowed-response-headers A comma-separated list of allowed response headers inside the [custom headers annotations](https://github.com/kubernetes/... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.01762143336236477,
0.11281970888376236,
0.015168906189501286,
-0.005493082571774721,
0.04102249816060066,
-0.012335779145359993,
0.031529925763607025,
-0.0596046969294548,
0.0662047490477562,
0.026470107957720757,
-0.05063825845718384,
-0.1108107641339302,
0.06271310895681381,
0.0489676... | 0.144959 |
debug-connections Enables debugging log for selected client connections. \_\*\*default:\*\*\_ "" \_References:\_ [https://nginx.org/en/docs/ngx\_core\_module.html#debug\_connection](https://nginx.org/en/docs/ngx\_core\_module.html#debug\_connection) ## strict-validate-path-type Ingress objects contains a field called p... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/configmap.md | main | ingress-nginx | [
-0.07839343696832657,
-0.004993030335754156,
0.03768870234489441,
0.030265983194112778,
-0.009473846293985844,
-0.06819091737270355,
0.048783570528030396,
-0.04682862013578415,
0.04429493099451065,
0.06904806196689606,
-0.025442618876695633,
-0.027339914813637733,
-0.0035872815642505884,
0... | 0.084774 |
# Annotations Scope and Risk |Group |Annotation | Risk | Scope | |--------|------------------|------|-------| | Aliases | server-alias | High | ingress | | Allowlist | allowlist-source-range | Medium | location | | BackendProtocol | backend-protocol | Low | location | | BasicDigestAuth | auth-realm | Medium | location ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations-risk.md | main | ingress-nginx | [
0.05750202015042305,
-0.00819296296685934,
-0.08382336050271988,
-0.02069990709424019,
0.041840024292469025,
-0.007797560654580593,
0.04622035473585129,
-0.043728142976760864,
-0.03951825574040413,
0.02180344983935356,
0.03655936196446419,
-0.09138123691082001,
0.08597911149263382,
0.03089... | 0.092318 |
| ingress | | ModSecurity | enable-modsecurity | Low | ingress | | ModSecurity | enable-owasp-core-rules | Low | ingress | | ModSecurity | modsecurity-snippet | Critical | ingress | | ModSecurity | modsecurity-transaction-id | High | ingress | | Opentelemetry | enable-opentelemetry | Low | location | | Opentelemetry | ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations-risk.md | main | ingress-nginx | [
-0.014065197668969631,
-0.04136921837925911,
-0.05208159610629082,
0.018941665068268776,
-0.01920080929994583,
-0.046150561422109604,
0.051466070115566254,
0.0007479763007722795,
-0.05554790794849396,
0.02067297324538231,
0.05851563811302185,
-0.03477137163281441,
0.09288763254880905,
-0.0... | 0.118059 |
ingress | | SessionAffinity | session-cookie-conditional-samesite-none | Low | ingress | | SessionAffinity | session-cookie-domain | Medium | ingress | | SessionAffinity | session-cookie-expires | Medium | ingress | | SessionAffinity | session-cookie-max-age | Medium | ingress | | SessionAffinity | session-cookie-name ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations-risk.md | main | ingress-nginx | [
0.010066534392535686,
-0.01025648508220911,
-0.023002952337265015,
-0.02681892178952694,
0.01019118633121252,
-0.022304989397525787,
0.02036946266889572,
0.009408419951796532,
-0.018395882099866867,
0.06430072337388992,
0.0024460728745907545,
-0.09094654768705368,
0.04141968488693237,
0.01... | 0.058281 |
# Annotations You can add these Kubernetes annotations to specific Ingress objects to customize their behavior. !!! tip Annotation keys and values can only be strings. Other types, such as boolean or numeric values must be quoted, i.e. `"true"`, `"false"`, `"100"`. !!! note The annotation prefix can be changed using th... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
-0.0503375269472599,
0.09049122035503387,
0.028970269486308098,
0.01195254735648632,
0.008408386260271072,
0.018226362764835358,
0.12911781668663025,
-0.025811081752181053,
0.05782204866409302,
0.09082029014825821,
-0.08045421540737152,
-0.11780700087547302,
-0.045040544122457504,
0.033575... | 0.153435 |
to `always`, it will be routed to the canary. When the cookie is set to `never`, it will never be routed to the canary. For any other value, the cookie will be ignored and the request compared against the other canary rules by precedence. \* `nginx.ingress.kubernetes.io/canary-weight`: The integer based (0 - ) percent ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
0.005500218365341425,
0.03688720613718033,
-0.00035395054146647453,
0.009967607446014881,
-0.05206026881933212,
-0.08096326142549515,
0.035323940217494965,
-0.04337826371192932,
0.041742682456970215,
0.038914624601602554,
-0.041788313537836075,
-0.027748191729187965,
-0.0874425619840622,
0... | 0.088459 |
is set to true; Session cookie paths do not support regex. Use `nginx.ingress.kubernetes.io/session-cookie-domain` to set the `Domain` attribute of the sticky cookie. Use `nginx.ingress.kubernetes.io/session-cookie-samesite` to apply a `SameSite` attribute to the sticky cookie. Browser accepted values are `None`, `Lax`... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
-0.03425253555178642,
0.0036542469169944525,
0.05534878745675087,
-0.024818938225507736,
-0.01051655039191246,
-0.0834357813000679,
0.029165169224143028,
-0.076258584856987,
0.03978440910577774,
0.026623114943504333,
-0.021111179143190384,
-0.05241503566503525,
-0.0328061617910862,
0.08951... | 0.006708 |
you need to call the upstream server by something other than `$host`. ### Client Certificate Authentication It is possible to enable Client Certificate Authentication using additional annotations in Ingress Rule. Client Certificate Authentication is applied per host and it is not possible to specify rules that differ f... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
-0.05709625035524368,
0.09821474552154541,
0.04464252293109894,
-0.014095688238739967,
-0.013758000917732716,
-0.05963391065597534,
0.03661384433507919,
0.010738358832895756,
0.10235238820314407,
0.06450570374727249,
-0.06996144354343414,
-0.1149882823228836,
0.05376376211643219,
0.0982510... | 0.04939 |
the certificate `tls.crt`, key `tls.key` in PEM format used for authentication to a proxied HTTPS server. It should also contain trusted CA certificates `ca.crt` in PEM format used to verify the certificate of the proxied HTTPS server. This annotation expects the Secret name in the form "namespace/secretName". \* `ngin... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
-0.07185540348291397,
0.07102017104625702,
0.027573714032769203,
-0.01322251372039318,
-0.03065604902803898,
-0.03140004724264145,
0.052962131798267365,
-0.0025101574137806892,
0.12562789022922516,
0.058651603758335114,
-0.01638603024184704,
-0.08860183507204056,
0.044450543820858,
0.03000... | 0.075723 |
will also be used to handle the error responses if both this annotation and the [custom-http-errors annotation](#custom-http-errors) are set. ### Enable CORS To enable Cross-Origin Resource Sharing (CORS) in an Ingress rule, add the annotation `nginx.ingress.kubernetes.io/enable-cors: "true"`. This will add a section i... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
-0.053753264248371124,
0.10208238661289215,
0.040797799825668335,
-0.044318024069070816,
0.009087393060326576,
0.010517086833715439,
-0.026511650532484055,
-0.02199586108326912,
0.0488334558904171,
0.0564919151365757,
-0.03093552216887474,
-0.09536653012037277,
-0.012879475019872189,
-0.00... | 0.182767 |
`nginx.ingress.kubernetes.io/client-body-buffer-size: 1K` # 1 kilobyte \* `nginx.ingress.kubernetes.io/client-body-buffer-size: 1m` # 1 megabyte \* `nginx.ingress.kubernetes.io/client-body-buffer-size: 1M` # 1 megabyte For more information please see [https://nginx.org](https://nginx.org/en/docs/http/ngx\_http\_core\_m... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
-0.023889275267720222,
0.0953570008277893,
0.01715715043246746,
-0.034814272075891495,
-0.06503444164991379,
-0.10166701674461365,
0.03950657695531845,
0.05123584344983101,
0.04607204720377922,
0.08532535284757614,
-0.06797005236148834,
-0.03132696822285652,
-0.031992170959711075,
0.005374... | 0.126554 |
set to `"true"`. !!! note For more information please see [global-auth-url](./configmap.md#global-auth-url). ### Rate Limiting These annotations define limits on connections and transmission rates. These can be used to mitigate [DDoS Attacks](https://www.nginx.com/blog/mitigating-ddos-attacks-with-nginx-and-nginx-plus)... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
-0.03415728360414505,
0.015398016199469566,
0.009560229256749153,
-0.026835501194000244,
-0.025415346026420593,
-0.08647630363702774,
-0.012970137409865856,
-0.009425394237041473,
0.07630819827318192,
0.06280215084552765,
0.004464976489543915,
-0.008359166793525219,
0.034021131694316864,
-... | 0.129352 |
the [`--enable-ssl-passthrough`](../cli-arguments.md) flag. !!! attention Because SSL Passthrough works on layer 4 of the OSI model (TCP) and not on the layer 7 (HTTP), using SSL Passthrough invalidates all the other annotations set on an Ingress object. ### Service Upstream By default the Ingress-Nginx Controller uses... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
-0.057238392531871796,
0.07781442254781723,
0.0576266348361969,
0.0090551832690835,
-0.00884296465665102,
-0.023312505334615707,
0.0157930888235569,
-0.07823998481035233,
0.09074623882770538,
-0.004017950501292944,
-0.06874249875545502,
-0.04567465931177139,
0.03175528347492218,
0.08693006... | 0.048989 |
required to have different values. To allow this we provide annotations that allows this customization: - `nginx.ingress.kubernetes.io/proxy-connect-timeout` - `nginx.ingress.kubernetes.io/proxy-send-timeout` - `nginx.ingress.kubernetes.io/proxy-read-timeout` - `nginx.ingress.kubernetes.io/proxy-next-upstream` - `nginx... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
-0.04075191169977188,
0.048121266067028046,
0.019521933048963547,
-0.030866174027323723,
-0.08626077324151993,
0.005118895787745714,
0.02973252907395363,
-0.030902007594704628,
0.08547093719244003,
0.025250671431422234,
-0.10593516379594803,
-0.021048009395599365,
-0.028860704973340034,
0.... | 0.095861 |
`proxy-busy-buffers-size` in the [ConfigMap](./configmap.md#proxy-busy-buffers-size). To use custom values in an Ingress rule, define this annotation: ```yaml nginx.ingress.kubernetes.io/proxy-busy-buffers-size: "16k" ``` ### Proxy max temp file size When [`buffering`](https://nginx.org/en/docs/http/ngx\_http\_proxy\_m... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
0.003213146235793829,
0.02850358933210373,
0.04046405479311943,
-0.017604494467377663,
-0.043675992637872696,
-0.07964541018009186,
0.02879290096461773,
0.01160587277263403,
0.03725159540772438,
0.10365352034568787,
-0.0471838153898716,
-0.021404245868325233,
-0.07088227570056915,
-0.05158... | 0.093057 |
Core Rule Set](https://www.modsecurity.org/CRS/Documentation/) by setting the following annotation: ```yaml nginx.ingress.kubernetes.io/enable-owasp-core-rules: "true" ``` You can pass transactionIDs from nginx by setting up the following: ```yaml nginx.ingress.kubernetes.io/modsecurity-transaction-id: "$request\_id" `... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/annotations.md | main | ingress-nginx | [
-0.07076414674520493,
0.060310088098049164,
-0.015360509976744652,
0.029552588239312172,
0.021645717322826385,
-0.03153128921985626,
0.08704159408807755,
0.030234768986701965,
0.08385287970304489,
0.04619996249675751,
0.028420232236385345,
-0.08490677922964096,
0.04420364275574684,
0.03829... | 0.15184 |
# Custom NGINX template The NGINX template is located in the file `/etc/nginx/template/nginx.tmpl`. Using a [Volume](https://kubernetes.io/docs/concepts/storage/volumes/) it is possible to use a custom template. This includes using a [Configmap](https://kubernetes.io/docs/concepts/storage/volumes/#example-pod-with-a-se... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/custom-template.md | main | ingress-nginx | [
-0.0199973713606596,
0.08175598829984665,
0.03458349406719208,
-0.018605921417474747,
-0.039528585970401764,
0.016608433797955513,
-0.02762744575738907,
0.03971094638109207,
0.11449599266052246,
0.037801921367645264,
-0.036354370415210724,
-0.02527473121881485,
-0.024473119527101517,
0.040... | 0.076364 |
# Log format The default configuration uses a custom logging format to add additional information about upstreams, response time and status. ``` log\_format upstreaminfo '$remote\_addr - $remote\_user [$time\_local] "$request" ' '$status $body\_bytes\_sent "$http\_referer" "$http\_user\_agent" ' '$request\_length $requ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/log-format.md | main | ingress-nginx | [
-0.01136286836117506,
0.01952502317726612,
-0.013569864444434643,
-0.007688861805945635,
-0.046367619186639786,
-0.035258207470178604,
0.016050726175308228,
0.03671945258975029,
0.006595564540475607,
0.07644233107566833,
-0.04002491384744644,
-0.0481250062584877,
0.013386218808591366,
0.02... | 0.006912 |
# NGINX Configuration There are three ways to customize NGINX: 1. [ConfigMap](./configmap.md): using a Configmap to set global configurations in NGINX. 2. [Annotations](./annotations.md): use this if you want a specific configuration for a particular Ingress rule. 3. [Custom template](./custom-template.md): when more s... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/nginx-configuration/index.md | main | ingress-nginx | [
-0.030192578211426735,
0.11479431390762329,
0.010117239318788052,
-0.061701349914073944,
0.018294934183359146,
0.023270605131983757,
0.015294747427105904,
0.04036718234419823,
-0.008006570860743523,
0.09674620628356934,
-0.0889422819018364,
-0.015187287703156471,
0.00021311324962880462,
-0... | 0.102866 |
# ModSecurity Web Application Firewall ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx that is developed by OWASP. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/third-party-addons/modsecurity.md | main | ingress-nginx | [
-0.09056887775659561,
0.024594813585281372,
-0.09321696311235428,
-0.023922841995954514,
0.09086974710226059,
-0.06472813338041306,
0.10251853615045547,
0.019624138250947,
0.03223622590303421,
0.005640100687742233,
0.043112464249134064,
-0.008040634915232658,
0.06596869975328445,
0.0647731... | 0.159819 |
# OpenTelemetry Enables requests served by NGINX for distributed telemetry via The OpenTelemetry Project. Using the third party module [opentelemetry-cpp-contrib/nginx](https://github.com/open-telemetry/opentelemetry-cpp-contrib/tree/main/instrumentation/nginx) the Ingress-Nginx Controller can configure NGINX to enable... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/third-party-addons/opentelemetry.md | main | ingress-nginx | [
-0.04316604882478714,
0.033314719796180725,
0.020284419879317284,
0.0010787721257656813,
-0.02466542087495327,
-0.08821281790733337,
-0.003612315049394965,
-0.0035959172528237104,
0.018895400688052177,
0.04860139265656471,
-0.024655554443597794,
-0.04880440607666969,
-0.02006208524107933,
... | 0.189492 |
add helm charts needed for grafana and OpenTelemetry collector helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts helm repo add grafana https://grafana.github.io/helm-charts helm repo update # deploy cert-manager needed for OpenTelemetry collector operator kubectl apply -f https://g... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/user-guide/third-party-addons/opentelemetry.md | main | ingress-nginx | [
-0.035699497908353806,
0.05870752036571503,
-0.01355066243559122,
-0.03295327350497246,
-0.0646430179476738,
-0.07748333364725113,
-0.08917682617902756,
-0.02171974442899227,
0.045475248247385025,
0.04147307947278023,
0.028960568830370903,
-0.15913952887058258,
-0.029176566749811172,
0.014... | 0.074063 |
# Hardening Guide Do not use in multi-tenant Kubernetes production installations. This project assumes that users that can create Ingress objects are administrators of the cluster. ## Overview There are several ways to do hardening and securing of nginx. In this documentation two guides are used, the guides are overlap... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/hardening-guide.md | main | ingress-nginx | [
-0.07558131963014603,
0.04772220551967621,
0.029199982061982155,
0.00034418204450048506,
-0.012964013032615185,
-0.042707622051239014,
0.01793782226741314,
-0.006844700779765844,
-0.002129613421857357,
-0.012022269889712334,
-0.010732152499258518,
-0.02572922222316265,
0.026227060705423355,
... | 0.138006 |
controller needs to update the configs dynamically| | | 2.3.2 Ensure access to NGINX directories and files is restricted (Scored) | OK | See previous answer| | | 2.3.3 Ensure the NGINX process ID (PID) file is secured (Scored)| OK | No PID-File due to docker design | | | 2.3.4 Ensure the core dump directory is secured ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/hardening-guide.md | main | ingress-nginx | [
-0.028548071160912514,
0.029004884883761406,
-0.033395469188690186,
-0.023444795981049538,
0.02743213251233101,
-0.03444913774728775,
-0.07833513617515564,
-0.02377699874341488,
-0.011759391985833645,
0.07534068822860718,
-0.025153230875730515,
-0.039877116680145264,
0.0036398242227733135,
... | -0.023664 |
default | | | 4.1.2 Ensure a trusted certificate and trust chain is installed (Not Scored)| ACTION NEEDED| For installing certs there are enough manuals in the web. A good way is to use lets encrypt through cert-manager | Install proper certificates or use lets encrypt with cert-manager | | 4.1.3 Ensure private key per... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/hardening-guide.md | main | ingress-nginx | [
-0.036681488156318665,
0.044118721038103104,
-0.0785718485713005,
0.006142486352473497,
-0.027582161128520966,
-0.009293771348893642,
-0.05592853203415871,
0.0471014678478241,
-0.026585308834910393,
-0.008602669462561607,
0.017002051696181297,
-0.051630791276693344,
0.021943695843219757,
0... | -0.022379 |
| ACTION NEEDED| Default timeout is 60s | Set via [this configuration parameter](https://github.com/kubernetes/ingress-nginx/blob/main/docs/user-guide/nginx-configuration/configmap.md#client-header-timeout) and respective body equivalent| | 5.2.2 Ensure the maximum request body size is set correctly (Scored)| ACTION NE... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/hardening-guide.md | main | ingress-nginx | [
-0.011432708241045475,
0.07537003606557846,
0.015570349991321564,
0.0044554369524121284,
-0.09244698286056519,
-0.03531093895435333,
-0.03386332467198372,
0.05139639601111412,
0.01776418648660183,
0.08170057088136673,
-0.07144361734390259,
-0.020372111350297928,
-0.0011378936469554901,
-0.... | 0.131175 |
# Installation Guide There are multiple ways to install the Ingress-Nginx Controller: - with [Helm](https://helm.sh), using the project repository chart; - with `kubectl apply`, using YAML manifests; - with specific addons (e.g. for [minikube](#minikube) or [MicroK8s](#microk8s)). On most Kubernetes clusters, the ingre... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/index.md | main | ingress-nginx | [
0.02402094192802906,
0.034876495599746704,
0.04215467721223831,
-0.019294200465083122,
0.031508225947618484,
-0.011554372496902943,
-0.058072708547115326,
0.03346419706940651,
0.04183849319815636,
0.09980680048465729,
-0.02595263347029686,
-0.05982322618365288,
0.003034658497199416,
-0.022... | 0.069973 |
public on the kubernetes nodes to which the DNS of your apps are pointing. ### Pre-flight check A few pods should start in the `ingress-nginx` namespace: ```console kubectl get pods --namespace=ingress-nginx ``` After a while, they should all be running. The following command will wait for the ingress controller pod to... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/index.md | main | ingress-nginx | [
0.00478355260565877,
-0.007428251672536135,
0.038203321397304535,
-0.02245146594941616,
-0.05254806578159332,
-0.05468367412686348,
-0.04888220131397247,
-0.02022910676896572,
0.08782786875963211,
0.11712921410799026,
-0.02866852842271328,
-0.0797877311706543,
-0.027259595692157745,
-0.028... | 0.123552 |
Desktop Kubernetes is available in Docker Desktop: - Mac, from [version 18.06.0-ce](https://docs.docker.com/docker-for-mac/release-notes/#stable-releases-of-2018) - Windows, from [version 18.06.0-ce](https://docs.docker.com/docker-for-windows/release-notes/#docker-community-edition-18060-ce-win70-2018-07-25) First, mak... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/index.md | main | ingress-nginx | [
-0.04757099226117134,
0.06065788120031357,
0.01706589199602604,
-0.036225397139787674,
-0.007633620873093605,
-0.008694431744515896,
-0.0665447860956192,
-0.023072849959135056,
0.08049921691417694,
0.0487930104136467,
-0.03293927013874054,
-0.09253790229558945,
-0.007025785278528929,
-0.01... | 0.027272 |
ensure the [keepalive\_timeout](https://nginx.org/en/docs/http/ngx\_http\_core\_module.html#keepalive\_timeout) value is configured less than your configured idle timeout to work as expected. By default, NGINX `keepalive\_timeout` is set to `75s`. More information with regard to timeouts can be found in the [official A... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/index.md | main | ingress-nginx | [
-0.007749980315566063,
0.01980811543762684,
-0.01681673899292946,
-0.006372432690113783,
-0.013415290042757988,
-0.0287136510014534,
-0.011137744411826134,
-0.006883011665195227,
0.06441039592027664,
0.0688667967915535,
-0.06440584361553192,
-0.07589170336723328,
0.009559725411236286,
-0.0... | 0.116876 |
controller watches Ingress objects from all namespaces. If you want to change this behavior, use the flag `--watch-namespace` or check the Helm chart value `controller.scope` to limit the controller to a single namespace. Although the use of this flag is not popular, one important fact to note is that the secret contai... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/index.md | main | ingress-nginx | [
-0.035697080194950104,
0.014686217531561852,
-0.02789267525076866,
0.01298101618885994,
0.0035477913916110992,
-0.04298495128750801,
0.036678120493888855,
-0.07252547889947891,
0.09646964073181152,
0.062385443598032,
0.0047514475882053375,
-0.11307412385940552,
0.0575108677148819,
-0.01417... | 0.096144 |
# Role Based Access Control (RBAC) ## Overview This example applies to ingress-nginx-controllers being deployed in an environment with RBAC enabled. Role Based Access Control is comprised of four layers: 1. `ClusterRole` - permissions assigned to a role that apply to an entire cluster 2. `ClusterRoleBinding` - binding ... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/rbac.md | main | ingress-nginx | [
-0.08413798362016678,
-0.04293042793869972,
-0.07847636938095093,
0.03190253674983978,
-0.03884272649884224,
0.03644513711333275,
0.11375033110380173,
-0.04506459832191467,
0.005224694963544607,
0.028963034972548485,
0.0007449381519109011,
-0.02453286573290825,
0.0354643389582634,
0.038621... | 0.14665 |
# Upgrading !!! important No matter the method you use for upgrading, \_if you use template overrides, make sure your templates are compatible with the new version of ingress-nginx\_. ## Without Helm To upgrade your ingress-nginx installation, it should be enough to change the version of the image in the controller Dep... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/upgrade.md | main | ingress-nginx | [
0.000445258105173707,
0.07246275991201401,
0.08126373589038849,
-0.06574798375368118,
0.06206599622964859,
-0.009215133264660835,
-0.007876724936068058,
0.011159759946167469,
0.019239647313952446,
0.1358836442232132,
0.002835093764588237,
-0.02960491180419922,
-0.0212432648986578,
0.004553... | 0.017211 |
# Bare-metal considerations In traditional \*cloud\* environments, where network load balancers are available on-demand, a single Kubernetes manifest suffices to provide a single point of contact to the Ingress-Nginx Controller to external clients and, indirectly, to any application running inside the cluster. \*Bare-m... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/baremetal.md | main | ingress-nginx | [
-0.12474530935287476,
0.037820469588041306,
0.05622410401701927,
0.03952408581972122,
-0.019670331850647926,
-0.0213596411049366,
0.02264011837542057,
0.022962218150496483,
0.024580780416727066,
0.015520724467933178,
-0.0455186553299427,
-0.08025025576353073,
0.029949570074677467,
-0.07848... | 0.213796 |
[metallb-l2]: https://metallb.universe.tf/concepts/layer2/ [metallb-install]: https://metallb.universe.tf/installation/ [metallb-trafficpolicies]: https://metallb.universe.tf/usage/#traffic-policies ## Over a NodePort Service Due to its simplicity, this is the setup a user will deploy by default when following the step... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/baremetal.md | main | ingress-nginx | [
-0.021537689492106438,
0.0226347167044878,
0.028945790603756905,
-0.03336147218942642,
-0.002798191038891673,
-0.02897556498646736,
0.009088311344385147,
-0.043122291564941406,
0.013979349285364151,
0.003700610250234604,
-0.019137442111968994,
-0.042944394052028656,
0.0033781693782657385,
... | 0.081864 |
default-http-backend-7c5bc89cc9-p86md 1/1 Running 172.17.1.1 host-2 ingress-nginx-controller-cf9ff8c96-8vvf8 1/1 Running 172.17.0.3 host-3 ingress-nginx-controller-cf9ff8c96-pxsds 1/1 Running 172.17.1.4 host-2 ``` Requests sent to `host-2` and `host-3` would be forwarded to NGINX and original client's IP would be prese... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/baremetal.md | main | ingress-nginx | [
-0.09930375218391418,
0.024874035269021988,
0.048387300223112106,
-0.00659023504704237,
0.02485952526330948,
-0.009552493691444397,
0.03943244367837906,
-0.03767964616417885,
0.013258564285933971,
0.07658909261226654,
-0.05112976208329201,
-0.03883300721645355,
0.0521019771695137,
-0.03705... | 0.084284 |
2 replicas, NGINX Pods inherit from the IP address of their host instead of an internal Pod IP. ```console $ kubectl -n ingress-nginx get pod -o wide NAME READY STATUS IP NODE default-http-backend-7c5bc89cc9-p86md 1/1 Running 172.17.1.1 host-2 ingress-nginx-controller-5b4cf5fc6-7lg6c 1/1 Running 203.0.113.3 host-3 ingr... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/baremetal.md | main | ingress-nginx | [
-0.028032472357153893,
-0.005032545421272516,
0.06438403576612473,
-0.0033421386033296585,
-0.010790704749524593,
-0.03961722180247307,
-0.02448209747672081,
-0.07625511288642883,
0.05433906987309456,
0.07712024450302124,
-0.03679685294628143,
-0.041207052767276764,
-0.004504716955125332,
... | 0.136365 |
suitable for private Kubernetes clusters where none of the nodes has a public IP address. On the edge side, the only prerequisite is to dedicate a public IP address that forwards all HTTP traffic to Kubernetes nodes and/or masters. Incoming traffic on TCP ports 80 and 443 is forwarded to the corresponding HTTP and HTTP... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/deploy/baremetal.md | main | ingress-nginx | [
-0.026949860155582428,
0.036446597427129745,
0.031272005289793015,
-0.03888370469212532,
-0.039860017597675323,
-0.016570383682847023,
0.023498523980379105,
-0.060821011662483215,
0.0938263013958931,
0.05302411690354347,
-0.00533277727663517,
-0.030582789331674576,
0.012502658180892467,
-0... | 0.109848 |
# Prerequisites Many of the examples in this directory have common prerequisites. ## TLS certificates Unless otherwise mentioned, the TLS secret used in examples is a 2048 bit RSA key/cert pair with an arbitrarily chosen hostname, created as follows ```console $ openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:20... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/examples/PREREQUISITES.md | main | ingress-nginx | [
-0.06128612160682678,
0.04889418184757233,
-0.02552863210439682,
-0.007168006617575884,
-0.03393147513270378,
-0.013609590008854866,
-0.052180539816617966,
-0.01550145074725151,
0.09736897796392441,
0.02374936453998089,
-0.015965566039085388,
-0.04643864557147026,
0.05308413878083229,
0.02... | 0.033092 |
# Ingress examples This directory contains a catalog of examples on how to run, configure and scale Ingress. Please review the [prerequisites](PREREQUISITES.md) before trying them. The examples on these pages include the `spec.ingressClassName` field which replaces the deprecated `kubernetes.io/ingress.class: nginx` an... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/examples/index.md | main | ingress-nginx | [
-0.034825846552848816,
0.059307631105184555,
0.06074732169508934,
-0.008992215618491173,
0.020093953236937523,
0.009086359292268753,
-0.05491100251674652,
0.05176123231649399,
-0.0010864182841032743,
0.08864961564540863,
-0.04185539484024048,
-0.07155122607946396,
-0.011515225283801556,
0.... | 0.142807 |
# Rewrite This example demonstrates how to use `Rewrite` annotations. ## Prerequisites You will need to make sure your Ingress targets exactly one Ingress controller by specifying the [ingress.class annotation](../../user-guide/multiple-ingress.md), and that you have an ingress controller [running](../../deploy/index.m... | https://github.com/kubernetes/ingress-nginx/blob/main//docs/examples/rewrite/README.md | main | ingress-nginx | [
0.0354069247841835,
0.05124300718307495,
0.05368640646338463,
0.02969154715538025,
-0.02260301262140274,
-0.015410074964165688,
0.026842614635825157,
-0.04696943610906601,
0.05076141282916069,
0.07882626354694366,
-0.05257076770067215,
-0.09128069877624512,
0.03447982296347618,
0.010710085... | 0.114103 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.