Compare commits
2 Commits
d3422bf388
...
8c27f2b0e2
Author | SHA1 | Date | |
---|---|---|---|
8c27f2b0e2 | |||
96c8229bea |
@ -11,7 +11,25 @@ helm upgrade --install ingress-nginx ingress-nginx --repo https://kubernetes.g
|
|||||||
Example usage:
|
Example usage:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
apiVersion: networking.k8s.io/v1beta1
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: ingress-mandelmapper
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
rules:
|
||||||
|
- host: mandelmap.home.stevenpolley.net
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: mandelmapper
|
||||||
|
port:
|
||||||
|
number: 6161
|
||||||
|
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: ingress-myservicea
|
name: ingress-myservicea
|
||||||
@ -23,10 +41,12 @@ spec:
|
|||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
backend:
|
backend:
|
||||||
serviceName: myservicea
|
service:
|
||||||
servicePort: 8080
|
name: myservicea
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
---
|
---
|
||||||
apiVersion: networking.k8s.io/v1beta1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: ingress-myserviceb
|
name: ingress-myserviceb
|
||||||
@ -38,8 +58,10 @@ spec:
|
|||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
backend:
|
backend:
|
||||||
serviceName: myserviceb
|
service:
|
||||||
servicePort: 8443
|
name: myserviceb
|
||||||
|
port:
|
||||||
|
number: 8443
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- myserviceb.foo.org
|
- myserviceb.foo.org
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
controller:
|
controller:
|
||||||
service:
|
service:
|
||||||
|
# -- Provisioned manually on external hardware load balancer
|
||||||
externalIPs:
|
externalIPs:
|
||||||
- "10.69.69.51"
|
- "10.69.69.51"
|
||||||
nodePorts:
|
nodePorts:
|
||||||
@ -10,3 +11,4 @@ controller:
|
|||||||
http: "31451"
|
http: "31451"
|
||||||
# -- Node port allocated for the external HTTPS listener. If left empty, the service controller allocates one from the configured node port range.
|
# -- Node port allocated for the external HTTPS listener. If left empty, the service controller allocates one from the configured node port range.
|
||||||
https: "31207"
|
https: "31207"
|
||||||
|
externalTrafficPolicy: Local
|
Loading…
x
Reference in New Issue
Block a user