Deploy GitHub Pages

This commit is contained in:
k8s-ci-robot 2021-11-02 00:13:54 +00:00
parent fae0dc0303
commit e73476191a
23 changed files with 248 additions and 152 deletions

View file

@ -32,9 +32,12 @@
<span class=go> http:</span>
<span class=go> paths:</span>
<span class=go> - path: /</span>
<span class=go> pathType: Prefix</span>
<span class=go> backend:</span>
<span class=go> serviceName: http-svc</span>
<span class=go> servicePort: 80</span>
<span class=go> service: </span>
<span class=go> name: http-svc</span>
<span class=go> port: </span>
<span class=go> number: 80</span>
<span class=go>&quot; | kubectl create -f -</span>
</code></pre></div> <div class=highlight><pre><span></span><code>$ curl -v http://10.2.29.4/ -H &#39;Host: foo.bar.com&#39;
* Trying 10.2.29.4...

View file

@ -19,10 +19,13 @@ spec:
- host: mydomain.com
http:
paths:
- backend:
serviceName: http-svc
servicePort: 80
path: /
- path: /
pathType: Prefix
backend:
service:
name: http-svc
port:
number: 80
tls:
- hosts:
- mydomain.com

View file

@ -23,10 +23,13 @@ spec:
- host: external-auth-01.sample.com
http:
paths:
- backend:
serviceName: http-svc
servicePort: 80
path: /
- path: /
pathType: Prefix
backend:
service:
name: http-svc
port:
number: 80
status:
loadBalancer:
ingress:

View file

@ -9,7 +9,10 @@ spec:
- host: external-auth-01.sample.com
http:
paths:
- backend:
serviceName: http-svc
servicePort: 80
path: /
- path: /
pathType: Prefix
backend:
service:
name: http-svc
port:
number: 80

View file

@ -11,11 +11,13 @@ spec:
- host: __INGRESS_HOST__
http:
paths:
- backend:
serviceName: kubernetes-dashboard
servicePort: 80
path: /
- path: /
pathType: Prefix
backend:
service:
name: kubernetes-dashboard
port:
number: 80
---
apiVersion: networking.k8s.io/v1
@ -28,10 +30,13 @@ spec:
- host: __INGRESS_HOST__
http:
paths:
- backend:
serviceName: oauth2-proxy
servicePort: 4180
path: /oauth2
- path: /oauth2
pathType: Prefix
backend:
service:
name: oauth2-proxy
port:
number: 4180
tls:
- hosts:
- __INGRESS_HOST__