ingress: removed unnecessary whitespaces
This commit is contained in:
parent
e4de1e62b8
commit
d8fbe2f582
13 changed files with 19 additions and 19 deletions
|
@ -78,5 +78,5 @@ spec:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 50Mi
|
memory: 50Mi
|
||||||
args:
|
args:
|
||||||
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
|
- --default-backend-service=default/default-http-backend
|
||||||
- --sync-period=300s
|
- --sync-period=300s
|
||||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
||||||
k8s-app: nginx-ingress-lb
|
k8s-app: nginx-ingress-lb
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
||||||
k8s-app: nginx-ingress-lb
|
k8s-app: nginx-ingress-lb
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
|
@ -43,4 +43,4 @@ spec:
|
||||||
hostPort: 443
|
hostPort: 443
|
||||||
args:
|
args:
|
||||||
- /nginx-ingress-controller
|
- /nginx-ingress-controller
|
||||||
- --default-backend-service=default/nginx-errors
|
- --default-backend-service=$(POD_NAMESPACE)/nginx-errors
|
||||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
||||||
k8s-app: nginx-ingress-lb
|
k8s-app: nginx-ingress-lb
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
|
|
|
@ -8,7 +8,7 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
|
|
|
@ -11,7 +11,7 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: default-http-backend
|
app: default-http-backend
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- name: default-http-backend
|
- name: default-http-backend
|
||||||
# Any image is permissable as long as:
|
# Any image is permissable as long as:
|
||||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
||||||
k8s-app: nginx-ingress-lb
|
k8s-app: nginx-ingress-lb
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
|
|
|
@ -15,7 +15,7 @@ spec:
|
||||||
k8s-app: nginx-ingress-lb
|
k8s-app: nginx-ingress-lb
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
volumes:
|
volumes:
|
||||||
- name: dhparam-example
|
- name: dhparam-example
|
||||||
secret:
|
secret:
|
||||||
|
|
|
@ -42,4 +42,4 @@ spec:
|
||||||
args:
|
args:
|
||||||
- /nginx-ingress-controller
|
- /nginx-ingress-controller
|
||||||
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
|
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
|
||||||
- --nginx-configmap=default/nginx-ingress-controller
|
- --nginx-configmap=$(POD_NAMESPACE)/nginx-ingress-controller
|
||||||
|
|
|
@ -65,23 +65,23 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
k8s-app: nginx-ingress-lb
|
k8s-app: nginx-ingress-lb
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: alpine:3.4
|
- image: alpine:3.4
|
||||||
name: sysctl-buddy
|
name: sysctl-buddy
|
||||||
# using kubectl exec you can check which other parameters is possible to change
|
# using kubectl exec you can check which other parameters is possible to change
|
||||||
# IPC Namespace: kernel.msgmax, kernel.msgmnb, kernel.msgmni, kernel.sem, kernel.shmall,
|
# IPC Namespace: kernel.msgmax, kernel.msgmnb, kernel.msgmni, kernel.sem, kernel.shmall,
|
||||||
# kernel.shmmax, kernel.shmmni, kernel.shm_rmid_forced and Sysctls
|
# kernel.shmmax, kernel.shmmni, kernel.shm_rmid_forced and Sysctls
|
||||||
# beginning with fs.mqueue.*
|
# beginning with fs.mqueue.*
|
||||||
# Network Namespace: Sysctls beginning with net.*
|
# Network Namespace: Sysctls beginning with net.*
|
||||||
#
|
#
|
||||||
# kubectl <podname> -c sysctl-buddy -- sysctl -A | grep net
|
# kubectl <podname> -c sysctl-buddy -- sysctl -A | grep net
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
while true; do
|
while true; do
|
||||||
sysctl -w net.core.somaxconn=32768
|
sysctl -w net.core.somaxconn=32768
|
||||||
sysctl -w net.ipv4.ip_local_port_range='1024 65535'
|
sysctl -w net.ipv4.ip_local_port_range='1024 65535'
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
||||||
k8s-app: nginx-ingress-lb
|
k8s-app: nginx-ingress-lb
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
||||||
k8s-app: nginx-ingress-lb
|
k8s-app: nginx-ingress-lb
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
|
|
|
@ -14,7 +14,7 @@ spec:
|
||||||
k8s-app: nginx-ingress-lb
|
k8s-app: nginx-ingress-lb
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 60
|
terminationGracePeriodSeconds: 60
|
||||||
containers:
|
containers:
|
||||||
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
- image: gcr.io/google_containers/nginx-ingress-controller:0.8.2
|
||||||
name: nginx-ingress-lb
|
name: nginx-ingress-lb
|
||||||
|
@ -46,4 +46,4 @@ spec:
|
||||||
args:
|
args:
|
||||||
- /nginx-ingress-controller
|
- /nginx-ingress-controller
|
||||||
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
|
- --default-backend-service=$(POD_NAMESPACE)/default-http-backend
|
||||||
- --udp-services-configmap=default/udp-configmap-example
|
- --udp-services-configmap=$(POD_NAMESPACE)/udp-configmap-example
|
||||||
|
|
Loading…
Reference in a new issue