Deploy GitHub Pages

This commit is contained in:
Travis Bot 2018-09-05 12:51:21 +00:00
parent a03213218f
commit 6443a6e0fb
11 changed files with 105 additions and 77 deletions

View file

@ -3,16 +3,19 @@ kind: Deployment
metadata:
name: nginx-ingress-controller
labels:
k8s-app: nginx-ingress-controller
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx
spec:
replicas: 1
selector:
matchLabels:
k8s-app: nginx-ingress-controller
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx
template:
metadata:
labels:
k8s-app: nginx-ingress-controller
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx
spec:
# hostNetwork makes it possible to use ipv6 and to preserve the source IP correctly regardless of docker configuration
# however, it is not a hard dependency of the nginx-ingress-controller itself and it may cause issues if port 10254 already is taken on the host

View file

@ -4,7 +4,8 @@ kind: Service
metadata:
name: nginx-ingress-lb
labels:
app: nginx-ingress-lb
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx
spec:
externalTrafficPolicy: Local
type: LoadBalancer
@ -18,5 +19,5 @@ spec:
targetPort: 443
selector:
# Selects nginx-ingress-controller pods
k8s-app: nginx-ingress-controller
app.kubernetes.io/name: ingress-nginx
app.kubernetes.io/part-of: ingress-nginx