Deploy GitHub Pages
This commit is contained in:
parent
a03213218f
commit
6443a6e0fb
11 changed files with 105 additions and 77 deletions
|
|
@ -4,7 +4,8 @@ metadata:
|
|||
name: nginx-configuration
|
||||
namespace: ingress-nginx
|
||||
labels:
|
||||
app: ingress-nginx
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
data:
|
||||
proxy-connect-timeout: "10"
|
||||
proxy-read-timeout: "120"
|
||||
|
|
|
|||
|
|
@ -4,10 +4,12 @@ kind: Service
|
|||
metadata:
|
||||
name: nginx-errors
|
||||
labels:
|
||||
app: nginx-errors
|
||||
app.kubernetes.io/name: nginx-errors
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
selector:
|
||||
app: nginx-errors
|
||||
app.kubernetes.io/name: nginx-errors
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 8080
|
||||
|
|
@ -18,15 +20,20 @@ kind: Deployment
|
|||
apiVersion: apps/v1beta2
|
||||
metadata:
|
||||
name: nginx-errors
|
||||
labels:
|
||||
app.kubernetes.io/name: nginx-errors
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: nginx-errors
|
||||
app.kubernetes.io/name: nginx-errors
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: nginx-errors
|
||||
app.kubernetes.io/name: nginx-errors
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
spec:
|
||||
containers:
|
||||
- name: nginx-error-server
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ metadata:
|
|||
name: nginx-configuration
|
||||
namespace: ingress-nginx
|
||||
labels:
|
||||
app: ingress-nginx
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
|
|
|
|||
|
|
@ -1148,7 +1148,8 @@ use a ConfigMap to configure custom Diffie-Hellman parameters file to help with
|
|||
<span class="go"> name: nginx-configuration</span>
|
||||
<span class="go"> namespace: ingress-nginx</span>
|
||||
<span class="go"> labels:</span>
|
||||
<span class="go"> app: ingress-nginx</span>
|
||||
<span class="go"> app.kubernetes.io/name: ingress-nginx</span>
|
||||
<span class="go"> app.kubernetes.io/part-of: ingress-nginx</span>
|
||||
</pre></div>
|
||||
|
||||
<div class="codehilite"><pre><span></span><span class="gp">$</span> kubectl create -f configmap.yaml
|
||||
|
|
@ -1168,7 +1169,8 @@ use a ConfigMap to configure custom Diffie-Hellman parameters file to help with
|
|||
<span class="go"> name: nginx-configuration</span>
|
||||
<span class="go"> namespace: ingress-nginx</span>
|
||||
<span class="go"> labels:</span>
|
||||
<span class="go"> app: ingress-nginx</span>
|
||||
<span class="go"> app.kubernetes.io/name: ingress-nginx</span>
|
||||
<span class="go"> app.kubernetes.io/part-of: ingress-nginx</span>
|
||||
</pre></div>
|
||||
|
||||
<div class="codehilite"><pre><span></span><span class="gp">$</span> kubectl create -f ssl-dh-param.yaml
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ metadata:
|
|||
name: nginx-configuration
|
||||
namespace: ingress-nginx
|
||||
labels:
|
||||
app: ingress-nginx
|
||||
app.kubernetes.io/name: ingress-nginx
|
||||
app.kubernetes.io/part-of: ingress-nginx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue