Comments (12)
Could you tell us how to reproduce it? Kubernetes configurations, etc..
from nghttpx-ingress-lb.
I used the following coreos cloud configs to setup a kubernetes platform using the RKT container engine
[Unit]
Description=Kubelet via Hyperkube ACI
Wants=flanneld.service
Requires=k8s-assets.target
After=k8s-assets.target
[Service]
Environment=KUBELET_VERSION=v1.4.7_coreos.0
Environment="RKT_OPTS=--uuid-file-save=/var/run/kubelet-pod.uuid \
--volume dns,kind=host,source=/etc/resolv.conf \
--mount volume=dns,target=/etc/resolv.conf \
{{ if eq .container_runtime "rkt" -}}
--volume rkt,kind=host,source=/opt/bin/host-rkt \
--mount volume=rkt,target=/usr/bin/rkt \
--volume var-lib-rkt,kind=host,source=/var/lib/rkt \
--mount volume=var-lib-rkt,target=/var/lib/rkt \
--volume stage,kind=host,source=/tmp \
--mount volume=stage,target=/tmp \
{{ end -}}
--volume var-log,kind=host,source=/var/log \
--mount volume=var-log,target=/var/log"
ExecStartPre=/usr/bin/mkdir -p /etc/kubernetes/manifests
ExecStartPre=/usr/bin/mkdir -p /var/log/containers
ExecStartPre=/usr/bin/systemctl is-active flanneld.service
ExecStartPre=-/usr/bin/rkt rm --uuid-file=/var/run/kubelet-pod.uuid
ExecStart=/usr/lib/coreos/kubelet-wrapper \
--api-servers=http://127.0.0.1:8080 \
--register-schedulable=true \
--cni-conf-dir=/etc/kubernetes/cni/net.d \
--network-plugin=cni \
--container-runtime={{.container_runtime}} \
--rkt-path=/usr/bin/rkt \
--rkt-stage1-image=coreos.com/rkt/stage1-coreos \
--allow-privileged=true \
--pod-manifest-path=/etc/kubernetes/manifests \
--hostname-override={{.domain_name}} \
--cluster_dns={{.k8s_dns_service_ip}} \
--cluster_domain=cluster.local
ExecStop=-/usr/bin/rkt stop --uuid-file=/var/run/kubelet-pod.uuid
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
from nghttpx-ingress-lb.
Perhaps this is an issue with kubernetes running under the CNI plugin.
When using the ingress controller with docker I get the following error:
E0115 22:39:42.744432 1 command.go:51] nghttpx error: exit status 255
E0115 22:39:43.741149 1 command.go:81] failed to execute killall [-HUP nghttpx]: nghttpx: no process found
Under the same configuration the contrib nginx controller runs fine.
from nghttpx-ingress-lb.
You still have this issue with docker, so this issue happens when CNI plugin is used, and not with rkt engine, right?
from nghttpx-ingress-lb.
yes I still have issue with docker when using CNI plug. So i will guess this is nothing to do with rkt
from nghttpx-ingress-lb.
Thank you. We have successful running record without CNI plugin. Will test it with CNI plugin, and see what's happening.
from nghttpx-ingress-lb.
Thank you. CNI does not look to stable for ingress controllers at the moment. It maybe that the container is now running with a different networking environment.
kubernetes/kubernetes#31307
kubernetes-retired/bootkube#247
from nghttpx-ingress-lb.
I heard that hostPort does not work with CNI currently.
I'm a bit behind the current progress of calico CNI, and recent updates destroys my older calico configuration. It requires some time to debug.
I'm interested in the way how nginx ingress controller works around this issue.
from nghttpx-ingress-lb.
This could be a workaround: kubernetes-retired/contrib#2135 (comment)
from nghttpx-ingress-lb.
I ran calico using Vagrant file from https://github.com/projectcalico/calico/tree/master/v2.0/getting-started/kubernetes/installation/vagrant
After adding "hostNetwork: true" to nghttpx ingress controller manifest file, and also changing livenessProbe port to 11249, and adding --healthz-port=11249 to nghttpx-ingress-controller arguments, it seems to me that nghttpx ingress controller is working fine.
from nghttpx-ingress-lb.
I set all of these values yesterday and was not so lucky. I will try again
from nghttpx-ingress-lb.
I have tested this in RKT without CNI and it works with the above changes of hostNetwork:true and the change of the healthz port. I will not be using CNI until some of the issues are resolved so I am happy with the work around. Thank you
from nghttpx-ingress-lb.
Related Issues (20)
- Permission denied error while running the container as a non root user HOT 2
- How to configure SSL Passthrough? HOT 1
- How if I only want to implement the HTTP3 on my nginx ingress ? HOT 1
- feature request: routing `type: ExternalName` services HOT 4
- Upgrade to nghttp2 v1.26.0 HOT 2
- Add PROXY protol support for frontend servers HOT 2
- ingress for grpc service HOT 2
- pls add ingress.zlab.co.jp/default-backend-config HOT 4
- request to add publish-service flag HOT 5
- redirect-if-not-tls in backend template HOT 2
- backendconfig API endpoint returned unsuccessful status code 413 HOT 5
- Don't depend on external "diff" command HOT 1
- Use debian-base-amd64 to reduce image size
- is it possible to watch several k8s namespaces? HOT 3
- how to debug the routing process HOT 10
- how load balancing works in nghttpx ingress HOT 9
- Does nghttpx ingress intercept errors? HOT 4
- Failed to start after changing the tls cert HOT 2
- support protocol H1 and H2 HOT 4
- Does this lb support traefik's PathPrefixStrip like feature HOT 6
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 nghttpx-ingress-lb.