70 Commits

Author SHA1 Message Date
vonhatnam1212
918353f0b5 Update nginx controller from 1.12.0-beta.0 to 1.12.1 2025-04-03 14:33:43 +07:00
Benjamin Elder
ba3f8b4cb5 update local registry note for containerd 2.x 2025-03-05 09:13:32 -08:00
Antonio Ojea
f138420617 update ingress docs
The existing manifest was not updated, we need to wait for a new
rrelease but until then, it is better we host it ourselves so the guide
works correctly.

In addition, remove a comment that no longer applies since current
configuration of Ingress uses only standard options.
2024-11-08 21:31:13 +00:00
Antonio Ojea
89b253cd97 Improve the ingress controller guide
In addition to the extraPortMapping example, document how to run the
Ingress with a LoadBalancer provisioning by cloud-provider kind, that
provides a more realistic experience.

It also removes the specific implimentation details of the guide so it
is more agnostic of the Ingress implementation.

Change-Id: I865e72ca4571f0c513a1e9e412bc5e9c06a67a51
2024-10-29 12:14:09 +00:00
Antonio Ojea
4a15cec919 use agnhost for the documentation manifests
Change-Id: I863b058dc80752e2ee48ace96ff561c4fce02dca
2024-10-29 09:48:23 +00:00
Rich Burroughs
411ff4c620 Update usage.yaml
The pathType Prefix no longer works, it generates errors. This is the workaround suggested in ingress-nginx issue #10200. I tested it and it works.
2024-10-24 14:24:56 -07:00
Benjamin Elder
057058faa4 simplify ingress guide, add Gateway API note
- we should use contour's external docs instead of duplciating them
- we dropped kong docs but didn't quite clean up everything, followed up here
2024-06-26 20:22:46 -07:00
Antonio Ojea
3248acfc66 use cloud-provider-kind as recommended loadbalancer 2024-04-21 11:02:58 +00:00
Matthias Wessendorf
c0371cf3ca run registry as bridge network
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
2023-11-03 08:21:59 +01:00
Matthias Wessendorf
bef26cf7a2 Using --net=kind for running the container seem to work, and does not make podman cry, due to the docker network connect call
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
2023-10-31 17:14:20 +01:00
Aryansharma9917
26d2b30630 Fixed Documentation Bug 2023-06-24 11:14:10 +05:30
Benjamin Elder
791b3dc43c switch registry script to use containerd hosts dir 2023-05-22 16:49:43 -07:00
Benjamin Elder
8387c02e7c explicitly disable config_path in registry script, so we can eventually enable it by default and pivot to using it 2023-05-16 22:16:20 -07:00
Xiangcheng.Kuo
2a022a82df update kong-ingress-usage 2023-04-25 15:06:48 +08:00
Carsten Lenz
030875597b chore: indentation adjusted
Signed-off-by: Carsten Lenz <git@lenz-online.org>
2022-12-15 11:13:56 +01:00
Carsten Lenz
30ac91ae4f chore: use agnhost image instead of a branded image
Signed-off-by: Carsten Lenz <git@lenz-online.org>
2022-12-15 10:49:12 +01:00
Carsten Lenz
8aa2ed7e53 chore: use v1 of image for availability reasons
Signed-off-by: Carsten Lenz <git@lenz-online.org>
2022-12-14 21:10:47 +01:00
Carsten Lenz
15c204cd30 chore: use aks-helloworld container instead of http-echo
Signed-off-by: Carsten Lenz <git@lenz-online.org>
2022-12-14 20:16:19 +01:00
Asbjørn Apeland
15455817ef doc: refactor copy to clipboard button (#2894)
* doc: remove copy button background colour

the motivation for this commit is that I often get a feeling of having
marked the COPY buttons, but when I check, it turns out I haven't

that happens because the COPY buttons have a background colour that is
basically the same as when you mark text

* doc: use emoji for copy button

kind seems to be fond of emojis, it can maybe work here as well?

* doc: copy kubernetes.io code blocks design

as per feedback in PR

* doc: comply with copycode.svg license

* Revert "doc: comply with copycode.svg license"

This reverts commit c018fda4bc.
2022-10-26 07:45:57 -07:00
Benjamin Elder
60e9c28990 steer users away from mount propagation 2022-10-20 13:41:32 -07:00
Federico Paolinelli
f1db4acf0d Suggest a more updated metallb version
The latest metallb version is configurable via CRs instead of configmap.
Here we suggest using the latest version and we change the configuration
from configmap to CRs.

Signed-off-by: Federico Paolinelli <fedepaol@gmail.com>
2022-09-07 16:15:00 +02:00
Bryan A. S
bccdb8536a doc: fix kong ingress https port
From 43/tcp/host to 443/tcp/host.
2022-08-13 02:21:21 -03:00
Chao Dai
bfce9c8ec2 Local registry example uses port 5001 to be more mac friendly 2022-02-04 16:52:04 -08:00
Kubernetes Prow Robot
666b3368ea Merge pull request #2603 from gAmUssA/docs/ingress-kong
added Kong ingress example
2022-01-28 06:48:30 -08:00
Viktor Gamov
18dbede261 added Kong ingress example 2022-01-27 11:17:36 -05:00
Benjamin Elder
fef94ad4fe minor follow-up tweaks to kind-with-registry.sh 2022-01-25 10:27:02 -08:00
Sean McGinnis
90eef3afb4 Local registry: only attach network if missing
The example script for creating a kind cluster with a local registry
will connect the container to the "kind" network. The first time the
local registry is created, this is fine and is what is needed. On
subsequent runs to create new clusters, if the local registry container
has already been set up, the command to attach to the "kind" network
will emit an error message to the create output that can be confusing.

This updates the example script to do a basic check of the registry
containers network configuration. If the kind network appears to be
already connected, then the script will not attempt to connect it again.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2022-01-24 16:29:06 -06:00
Lubomir I. Ivanov
26de74a756 handle "master" label/taint changes for kubeadm 1.24
As per the kubeadm KEP for "master" label/taint changes:
- kubeadm 1.24 nodes will only have the "control-plane" label.
- kubeadm 1.24 nodes will have both the "master"
and "control-plane" taints.
- kubeadm 1.25 nodes will have only the "control-plane" taint

Adapt kind to these changes and add TODOs with links
for the tracking issue in k-sigs/kind.
2022-01-17 16:04:33 +02:00
Peter Valdemar Mørch
90097e282a examples/kind-with-registry.sh now also works with other than reg_port='5000'
kind-registry is accessed from inside docker, so
regardless of what port is used when starting it with:

    -p "127.0.0.1:${reg_port}:5000"

It must always be accessed as kind-registry:5000 and not
kind-registry:${reg_port}
2021-09-30 01:51:32 +02:00
Stéphane Este-Gracias
47d47043e0 Fix defaults 2021-07-22 13:59:06 +00:00
Stéphane Este-Gracias
29de9b8a31 Add doc for optional parameters on extraMounts 2021-07-22 09:09:24 +00:00
joao brito junior
86cd3d039e Update ingress from v1bet1 to v1
Update ingress from v1bet1 to v1 and update `Ingress.spec.rules[0].http.paths[0].backend` changes.
https://kubernetes.io/docs/concepts/services-networking/ingress/
2021-06-12 20:15:22 -03:00
Kubernetes Prow Robot
413baa8458 Merge pull request #1996 from micarlise/micarlise/document.loadbalancer
document loadbalancer
2021-01-20 00:27:59 -08:00
M Carlise
4cb45db3f7 docs: loadbalancer userguide
documents an example of using metallb in KinD to get LoadBalancer
services past pending EXTERNAL-IP.
2021-01-19 21:11:14 -05:00
Nicholas Dille
a10422a6f3 Prevent remote access to insecure registry 2020-11-26 14:57:36 +01:00
Nick Santos
87d48a8fac site: update the registry docs to use the config map instead of annotations 2020-10-16 15:40:25 -04:00
Kannan Manickam
77e7b478ec Update ingress example to use networking.k8s.io
extensions api group is deprecated in newer versions of Kubernetes.
2020-09-16 04:26:22 -07:00
Wolodja Wentland
5157b99351 Clarify licensing of code examples
The license of code examples was previously up to interpretation as
the presence of a LICENSE file in `site/` (cf. [0]) implied CC-BY 4.0
even though licensing code under that license is recommended against
even by creative commons themselves (cf. [1]).

In line with the licensing requirements stipulated in the CNCF
Charter, section 11 (cf. [2]), code examples are licensed under Apache
License, Version 2.0.

This commit clarifies the licensing situation by both including an
Apache License, Version 2.0 LICENSE file in the example directory and
adding a license statement to the website footer.

[0]: https://github.com/kubernetes-sigs/kind/blob/master/site/LICENSE
[1]: https://creativecommons.org/faq/#can-i-apply-a-creative-commons-license-to-software
[2]: https://github.com/cncf/foundation/blob/master/charter.md#11-ip-policy
2020-09-01 09:05:06 +01:00
Max Renaud
96053293eb Update site/static/examples/kind-gcr.sh
Co-authored-by: Benjamin Elder <bentheelder@google.com>
2020-08-28 11:37:20 -07:00
Max Renaud
8f7db5e4ef Modify kind-gcr.sh to prevent the use of credsStore 2020-08-28 11:24:01 -07:00
Benjamin Elder
4582108d9e fix shellcheck lints 2020-07-26 23:07:28 -07:00
Amit Watve
2395dc2c30 Use tagged image instead of latest for ingress guide. 2020-06-09 17:16:47 -07:00
Benjamin Elder
e05fb155ae add tilt docs link 2020-05-01 13:31:52 -07:00
Benjamin Elder
daa1c81eec simplify script for v0.8 2020-05-01 10:20:51 -07:00
Benjamin Elder
4f9eca2de3 annotate nodes for tilt 2020-05-01 10:18:25 -07:00
Benjamin Elder
ab3205d817 fix kind-with-registry for v0.8 2020-05-01 10:13:54 -07:00
Gustav Westling
42764dca93 Set listenAddress in example to 127.0.0.1
Docker for mac fails with the following if --publish is set to 127.0.0.0:

> bind: can't assign requested address.

Updating the example to be working out of the box.
2020-04-22 22:43:56 +02:00
Manuel Alejandro de Brito Fontes
308c83be8e Simplify steps to install ingress-nginx 2020-04-20 11:26:23 -04:00
Benjamin Elder
3a70a3cf77 HONK
add securitygoose warning number 1
2020-03-09 22:19:31 -07:00
Benjamin Elder
4b3beebe8d simplify registry proof of concept 2020-02-05 15:16:12 -08:00