Regarding accessing of HTTP and HTTPS Gateway simultaneously!!
I am using Kubeedge version v1. 8.1.I am not able to add HTTP and HTTPS Gateway access together. What should I do??????
Please provide some environment information, some yaml files of gateway,virtualservice, logs, etc.
@Poorunga This is my VIRTUAL SERVICE File
apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: edgemesh-gateway-svc namespace: zbl spec: gateways:
- edgemesh-gateway hosts:
- '*.web.com' http:
- match:
- uri: prefix: / route:
- destination: host: nginx-custom port: number: 80
Please tell how can i add one more VIRTUAL SERVICE along with this.It is not accepting 2 VIRTUAL SERVICE. I want to add another VIRTUAL SERVICE with TCP Protocol for mongo. Will i have to make 2 different file or one file is sufficient for VIRTUAL SERVICE????
EdgeMesh only support one HttpRoute match now.
A virtual service can only configure a single TCP service.
@Poorunga @sdghchj Can u please provide VirtualService for tcp protocol
A virtual service can only configure a single TCP service.
Can u please send the virtualservice file
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: edgemesh-gateway
spec:
selector:
kubeedge: edgemesh-gateway
servers:
- hosts:
- '*'
port:
name: tcp-1
number: 80
protocol: TCP
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: edgemesh-gateway-svc
spec:
gateways:
- edgemesh-gateway
hosts:
- '*'
tcp:
- route:
- destination:
host: xxxxxx-svc
port:
number: 8080