Merge Develop to prepare V3 #77

Merged
metal3d merged 98 commits from develop into master 2024-10-29 16:45:05 +00:00
Showing only changes of commit 85f1b2d43c - Show all commits

View File

@@ -126,10 +126,11 @@ services:
### Declare ingresses ### Declare ingresses
It's very common to have an `Ingress` on web application to deploy on Kuberenetes. The `katenary.io/ingress` declare the It's very common to have an Ingress resource on web application to deploy on Kuberenetes. It allows to expose the
port to bind. service to the outside of the cluster (you need to install an ingress controller).
Katenary can create this resource for you. You just need to declare the hostname and the port to bind.
# ...
```yaml ```yaml
services: services:
webapp: webapp:
@@ -137,6 +138,7 @@ services:
ports: 8080:5050 ports: 8080:5050
labels: labels:
katenary.v3/ingress: |- katenary.v3/ingress: |-
# the target port is 5050 wich is the "service" port
port: 5050 port: 5050
hostname: myapp.example.com hostname: myapp.example.com
``` ```