mirror of
https://gitlab.com/shouptech/flux.git
synced 2026-02-03 17:09:45 +00:00
Add echoserver ingress
This commit is contained in:
parent
33797b562e
commit
b15f7d76b8
1 changed files with 14 additions and 1 deletions
|
|
@ -28,5 +28,18 @@ spec:
|
|||
app: echoserver
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: echoserver
|
||||
spec:
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /echo
|
||||
backend:
|
||||
serviceName: echoserver
|
||||
servicePort: 8080
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue