content large_stringlengths 3 20.5k | url large_stringlengths 53 192 ⌀ | branch large_stringclasses 4
values | source large_stringclasses 51
values | embeddings listlengths 384 384 | score float64 -0.21 0.65 |
|---|---|---|---|---|---|
## Beta Requirements To reach "beta" [grade][deprecation-policy] kind needs to at minimum: - [x] Improve documentation (Though this will eternally be "In Progress" !) - [X] create a documentation site - [#268] - [x] expand examples of using kind (We can always use more, but we have more of this now) - [x] cover known i... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/contributing/1.0-roadmap.md | main | kubernetes-kind | [
0.00709950365126133,
-0.02979014813899994,
0.06634097546339035,
0.016280852258205414,
0.04654654115438461,
0.0030916566029191017,
-0.04363948851823807,
-0.012532695196568966,
-0.06892905384302139,
0.04602011665701866,
-0.04975162446498871,
-0.049084488302469254,
-0.025337206199765205,
0.01... | 0.12344 |
for rough-priority in the [GitHub issues]. [kind-conformance-dashboard]: https://testgrid.k8s.io/conformance-kind [version-skew-policy]: https://kubernetes.io/docs/setup/release/version-skew-policy/ [deprecation-policy]: https://kubernetes.io/docs/reference/using-api/deprecation-policy/ [certified]: https://github.com/... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/contributing/1.0-roadmap.md | main | kubernetes-kind | [
-0.07368701696395874,
0.013364813290536404,
0.044531676918268204,
-0.021115534007549286,
0.007841130718588829,
-0.060456935316324234,
-0.05856308341026306,
0.04144955426454544,
0.0065499963238835335,
0.062409672886133194,
0.005427214317023754,
-0.03604697436094284,
0.009936156682670116,
0.... | 0.101529 |
## Overview KIND provides various utilities for development wrapped in `make`. Most scripts require more or less only `make` + `bash` on the host, and generally stick to POSIX utilities. Some scripts use `docker` e.g. for image building or to use docker images containing special tools. This guide will introduce you to ... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/contributing/development.md | main | kubernetes-kind | [
-0.0298945140093565,
0.0236975084990263,
0.04152689874172211,
-0.025144215673208237,
0.03312210366129875,
-0.05938348546624184,
-0.007807076442986727,
-0.00514427712187171,
-0.058147601783275604,
0.017203418537974358,
-0.009352531284093857,
-0.009555535390973091,
0.009754152037203312,
0.02... | -0.000783 |
our shell scripts (invoked via docker so you don't need to install it) - you can run just this one with `make shellcheck` ## Documentation Our docs are built with [hugo] just like [kubernetes.io](https://kubernetes.io). We provide a Makefile for development that automatically manages a go toolchain and uses that to bui... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/contributing/development.md | main | kubernetes-kind | [
-0.015152904205024242,
0.0426417775452137,
0.056398894637823105,
-0.030195455998182297,
0.06879056990146637,
-0.028435593470931053,
-0.09372253715991974,
0.07435342669487,
0.014677575789391994,
0.041596170514822006,
-0.04632451757788658,
-0.03569192811846733,
-0.00552469352260232,
-0.04295... | 0.102427 |
## Using KIND in CI The [kind-ci/examples] project is a work-in-progress project to give working examples of using KIND in various continuous integration environments / platforms. ## Tutorials and Guides Here are a useful external guides / tutorials covering things not yet covered in our docs: ### How to use KIND with ... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/resources.md | main | kubernetes-kind | [
-0.09714751690626144,
0.06714770942926407,
0.040897976607084274,
0.017011934891343117,
-0.05366052687168121,
-0.033094387501478195,
-0.030058877542614937,
0.00432076258584857,
-0.04489961266517639,
-0.01163224782794714,
-0.013828146271407604,
-0.1199265867471695,
0.03161360323429108,
-0.00... | 0.122658 |
## Installing Cloud Provider KIND Cloud Provider KIND can be installed using golang {{< codeFromInline lang="bash" >}} go install sigs.k8s.io/cloud-provider-kind@latest {{< /codeFromInline >}} or downloading one of the [released binaries](https://github.com/kubernetes-sigs/cloud-provider-kind/releases). Cloud Provider ... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/loadbalancer.md | main | kubernetes-kind | [
-0.013759113848209381,
0.035656336694955826,
0.046033311635255814,
-0.012982585467398167,
-0.05778471753001213,
0.04793669655919075,
-0.02339850552380085,
0.00028681039111688733,
0.03094077669084072,
0.008248676545917988,
-0.03689325600862503,
-0.038476359099149704,
-0.014613225124776363,
... | 0.073195 |
## Create A Cluster And Registry The following shell script will create a local docker registry and a kind cluster with it enabled. {{< codeFromFile file="static/examples/kind-with-registry.sh" >}} ## Using The Registry The registry can be used like this. 1. First we'll pull an image `docker pull gcr.io/google-samples/... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/local-registry.md | main | kubernetes-kind | [
-0.00025889198877848685,
-0.003440822008997202,
0.01313878782093525,
-0.035666171461343765,
-0.03463955223560333,
-0.02418561466038227,
-0.02391456626355648,
0.032707057893276215,
-0.006997148972004652,
0.03137679025530815,
-0.018103022128343582,
-0.11193965375423431,
0.041358064860105515,
... | 0.046698 |
## Installation > \*\*NOTE\*\*: `kind` does not require [`kubectl`](https://kubernetes.io/docs/reference/kubectl/overview/), > but you will not be able to perform some of the examples in our docs without it. > To install `kubectl` see the upstream [kubectl installation docs](https://kubernetes.io/docs/tasks/tools/insta... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/quick-start.md | main | kubernetes-kind | [
0.016902850940823555,
0.003977625630795956,
0.05152774974703789,
-0.04226594418287277,
-0.034658417105674744,
0.049338627606630325,
-0.010850070044398308,
-0.029180677607655525,
0.04314630851149559,
0.0516621358692646,
0.03544430807232857,
-0.07849819213151932,
-0.05505592003464699,
0.0124... | 0.089252 |
The `kind` maintainers are not involved in the creation > of these packages, and the upstream community makes no claims on the validity, safety, or content of them. On macOS via Homebrew: {{< codeFromInline lang="bash" >}} brew install kind {{< /codeFromInline >}} On macOS via MacPorts: {{< codeFromInline lang="bash" >... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/quick-start.md | main | kubernetes-kind | [
-0.046725817024707794,
-0.06728265434503555,
0.032121140509843826,
0.0027741403318941593,
-0.00937446765601635,
0.04568483307957649,
-0.03251354768872261,
0.029601329937577248,
-0.12027084827423096,
0.03567461296916008,
0.010353167541325092,
-0.005554994102567434,
-0.04065873846411705,
0.0... | 0.046362 |
no merging takes place. To see all the clusters you have created, you can use the `get clusters` command. For example, let's say you create two clusters: ``` kind create cluster # Default cluster context name is `kind`. ... kind create cluster --name kind-2 ``` When you list your kind clusters, you will see something l... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/quick-start.md | main | kubernetes-kind | [
0.019935164600610733,
-0.07069477438926697,
-0.004745036363601685,
0.011501996777951717,
-0.007440075743943453,
-0.004316640552133322,
0.018909525126218796,
-0.07423119992017746,
0.07605168223381042,
-0.02794184908270836,
0.07008496671915054,
-0.05726868659257889,
0.038354434072971344,
-0.... | 0.06156 |
pick up the official tar-gzipped files: ``` kind build node-image v1.30.0 ``` If you prefer to use existing tar-gzipped files like the ones from the kubernetes release, you can specify those as well from a URL or local directory, for example: ``` kind build node-image https://dl.k8s.io/v1.30.0/kubernetes-server-linux-a... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/quick-start.md | main | kubernetes-kind | [
-0.01661537028849125,
0.10300858318805695,
0.09159894287586212,
-0.006795315537601709,
0.06487998366355896,
0.0437440425157547,
-0.03729385882616043,
0.011594671756029129,
0.03752892091870308,
0.0976560115814209,
-0.031226297840476036,
-0.05093992501497269,
-0.05599289759993553,
0.00386382... | -0.027572 |
- role: control-plane image: kindest/node:v1.16.4@sha256:b91a2c2317a000f3a783489dfb755064177dbc3a0b2f4147d50f04825d016f55 - role: worker image: kindest/node:v1.16.4@sha256:b91a2c2317a000f3a783489dfb755064177dbc3a0b2f4147d50f04825d016f55 ``` ### Enable Feature Gates in Your Cluster Feature gates are a set of key=value p... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/quick-start.md | main | kubernetes-kind | [
0.05001596361398697,
-0.010571875609457493,
-0.027309855446219444,
0.030826019123196602,
0.022229628637433052,
0.051015693694353104,
-0.022554054856300354,
-0.04611249640583992,
-0.04387583211064339,
0.020891502499580383,
0.010785647667944431,
-0.04393408074975014,
-0.043334607034921646,
-... | 0.099781 |
## Contents \* [Troubleshooting Kind](#troubleshooting-kind) \* [Kubectl Version Skew](#kubectl-version-skew) (Kubernetes limits supported version skew) \* [Docker Installed With Snap](#docker-installed-with-snap) (snap filesystem restrictions problematic) \* [Failure to Build Node Image](#failure-to-build-node-image) ... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/known-issues.md | main | kubernetes-kind | [
0.042112722992897034,
0.018198594450950623,
0.06740669161081314,
-0.02196606621146202,
0.07167737931013107,
0.012902546674013138,
-0.04557987302541733,
-0.032232239842414856,
0.028053821995854378,
0.05471321940422058,
-0.02002507634460926,
-0.08270324766635895,
-0.02306097000837326,
0.0187... | 0.11133 |
Failed to build Kubernetes: failed to build images: exit status 2 Error: error building node image: failed to build kubernetes: failed to build images: exit status 2 Usage: kind build node-image [flags] Flags: --base-image string name:tag of the base image to use for the build (default "kindest/base:v20181203-d055041")... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/known-issues.md | main | kubernetes-kind | [
0.06223716214299202,
0.04593464359641075,
0.03991739824414253,
-0.005940620321780443,
0.03280987590551376,
-0.00852513499557972,
-0.07308318465948105,
-0.021203579381108284,
0.03227777034044266,
0.06815104186534882,
-0.033419255167245865,
-0.11426862329244614,
-0.04397891089320183,
0.03548... | 0.001762 |
indicates that your `~/.docker/` directory was created with incorrect permissions due to the `sudo` commands. ```txt WARNING: Error loading config file: /home/user/.docker/config.json open /home/user/.docker/config.json: permission denied ``` To fix this problem, either follow the docker's docs [manage docker as a non ... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/known-issues.md | main | kubernetes-kind | [
-0.018335627391934395,
0.04191518947482109,
-0.009488188661634922,
-0.0653262659907341,
0.015674885362386703,
-0.07633055746555328,
0.0071186283603310585,
0.09032351523637772,
-0.025901611894369125,
0.06791473925113678,
-0.036944299936294556,
-0.06941720843315125,
-0.005170552991330624,
0.... | -0.036537 |
/ "stat failed on /dev/..." On some systems, creating a cluster times out with these errors in kubelet.log (device varies): ```txt stat failed on /dev/nvme0n1p3 with error: no such file or directory "Failed to start ContainerManager" err="failed to get rootfs info: failed to get device for dir \"/var/lib/kubelet\": cou... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/known-issues.md | main | kubernetes-kind | [
0.03786522150039673,
0.014775754883885384,
0.044082462787628174,
-0.001436163205653429,
0.06887689232826233,
0.0024925528559833765,
-0.0349392369389534,
0.022178543731570244,
0.06892979890108109,
0.03088746964931488,
0.00907532125711441,
-0.11458992213010788,
-0.014446024782955647,
0.00764... | 0.131391 |
KIND in these environments will require upgrading your OS to a more recent version that supports cgroup namespaces. Another option is to run a virtual machine using a newer kernel. ## Failure to Create Cluster on WSL2 Some Linux kernel options for WSL2 do not have cgroup configured in a way that KIND and other Linux-fo... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/known-issues.md | main | kubernetes-kind | [
0.01862872950732708,
0.02064366452395916,
-0.03343182057142258,
0.038901254534721375,
0.021964507177472115,
-0.01500028371810913,
-0.10867024213075638,
0.01792067661881447,
-0.014272172935307026,
-0.03240033611655235,
-0.015827449038624763,
-0.0706210732460022,
-0.030713457614183426,
0.051... | -0.019551 |
## Overview Kubernetes auditing provides a security-relevant, chronological set of records documenting the sequence of actions in a cluster. Auditing requires a file to define the [audit policy] and a backend configuration to store the logged events. Auditing supports two types of backends: log (file) & webhook. The fo... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/auditing.md | main | kubernetes-kind | [
0.013146448880434036,
0.047537531703710556,
0.0073040202260017395,
0.025402624160051346,
0.050041403621435165,
-0.022175803780555725,
0.013921758159995079,
-0.06537137180566788,
0.10546916723251343,
0.09818705171346664,
-0.03688399866223335,
-0.0788082554936409,
-0.001471319468691945,
-0.0... | 0.158026 |
## Getting Started To configure kind cluster creation, you will need to create a [YAML] config file. This file follows Kubernetes conventions for versioning etc. A minimal valid config is: ```yaml kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 ``` This config merely specifies that we are configuring a KIND cluster (`... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/configuration.md | main | kubernetes-kind | [
0.04581110551953316,
-0.0038421351928263903,
0.057505931705236435,
-0.013426968827843666,
-0.0036645017098635435,
0.08554799109697342,
-0.09064164757728577,
-0.03372351452708244,
0.03462253883481026,
0.022891342639923096,
-0.01975163072347641,
-0.03754409775137901,
-0.03615569695830345,
0.... | 0.039569 |
kind.x-k8s.io/v1alpha4 networking: ipFamily: ipv6 {{< /codeFromInline >}} ##### Dual Stack clusters You can run dual stack clusters using `kind` 0.11+, on kubernetes versions 1.20+. {{< codeFromInline lang="yaml" >}} kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 networking: ipFamily: dual {{< /codeFromInline >}} ###... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/configuration.md | main | kubernetes-kind | [
0.009478477761149406,
0.004285601433366537,
0.03227635845541954,
-0.017785750329494476,
-0.04964405670762062,
0.0435229167342186,
-0.08703938871622086,
-0.03222697600722313,
0.030252857133746147,
0.034080807119607925,
-0.02087406814098358,
-0.037639934569597244,
-0.04043435677886009,
-0.01... | 0.089742 |
are available for setting on each entry in `nodes`. NOTE: not all options are documented yet! We will fix this with time, PRs welcome! ### Kubernetes Version You can set a specific Kubernetes version by setting the `node`'s container image. You can find available image tags on the [releases page](https://github.com/kub... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/configuration.md | main | kubernetes-kind | [
0.05684074014425278,
0.054359886795282364,
0.04817032441496849,
0.020086588338017464,
0.06441407650709152,
0.025735510513186455,
-0.011815148405730724,
-0.029336344450712204,
0.046844400465488434,
0.04009581729769707,
-0.020161520689725876,
-0.0153035344555974,
0.03085779957473278,
-0.0120... | 0.038647 |
kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane kubeadmConfigPatches: - | kind: InitConfiguration nodeRegistration: kubeletExtraArgs: node-labels: "my-label=true" {{< /codeFromInline >}} If you want to do more customization, there are four configuration types available during `kubeadm init... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/configuration.md | main | kubernetes-kind | [
0.025577856227755547,
0.04193279147148132,
-0.020294148474931717,
-0.00483858585357666,
-0.020983830094337463,
0.08337747305631638,
-0.03039429523050785,
-0.006052265875041485,
-0.04218360781669617,
0.005492303986102343,
-0.01808241568505764,
-0.05111027881503105,
-0.01412795390933752,
-0.... | 0.1098 |
## Use ImagePullSecrets Kubernetes supports configuring pods to use `imagePullSecrets` for pulling images. If possible, this is the preferable and most portable route. See [the upstream kubernetes docs for this][imagePullSecrets], kind does not require any special handling to use this. If you already have the config fi... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/private-registries.md | main | kubernetes-kind | [
-0.02462802454829216,
0.04317348822951317,
0.03157033771276474,
0.04562622308731079,
-0.008184232749044895,
-0.006467185448855162,
0.00032495352206751704,
0.061123017221689224,
0.013849660754203796,
0.05859464034438133,
-0.015382187440991402,
-0.026122892275452614,
0.02963785082101822,
-0.... | 0.090854 |
Starting with kind 0.11.0, [Rootless Docker](https://docs.docker.com/go/rootless/), [Rootless Podman](https://github.com/containers/podman/blob/master/docs/tutorials/rootless\_tutorial.md) and [Rootless nerdctl](https://github.com/containerd/nerdctl/blob/main/docs/rootless.md) can be used as the node provider of kind. ... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/rootless.md | main | kubernetes-kind | [
0.048505108803510666,
0.008514645509421825,
-0.03188755735754967,
-0.006090126466006041,
0.006283668335527182,
-0.037141405045986176,
-0.08895215392112732,
0.025464337319135666,
-0.01622573286294937,
0.05525478348135948,
0.07162217050790787,
-0.022003335878252983,
-0.01521898340433836,
0.0... | 0.068978 |
PID limit, do the following: 1. If using podman, edit your `containers.conf` file (generally located in `/etc/containers/containers.conf` or `~/.config/containers/containers.conf`) to increase the PIDs limit to a desired value (default 4096 on most systems): ```ini [containers] pids\_limit = 65536 ``` 2. Re-recreate th... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/rootless.md | main | kubernetes-kind | [
0.06081385910511017,
-0.01889939233660698,
0.01879643090069294,
-0.00046324526192620397,
0.03719911724328995,
-0.06457243114709854,
-0.047944556921720505,
0.05026337131857872,
0.004094280302524567,
0.08823425322771072,
-0.026081936433911324,
-0.005097553599625826,
-0.017162268981337547,
-0... | 0.121348 |
v1" ``` This failure can have many different root causes, but if it looks like the node container has initialized, it may be caused by an architectural issue with rootless Podman's log handling. kind monitors cluster startup by tailing `podman logs`, but in rootless mode, by default Podman uses a userspace log relay th... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/rootless.md | main | kubernetes-kind | [
0.048550061881542206,
0.03094233199954033,
0.033842168748378754,
0.014457178302109241,
0.07306728512048721,
-0.001699367887340486,
-0.07284199446439743,
0.01435225922614336,
0.004850993864238262,
0.07430190593004227,
-0.04723566770553589,
0.0023436679039150476,
-0.01724250242114067,
0.0402... | 0.039615 |
## Getting Windows 10 or 11 Download the latest ISO at https://www.microsoft.com/en-us/software-download/. Choose the latest Windows 10 or Windows 11 release. ### Installing on a virtual machine Required Settings - Supported processor and operating system, see [Enable Nested Virtualization](https://learn.microsoft.com/... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/using-wsl2.md | main | kubernetes-kind | [
0.03206755220890045,
0.04591567441821098,
0.02053428441286087,
-0.04922448843717575,
-0.02975139021873474,
0.022698378190398216,
-0.06631156802177429,
-0.006899526808410883,
-0.08008552342653275,
0.006183886434882879,
0.03197993338108063,
0.01986902579665184,
-0.07971015572547913,
0.024584... | 0.096149 |
with Session Affinity If you want to create a Kubernetes Service with `sessionAffinity: ClientIP` it will not be accessible (and neither will any Service created afterwards). WSL2 kernel is missing `xt\_recent` kernel module, which is used by Kube Proxy to implement session affinity. You need to compile a custom kernel... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/using-wsl2.md | main | kubernetes-kind | [
0.03648308664560318,
0.03119562193751335,
-0.03290988877415657,
-0.019577352330088615,
-0.01827477663755417,
-0.034118473529815674,
0.005253924988210201,
0.07861325144767761,
0.07889150828123093,
0.010434560477733612,
-0.0018971851095557213,
-0.045957256108522415,
-0.006842745002359152,
0.... | -0.002818 |
## Using a pre-built [node image][node image] KIND provides some pre-built images, these images contain everything necessary to create a cluster and can be used in an offline environment. You can find available image tags on the [releases page][releases page]. Please include the `@sha256:` [image digest][image digest] ... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/working-offline.md | main | kubernetes-kind | [
0.010651722550392151,
0.04435421898961067,
0.04993247240781784,
0.006142489146441221,
0.1346120983362198,
-0.031252406537532806,
-0.059916649013757706,
-0.028157219290733337,
-0.06197308003902435,
0.03971002995967865,
0.024427182972431183,
-0.015256080776453018,
0.007456390652805567,
-0.03... | 0.062162 |
EOF | kind create cluster --config=- kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 # 3 control plane node and 1 workers nodes: - role: control-plane - role: control-plane - role: control-plane - role: worker EOF ``` Note that in an offline environment, in addition to preparing the node image, you also need to prepar... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/working-offline.md | main | kubernetes-kind | [
-0.032664407044649124,
0.07876579463481903,
0.02077152021229267,
0.03895697370171547,
0.027295667678117752,
0.027263903990387917,
-0.001817998243495822,
0.024590466171503067,
-0.053791992366313934,
0.03244726359844208,
-0.03652535751461983,
-0.053135648369789124,
0.013189907185733318,
-0.0... | 0.102937 |
## Compatibility: This guide applies to [cloud-provider-kind](https://github.com/kubernetes-sigs/cloud-provider-kind) v0.9.0+. For older versions, refer to historical docs. ## Setting Up Ingress Ingress exposes HTTP and HTTPS routes from outside the cluster to services within the cluster. Since cloud-provider-kind v0.9... | https://github.com/kubernetes-sigs/kind/blob/main/site/content/docs/user/ingress.md | main | kubernetes-kind | [
-0.027953164651989937,
-0.009094711393117905,
0.027897246181964874,
0.0065252166241407394,
-0.014249185100197792,
0.02940423972904682,
0.010961540974676609,
0.0025448831729590893,
0.04907701537013054,
0.06657423824071884,
-0.027155201882123947,
-0.05377720296382904,
-0.0005199394072405994,
... | 0.158619 |
# 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... | null | main | kubernetes-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": "" } }... | null | main | kubernetes-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... | null | main | kubernetes-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.... | null | main | kubernetes-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]... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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#L39) - [should not allow REALLY large ingresses](https://github.com/kubernetes/ingress-ngi... | null | main | kubernetes-ingress-nginx | [
-0.002317632082849741,
0.051971741020679474,
0.05584888532757759,
-0.02953612618148327,
0.03880258649587631,
-0.050118669867515564,
-0.03941810503602028,
-0.015841642394661903,
-0.03147708997130394,
0.0692669227719307,
0.012168504297733307,
-0.03715996444225311,
-0.0046720183454453945,
0.0... | 0.088233 |
by default](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/annotations/auth.go#L420) - [user does not retain 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 ... | null | main | kubernetes-ingress-nginx | [
-0.050290100276470184,
0.07280293852090836,
0.04103498160839081,
-0.018191922456026077,
0.032570794224739075,
-0.06379678845405579,
0.034283872693777084,
0.025739962235093117,
0.012424390763044357,
0.05224990472197533,
-0.029467863962054253,
-0.07982546091079712,
-0.05823368579149246,
0.01... | 0.093651 |
canary if canary weight is 100 and 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 ... | null | main | kubernetes-ingress-nginx | [
0.02434968389570713,
0.016311459243297577,
0.05196315422654152,
0.0031775699462741613,
-0.0021951061207801104,
-0.08316948264837265,
-0.04416094347834587,
-0.028891058638691902,
0.01723502203822136,
0.04599366337060928,
-0.035129934549331665,
-0.065766841173172,
-0.061253760010004044,
0.03... | 0.092793 |
when request exceed timeout](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/annotations/grpc.go#L280) ### [http2-push-preload](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/annotations/http2pushpreload.go#L27) - [enable the http2-push-preload directive](https://github.com/kubernetes/i... | null | main | kubernetes-ingress-nginx | [
-0.04954010620713234,
0.044004883617162704,
0.06754981726408005,
-0.02300696074962616,
-0.025811366736888885,
-0.03816960006952286,
-0.0759805291891098,
-0.02231629006564617,
0.04402410611510277,
0.060076113790273666,
0.013578223995864391,
-0.015621710568666458,
-0.05100368708372116,
-0.01... | 0.076644 |
if the annotation value is empty](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/annotations/xforwardedprefix.go#L57) ### [[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-ngin... | null | main | kubernetes-ingress-nginx | [
-0.0672140121459961,
0.043010514229536057,
0.029144935309886932,
-0.006335180718451738,
0.06972554326057434,
-0.007470745127648115,
-0.02578848786652088,
-0.03582756593823433,
0.056045569479465485,
-0.01950215734541416,
0.045320991426706314,
-0.15089711546897888,
-0.054354529827833176,
0.0... | 0.119279 |
metrics are present](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/metrics/metrics.go#L73) - [request metrics per 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 w... | null | main | kubernetes-ingress-nginx | [
-0.01380833052098751,
0.01678011380136013,
-0.008619805797934532,
0.0104565704241395,
-0.02366822212934494,
-0.042574938386678696,
-0.01539580337703228,
-0.02730274200439453,
0.05394553020596504,
0.01911601610481739,
0.017466172575950623,
-0.08644711971282959,
-0.037997275590896606,
0.0468... | 0.099967 |
when request any protected service](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/settings/global\_external\_auth.go#L91) - [should 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/m... | null | main | kubernetes-ingress-nginx | [
-0.06477425992488861,
0.04085772484540939,
0.0022978486958891153,
-0.03580688312649727,
0.036882735788822174,
-0.040355052798986435,
0.027804454788565636,
-0.022270940244197845,
0.03814930468797684,
0.07540436834096909,
0.011869312264025211,
-0.03631485626101494,
-0.0030985537450760603,
0.... | 0.103929 |
code 200 when accessing '/noauth' unauthenticated](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/settings/no\_auth\_locations.go#L82) ### [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 redire... | null | main | kubernetes-ingress-nginx | [
-0.03153043985366821,
0.06741174310445786,
0.009951517917215824,
-0.009393474087119102,
-0.003967995289713144,
-0.07767881453037262,
-0.015189945697784424,
-0.032393891364336014,
0.08838935941457748,
0.024729806929826736,
0.02897217683494091,
-0.07119564712047577,
0.026647547259926796,
0.0... | 0.049838 |
the configuration](https://github.com/kubernetes/ingress-nginx/tree/main//test/e2e/tcpudp/tcp.go#L168) | null | main | kubernetes-ingress-nginx | [
-0.05755865201354027,
0.06252304464578629,
0.06293386965990067,
-0.01344822533428669,
-0.02573602832853794,
-0.009286930784583092,
0.0007509190472774208,
-0.015360639430582523,
0.020742792636156082,
0.07126332074403763,
0.02169637195765972,
-0.05980418249964714,
-0.024052152410149574,
-0.0... | 0.159455 |
# 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... | null | main | kubernetes-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 ... | null | main | kubernetes-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... | null | main | kubernetes-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 |
# Retirement [What You Need to Know about Ingress NGINX Retirement](https://www.kubernetes.io/blog/2025/11/11/ingress-nginx-retirement/): \* Best-effort maintenance will continue until March 2026. \* Afterward, there will be no further releases, no bugfixes, and no updates to resolve any security vulnerabilities that m... | null | main | kubernetes-ingress-nginx | [
-0.06336621195077896,
0.06500741094350815,
0.025072552263736725,
-0.0054951440542936325,
0.006782945711165667,
0.03690354898571968,
-0.05578578636050224,
-0.0028634341433644295,
-0.02335331030189991,
0.09691879153251648,
0.0018331428291276097,
0.0326671376824379,
0.03951495885848999,
-0.03... | 0.169112 |
# 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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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. | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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 | | ---------------- | ---------------------------------------------------------------... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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 ... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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-... | null | main | kubernetes-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-... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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 ... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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:... | null | main | kubernetes-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. Value must be either `off` or two space-separated tokens (source domain and replacement). ## 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 ... | null | main | kubernetes-ingress-nginx | [
-0.07256174087524414,
0.013693910092115402,
0.04583359509706497,
-0.03677274286746979,
-0.01989847794175148,
-0.02657141722738743,
-0.03786352276802063,
0.011251728050410748,
0.04623517394065857,
0.025437131524086,
-0.03874488174915314,
0.0009201424545608461,
0.00753442570567131,
-0.046855... | 0.038951 |
as a domain name or IP address. ## syslog-port Sets the port of syslog server. \_\*\*default:\*\*\_ 514 ## no-tls-redirect-locations 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-respo... | null | main | kubernetes-ingress-nginx | [
0.030052507296204567,
0.07576321065425873,
0.03583783283829689,
-0.028312772512435913,
0.03812559321522713,
-0.06053674966096878,
0.029718466103076935,
-0.07594272494316101,
0.08602671325206757,
0.04009693115949631,
-0.05128885433077812,
-0.08448272198438644,
0.033962901681661606,
0.075079... | 0.109913 |
unknown virtualhost. This parameter helps to mitigate the fingerprinting using default certificate of ingress. \_\*\*default:\*\*\_ "false" \_References:\_ [https://nginx.org/en/docs/http/ngx\_http\_ssl\_module.html#ssl\_reject\_handshake](https://nginx.org/en/docs/http/ngx\_http\_ssl\_module.html#ssl\_reject\_handshak... | null | main | kubernetes-ingress-nginx | [
-0.06920849531888962,
0.10820721089839935,
0.013358674943447113,
0.019194206222891808,
0.028320766985416412,
-0.06522244960069656,
0.03641850873827934,
-0.04937145486474037,
0.053851909935474396,
0.04781346395611763,
0.022667689248919487,
-0.08087925612926483,
0.019868355244398117,
0.04319... | 0.103769 |
# 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 ... | null | main | kubernetes-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 | ... | null | main | kubernetes-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 ... | null | main | kubernetes-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... | null | main | kubernetes-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 ... | null | main | kubernetes-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`... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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... | null | main | kubernetes-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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.