mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2025-01-13 09:48:23 +01:00
ingress update
This commit is contained in:
parent
c746451590
commit
e342be0efb
@ -0,0 +1,18 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: ingress # Name of the ingress object
|
||||
namespace: namespace # Name of the namespace
|
||||
spec:
|
||||
rules:
|
||||
- host: "your-hostname.com" # Your hostname
|
||||
http:
|
||||
paths:
|
||||
# Path-based routing settings:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: your-service-name # The name of the service
|
||||
port:
|
||||
number: 80 # Service Portnumber
|
Loading…
Reference in New Issue
Block a user