blob: 0a3092da2001ee1a9fa1f9bc13cafa16403a9042 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# This resource configures the HTTPS load balancer that is used as the
# entrypoint to all HTTPS services running in the cluster.
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: https-ingress
annotations:
networking.gke.io/managed-certificates: tazj-in, git-tazj-in, www-tazj-in, oslo-pub
spec:
# Default traffic is routed to the blog, in case people go to
# peculiar hostnames.
backend:
serviceName: tazblog
servicePort: 8000
rules:
# Route git.tazj.in to the cgit pods
- host: git.tazj.in
http:
paths:
- path: /
backend:
serviceName: cgit
servicePort: 2448
# Route oslo.pub to the nginx instance which serves redirects
- host: oslo.pub
http:
paths:
- path: /
backend:
serviceName: nginx
servicePort: 6756
|