Deploy GitHub Pages
This commit is contained in:
parent
fae0dc0303
commit
e73476191a
23 changed files with 248 additions and 152 deletions
|
|
@ -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>" | kubectl create -f -</span>
|
||||
</code></pre></div> <div class=highlight><pre><span></span><code>$ curl -v http://10.2.29.4/ -H 'Host: foo.bar.com'
|
||||
* Trying 10.2.29.4...
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue