New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contour 0.14 examples - cannot create log #1279
Comments
Additional notes: Over the weekend, the cluster-autoscaler had downscaled the edge nodes, keeping the older node which was running the workload, but which actually was unhealthy on the NLB as it still had the old security group configuration ... The error message regarding |
Same issue with 0.14.0 a few instances
|
I think 0.14.0 made the effort to get rid of glog, i see klog in the vendor directory, which appears to have the same link into flags. Does this still need to be forced to disable file based logging?
|
Ffs. I hate glog and all the anti patterns it spawned.
… On 8 Aug 2019, at 11:13, Matthew Alberts ***@***.***> wrote:
I think 0.14.0 made the effort to get rid of glog, i see klog in the vendor directory, which appears to have the same link into flags. Does this still need to be forced to disable file based logging?
_ = flag.Lookup("logtostderr").Value.Set("true")
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I'm with you :) At least you just released 0.14.1 (its probably too soon, i've just literally run into the same thing ... mint version .. find crash) suspect a quick |
I believe this would be you minimum patchset
given the internals of InitFlags
|
@mattalberts would you like to send a PR with your changes? |
Sure can!
…Sent from my iPhone
On Aug 8, 2019, at 12:29 PM, Steve Sloka ***@***.***> wrote:
@mattalberts would you like to send a PR with your changes?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@stevesloka I'll have the patch up shortly |
The default behavior of klog will be to attempt to log to a file, similar to glog, which will result in a container crash because the filesystem is read-only. closes projectcontour#1279 Signed-off-by: Matt Alberts <malberts@cloudflare.com>
The default behavior of klog will be to attempt to log to a file, similar to glog, which will result in a container crash because the filesystem is read-only. closes projectcontour#1279 Signed-off-by: Matt Alberts <malberts@cloudflare.com>
Fixes projectcontour#1279 Fixes projectcontour#1306 The default behavior of klog will be to attempt to log to a file, similar to glog, which will result in a container crash because the filesystem is read-only. Signed-off-by: Matt Alberts <malberts@cloudflare.com>
What steps did you take and what happened:
Deployed Contour as ds-hostnet-combined:
It worked for a while, then envoy lost gRPC connection:
investigation shows contour restarted - with
kubectl logs -c contour -p
showing:What did you expect to happen:
Contour should not crash
Anything else you would like to add:
Perhaps we should add the
/tmp
emptyDir mount to the example manifests?Environment:
kubectl version
): 1.13-eks/etc/os-release
): Amazon Linux 2The text was updated successfully, but these errors were encountered: