You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
489 B
32 lines
489 B
5 years ago
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
labels:
|
||
|
service: web
|
||
|
name: web
|
||
|
namespace: jitsi
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: "http"
|
||
|
port: 80
|
||
|
targetPort: 80
|
||
|
- name: "https"
|
||
|
port: 443
|
||
|
targetPort: 443
|
||
|
selector:
|
||
|
k8s-app: jitsi
|
||
|
---
|
||
|
apiVersion: networking.k8s.io/v1beta1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: jitsi
|
||
|
namespace: jitsi
|
||
|
spec:
|
||
|
rules:
|
||
|
- host: ...
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /
|
||
|
backend:
|
||
|
serviceName: web
|
||
|
servicePort: https
|