Re: [kubernetes-users] Need some guidance/help: howto diagnose an oomkill

2017-09-27 Thread Evan Jones
Its been a while since I've dealt with this sort of issue, but there are various libraries that use "native" memory outside the Java heap. The -Xmx flag only limits the Java heap, so it isn't surprising that some processes may need a way higher container memory limit than the Java GC heap

Re: [kubernetes-users] Resolv.conf override for a pod

2017-09-27 Thread Rodrigo Campos
Not sure that will work, try step by step. Start creating the file in some dir in /etc/ and then try to just have the file in /etc/ (probably with subpath or something like that), and then ten try to use it mount it as /etc/resolv.conf Any example of mounting the configmap as a volume will do

[kubernetes-users] templating language for k8s + vscode extension 

2017-09-27 Thread Mahieddine Cherif
Hi everyone, As a k8s user/developer everyone knows that writing easy to read and maintainable YAML files is hard, this is why we've developed 3 things : - An easy to read "templating" language called ICL https://github.com/archipaorg/icl , everything that you write in JSON/YAML can be

[kubernetes-users] Failed to patch kube-apiserver daemonset with kubectl patch command

2017-09-27 Thread Tommy
Hello All, I would like to patch k8s 1.7 API server with a patch like this: spec: template: spec: containers: - command: - --runtime-config=batch/v2alpha1=true using this command: *kubectl patch ds kube-apiserver --patch "$(api-server-patch.yml)" -n kube-system*

Re: [kubernetes-users] edit kube-proxy configmap programmatically

2017-09-27 Thread prakash . mirji
On Wednesday, September 27, 2017 at 2:04:39 AM UTC+5:30, Rodrigo Campos wrote: > Instead of edit, you can run a get -o yaml, edit and apply -f , for > example. > > > Sorry if it is not clear in the doc now. Can you please point where you would > like to find it? Open an issue, or even better,

[kubernetes-users] Re: Timeout(504) for ingress paths.

2017-09-27 Thread Vaibhav Dharmendra Rajadhyaksha
This got resolved after I restarted the ingress ctl pods. On Monday, September 25, 2017 at 4:27:08 PM UTC-4, Vaibhav Dharmendra Rajadhyaksha wrote: > > Hello All, > > I have setup an ingress to access my controller service. I was able to set > it up correctly and hit the endpoint, but started

Re: [kubernetes-users] Resolv.conf override for a pod

2017-09-27 Thread Simone D'Andreta
I can't try today unfortunately but that's definitely the issue, I will have to test it to an environment where I can reach the consul subnets. As per what I am trying to achieve (and that's perfectly fine if we cannot find a viable solution, it is a proof of concept after all) I need a way to

Re: [kubernetes-users] Resolv.conf override for a pod

2017-09-27 Thread Rodrigo Campos
Can you ping the IP? There might not be any route to that subnet? Have you tried/checked that? And as far as I know, there is no way. Im not 100% sure what problem you are trying to solve, exactly, though. You can have a service type external, configure kube dns stub domains, but having **the

[kubernetes-users] creating users /certificates for users

2017-09-27 Thread Henning Sprang
Hi, After setting up a small cluster I want to enable other users (and a jenkins server runing outside the cluster) to access the Cluster and manage deployments, preferredly with an own namespace for each application consisting of multiple services. So taking the information from

Re: [kubernetes-users] Communicating with Daemon Pods

2017-09-27 Thread Matthias Rampke
The sentence you cite describes push-model metrics (such as Telegraf writing to InfluxDB). For Prometheus, which uses the pull model, yes – a service is the recommended way to go. Alternatively you can also use the pod discovery in Prometheus to select pods based on their labels, but it just moves

[kubernetes-users] Communicating with Daemon Pods

2017-09-27 Thread Viral Kamdar
The documentation for DaemonSets say that *Pods in the DaemonSet are configured to send updates to another service, such as a stats database. *Can someone guide me on how to achieve this? I have a telegraf container inside my daemonset. I want to use telegraf metrics in prometheus inside a

Re: [kubernetes-users] Resolv.conf override for a pod

2017-09-27 Thread Simone D'Andreta
Ah yeah that's a typo.. it's setup as consul.service.domain.io but I don't know why I cannot ping it - are the service and the endpoint properly declared? As per the link you provided - I used the stubDomain and gave the domain.io name a list of Consul IPs - all good, but this will overwrite