[kubernetes-users] GKE kube-dns proformance issue ?

2018-05-02 Thread william . wang
We have create GKE cluster in GCP project
We deploy some App in GKE already.
One of App need query huge for DNS, as our deploy, it will query kube-dns 
first, and App logs error as below

dial tcp: lookup es.c.my-project-id.internal on 10.23.240.10:53: dial udp 
10.23.240.10:53: operation was canceled"

GKE environment: 
Kubernetes clusters  Master version  1.8.8-gke.0 with two node pools, and only 
one node per node pools.


The kubectl information for kube-dns

$ kubectl get pods -n kube-system -l k8s-app=kube-dns
NAMEREADY STATUSRESTARTS   AGE
kube-dns-7cc95b7957-8wdl4   3/3   Running   0  1d
kube-dns-7cc95b7957-q6zb8   3/3   Running   0  1d

$ kubectl -n kube-system get service
NAME   TYPECLUSTER-IP  EXTERNAL-IP   PORT(S)
 AGE
kube-dns   ClusterIP   10.23.240.1053/UDP,53/TCP  
 96d

I search on google and get this issue
dnsmasq: Maximum number of concurrent DNS queries reached (max: 150)
https://github.com/kubernetes/kubernetes/issues/45976

I am not sure if we can tuning kube-dns dicectily, any ideas ?

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.


[kubernetes-users] questions regarding Overriding Values from a Parent Chart

2018-05-02 Thread Xuan
Hi,

I'm new to Kubernetes and Helm chart, and I'm trying to deploy Grafana into 
kubenetes. I created my own parent chart, which includes the default 
grafana helm chart as the subchart. 

the structure is as below:

mygrafana-chart:
 - Chart.yaml
 - charts/
  - grafana-0.8.0.tgz
 - requirements.yaml
 - templates/
  - ingress.yaml
  - persistent-volumes.yaml
  - NOTES.txt
  - _helpers.tpl
 - values.yaml

With the default grafana helm chart as the subchart (
https://github.com/kubernetes/charts/blob/master/stable/grafana), I'm able 
to deploy the grafana with my own ingress and PV yaml files. 

However, since the default values.yaml doesn't have "adminPassword" enabled 
(https://github.com/kubernetes/charts/blob/master/stable/grafana/values.yaml), 
I got a random password for admin every time I redeployed my grafana. 

adminUser: admin
# adminPassword: strongpassword

Now I hope to add "adminPassword" from my own value.yaml, and override this 
into the sub chart. I checked 
https://github.com/kubernetes/helm/blob/master/docs/chart_template_guide/subcharts_and_globals.md#overriding-values-from-a-parent-chart

My requirement.yaml is as following:

dependencies:
  - name: grafana
version: 0.8.0
repository: https://kubernetes-charts.storage.googleapis.com

Then I added the following lines into my values.yaml

grafana:
  adminPassword: adminfoobar

When I deployed the updated helm chart, my changes to the adminPassword was 
not applied as I expected. I'm not sure if the zip file under charts/ 
matters. 

The defualt secret.yaml from grafana helm chart is as below:

apiVersion: v1
kind: Secret
metadata:
name: {{ template "grafana.fullname" . }}
labels:
app: {{ template "grafana.name" . }}
chart: {{ template "grafana.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
type: Opaque
data:
admin-user: {{ .Values.adminUser | b64enc | quote }}
{{- if .Values.adminPassword }}
admin-password: {{ .Values.adminPassword | b64enc | quote }}
{{- else }}
admin-password: {{ randAlphaNum 40 | b64enc | quote }}
{{- end }}


So it seems like the "adminPassword" added to my own values.yaml was not 
overriding to the subchart's values.yaml, so the secret.yaml still takes 
the random characters. 

Any suggestions or help are appreciated!

Thanks,

- Xuan


-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.


Re: [kubernetes-users] Disappearing k8s master

2018-05-02 Thread Andrew Howden
https://issuetracker.google.com/u/1/issues/78376911

On Sun, Apr 22, 2018 at 8:29 PM Mayur Nagekar 
wrote:

> I think you can try this if not already
>
> 1. Sign in to the console .
>
> 2. On the left side of the top bar, select your project from *Project
> List*.
>
> 3. Open the menu [image: Gallery Menu] on the top left, and click on
> *Support*.
>
> 5. Your current support package will be displayed.
>
> Reference: https://support.google.com/cloud/#topic=6255036=1
>
>
> On Sun, Apr 22, 2018 at 10:37 PM, Andrew Howden 
> wrote:
>
>> So far as I can see, there *is* no support 
>>
>> On Sun., 22 Apr. 2018, 4:12 pm Mayur Nagekar, 
>> wrote:
>>
>>> Oh, if its managed then you got to write to GKE's support. Not much one
>>> can do unless we can investigate by ssh-ing into the master.
>>>
>>> On Sun, Apr 22, 2018 at 12:25 PM, Andrew Howden 
>>> wrote:
>>>
 Holaa

 On Sat., 21 Apr. 2018, 9:50 pm Mayur Nagekar, 
 wrote:

> Can you login into the master and run `docker images` and `docker ps
> -a` ? is the control plane intact/sane ?
>

 Can't login to the master; it's managed but Google Kubernetes Engine.
 Thus the bug ^^ it does seem 100% dead though

> --
 Andrew Howden
 Careful, well crafted web development.
 --
 W: https://andrewhowden.com/
 PGP: https://pgp.andrewhowden.com
 (79BAC08A6ED1FF1EABE350A7587D3B3A961D2D2D)
 --

>>> --

>>> You received this message because you are subscribed to the Google
 Groups "Kubernetes user discussion and Q" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to kubernetes-users+unsubscr...@googlegroups.com.
 To post to this group, send email to kubernetes-users@googlegroups.com.
 Visit this group at https://groups.google.com/group/kubernetes-users.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> --
>>>
>>> Thanks,
>>>
>>> Mayur
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Kubernetes user discussion and Q" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/kubernetes-users/5HIwcxqSSvU/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> kubernetes-users+unsubscr...@googlegroups.com.
>>> To post to this group, send email to kubernetes-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/kubernetes-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> Andrew Howden
>> Careful, well crafted web development.
>> --
>> W: https://andrewhowden.com/
>> PGP: https://pgp.andrewhowden.com
>> (79BAC08A6ED1FF1EABE350A7587D3B3A961D2D2D)
>> --
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Kubernetes user discussion and Q" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to kubernetes-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to kubernetes-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/kubernetes-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>
> Thanks,
>
> Mayur
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Kubernetes user discussion and Q" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/kubernetes-users/5HIwcxqSSvU/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> kubernetes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to kubernetes-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Andrew Howden
Careful, well crafted web development.
--
W: https://andrewhowden.com/
PGP: https://pgp.andrewhowden.com (79BAC08A6ED1FF1EABE350A7587D3B3A961D2D2D)
--

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.


[kubernetes-users] Kubernetes in Action

2018-05-02 Thread Roxanne Pocha


Icon Solutions a financial technology company is using Kubernetes in our 
real time payments software solution IPF. We've just released a cool 
animation that mentions it and I thought I would share it here for anyone 
interested. 


https://youtu.be/GC6LDOoVBjo

 


 Roxanne Pocha, Marketing Director 

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.