Comments (9)
Could you send us your kubectl logs for this pod?
from kubernetes-ingress.
`root@~/kubernetes-ingress[09:26:25]# kubectl logs -f --namespace haproxy-controller haproxy-ingress-5f689bc454-nmsjw
2019/08/03 21:26:36
| | | | / \ | _ \ _ __ _____ ___ _
| || | / _ \ | |) | '/ _ \ / / | | |
| _ |/ ___ | /| | | () > <| || |
|| |// __| || _/_/_\, |
_ __ _ |/ ___ ____
| |/ / | | ___ _ __ _ __ | | ___ ___ | / |
| ' / | | | ' \ / _ \ '| ' \ / _ \ __/ _ / __| | | |
| . \ || | |) | __/ | | | | | / || /_ \ | | |
||__,|./ _|| || ||_|___||/ |____|
2019/08/03 21:26:36 HAProxy Ingress Controller v1.1.5 06d5e2a
2019/08/03 21:26:36 Build from: [email protected]:haproxytech/kubernetes-ingress.git
2019/08/03 21:26:36 Build date: 2019-07-30T09:07:53
2019/08/03 21:26:36 ConfigMap: default/haproxy-configmap
2019/08/03 21:26:36 Ingress class: haproxy
2019/08/03 21:26:36 main.go:83: Default backend service: haproxy-controller/ingress-default-backend
2019/08/03 21:26:36 main.go:84: Default ssl certificate: default/tls-secret
2019/08/03 21:26:36 controller.go:90: Starting HAProxy with /etc/haproxy/haproxy.cfg
2019/08/03 21:26:52 controller.go:70: Running on Kubernetes version: v1.14.3 linux/amd64
2019/08/03 21:26:57 controller-https.go:80: secret not found tls-secret
root@~/kubernetes-ingress[09:27:07]#
`
from kubernetes-ingress.
This pod is destroyed by kubernetes because livenessprobe are unhealthy
from kubernetes-ingress.
This is how HAProxy is supposed to be started up:
haproxy -f /etc/haproxy/global.cfg -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid
Can you start it up this way and add '-d' for debug output?
from kubernetes-ingress.
`/ # haproxy -d -f /etc/haproxy/global.cfg -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid
[WARNING] 217/085059 (74) : Can't open server state file '/var/state/haproxy/global': No such file or directory
[WARNING] 217/085059 (74) : Can't open server state file '/var/state/haproxy/global': No such file or directory
Note: setting global.maxconn to 536870861.
Available polling systems :
epoll : pref=300, test result OK
poll : pref=200, test result OK
select : pref=150, test result FAILED
Total: 3 (2 usable), will use epoll.
Available filters :
[SPOE] spoe
[COMP] compression
[CACHE] cache
[TRACE] trace
Killed
`
from kubernetes-ingress.
I like the Note: setting global.maxconn to 536870861
...
Can you try adding "maxconn 10000" in your global section in /etc/haproxy/global.cfg and try a new manual start?
from kubernetes-ingress.
This seem to be good now :
`/ # haproxy -d -f /etc/haproxy/global.cfg -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid
[WARNING] 225/145934 (12906) : Can't open server state file '/var/state/haproxy/global': No such file or directory
[WARNING] 225/145934 (12906) : Can't open server state file '/var/state/haproxy/global': No such file or directory
Available polling systems :
epoll : pref=300, test result OK
poll : pref=200, test result OK
select : pref=150, test result FAILED
Total: 3 (2 usable), will use epoll.
Available filters :
[SPOE] spoe
[COMP] compression
[CACHE] cache
[TRACE] trace
Using epoll() as the polling mechanism.
[NOTICE] 225/145934 (12906) : New worker #1 (12907) forked`
from kubernetes-ingress.
What would be the best way to fix it automatically?
from kubernetes-ingress.
Well I don't understand what the problem is, so no reliable way to fix it!
from kubernetes-ingress.
Related Issues (20)
- frontend tcp-514: cannot bind socket (Permission denied) for [0.0.0.0:514] HOT 2
- haproxy ingress 1.11.2 reloads when number of backend pods scales HOT 10
- When specifying a server-proto annotation the check parameter is omitted
- Using both annotations "haproxy.org/cr-backend" and "haproxy.org/<parameter>" HOT 3
- Docs: when adjusting --sync-period, must also adjust initialDelaySeconds HOT 4
- Controller restarts haproxy every 5 minutes with message "restart required : Global config updated: " HOT 4
- Docs: Add info about --job-check-crd to documentation HOT 1
- Ingress Pods Fail to Start HOT 5
- Try to understand the mode for tcpcr in 3.0.0 HOT 5
- how enable only high secure ssl ciphers in haproxy ingress? HOT 3
- change route-acl into an array so multiple ACL's can be defined here. HOT 1
- Named backend server instead of generic SRV_x name HOT 7
- Not able to setup retry-on functionality globally, I tried multiple values.yaml ! Please correct me if i am wrong ! HOT 2
- Some clarification needed for handling canary deployments HOT 3
- Runtime API changes not getting synced between haproxy replicas HOT 3
- Unable to Configure Multiple Backends on the Same Port in TCP CRD HOT 7
- Possibility to add custom stick tables HOT 2
- rate-limit-requests HOT 1
- scale-server-slots on Ingress resource is ignored HOT 3
- feat request: Allow frontend selection annotation for Ingress resource
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-ingress.