docs - fix k8s examples

This commit is contained in:
fl0ppy-d1sk 2024-03-26 18:33:30 +01:00
parent fee5021c4b
commit ab00187624
No known key found for this signature in database
GPG key ID: 93EE47CC3D061500

View file

@ -176,7 +176,7 @@ You will find more settings about reverse proxy in the [settings section](settin
- name: app
image: nginxdemos/nginx-hello
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@ -188,7 +188,7 @@ You will find more settings about reverse proxy in the [settings section](settin
ports:
- protocol: TCP
port: 80
targetPort: 80
targetPort: 8080
```
Here is the corresponding Ingress definition to serve and protect the web application :
@ -588,7 +588,7 @@ You will find more settings about reverse proxy in the [settings section](settin
- name: app1
image: nginxdemos/nginx-hello
ports:
- containerPort: 80
- containerPort: 8080
---
apiVersion: v1
kind: Service
@ -600,7 +600,7 @@ You will find more settings about reverse proxy in the [settings section](settin
ports:
- protocol: TCP
port: 80
targetPort: 80
targetPort: 8080
```
Here is the corresponding Ingress definition to serve and protect the web applications :