about summary refs log blame commit diff
path: root/infra/kubernetes/https-lb/ingress.yaml
blob: 069771a4217f3c2750ceea5c6415cd1e3f38aa92 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                      
                                                                                       
     
        







                                  



                                        
                    
                    

                                



                                                                 

                    
                                
                               
# 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:
  rules:
    # Route blog to the blog ...
    - host: tazj.in
      http:
        paths:
          - path: /*
            backend:
              serviceName: tazblog
              servicePort: 8000
    # Route git.tazj.in to the cgit pods
    - host: git.tazj.in
      http:
        paths:
          - path: /*
            backend:
              serviceName: nginx
              servicePort: 6756
    # Route oslo.pub to the nginx instance which serves redirects
    - host: oslo.pub
      http:
        paths:
          - path: /
            backend:
              serviceName: nginx
              servicePort: 6756