examples: adding simple kubernetes example

This commit is contained in:
Dmitry Mishin
2020-02-11 10:45:22 -08:00
committed by GitHub
parent 6eebabdc24
commit 5423a8ae51
4 changed files with 218 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
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