[kubernetes-users] Re: nginx ingress controller not routing https

2017-04-14 Thread Warren Strange
I have the same issue. Possibly https://github.com/kubernetes/ingress/issues/277 ? On Friday, April 14, 2017 at 9:04:23 AM UTC-6, Daniel Watrous wrote: > > I am using the nginx ingress controller on two k8s clusters. On one the > HTTPS works as expected, but on the other HTTPS traffic

[kubernetes-users] Re: Abstracting environmental differences in config files

2017-03-09 Thread Warren Strange
Helm works nicely for this. You can template out things like the registry, image names, etc., and then have a small values.yaml file that sets the values for the target platform. On Wednesday, March 8, 2017 at 11:56:45 PM UTC-7, ag...@jantox.com wrote: > > I am currently running a

[kubernetes-users] Re: Application is slow in non production env

2017-03-13 Thread Warren Strange
I think you need to provide more information for people to help you out. Are nodes in the cluster running out of memory or CPU resources? Is disk I/O slow? If you want to increase the size of the nodes (more CPU, memory) the procedure will depend on the Kubernetes environment you are

[kubernetes-users] Re: local LoadBalancer/Service in Minikube

2017-03-06 Thread Warren Strange
If you are using VirtualBox with minikube, it will mount the /Users/xxx/ folder in the VM. You can use a hostPath volume to mount a local folder on your mac on to a pod volume. hostPath: path: /Users/my-username/Downloads/example On Friday, March 3, 2017 at 7:22:32 PM UTC-7, Imran Akbar

[kubernetes-users] Re: SSH into pod

2017-08-11 Thread Warren Strange
Rather than setting up ssh, it may be easier to use kubectl exec to get a shell inside your pod: kubectl exec my-pod-xxx -it /bin/sh On Friday, August 11, 2017 at 12:11:30 AM UTC-6, Eswari wrote: > > Hi, > > I have exposed my pod externally (public ip). > Tried to ssh to my pod using *ssh

[kubernetes-users] Re: SSH into pod

2017-08-14 Thread Warren Strange
will want to read up on services: https://kubernetes.io/docs/concepts/services-networking/service/ On Monday, August 14, 2017 at 12:48:32 AM UTC-6, eswar...@gmail.com wrote: > > Hi Warren Strange, > > Thanks for the reply. > > Yes, But we can use this command where we inst

Re: [kubernetes-users] Critical pod kube-system_elasticsearch-logging-0 doesn't fit on any node.

2017-07-04 Thread Warren Strange
Sometimes it takes a while for PVs to be provisioned - so this error often goes away if you give it time. If the PVC eventually gets bound, this is probably not the issue. It looks like you are running out of memory or CPU. kubectl describe on the pod should tell you which. You either need

[kubernetes-users] Re: Information Sharing; Distributed Computing

2017-06-22 Thread Warren Strange
DNS is used for service name lookup, but there is no shared memory between pods. On Thursday, June 22, 2017 at 9:57:52 AM UTC-6, Tobias Rahloff wrote: > > Can sb point me towards sources that explain how information sharing in > k8s works? Especially in a academic, distributed computing

Re: [kubernetes-users] Docker vs K8s API

2017-06-02 Thread Warren Strange
To echo what Matthias has said, Kubernetes is doing a lot more housekeeping work behind the scenes than just docker run. You can see Kube is adding about one second of overhead. If your containers typically run for a just a second or two, that is probably not a good fit for Kube (or even

[kubernetes-users] Re: using image from local directory

2017-09-20 Thread Warren Strange
ImagePullBackOff means that Kubernetes can not find the image. You have: image: agentc You need: image: library/agentc:latest This also assumes you have done a "docker build" direct to the docker daemon that your Kubernetes cluster is using. If you are using minikube, you must make sure

[kubernetes-users] Re: Low throughput on K8s LoadBalancer

2017-09-19 Thread Warren Strange
Debugging performance issues on Docker/Kube can be interesting You could try exposing the service through a Nodeport, and run your benchmark directly against the node IP. That would at least tell you if the GKE LB is a factor or not. Also - are your pods possibly CPU or memory limited

Re: [kubernetes-users] Multiple version of software on same namespace

2017-10-31 Thread Warren Strange
What you are describing is a really good use case for namespaces. If you really want to deploy multiple instances to the same namespace, you could have a look at how some of the Helm charts do this. Some charts use dynamic labels to (e.g. app={{ .Release.Name }} ) to distinguish multiple

[kubernetes-users] Re: Alternative to Dind (docker-in-docker) sidecar container

2018-05-06 Thread Warren Strange
This is likely a better bet than DIND: https://github.com/GoogleContainerTools/kaniko On Saturday, May 5, 2018 at 9:02:08 AM UTC-6, Sudha Subramanian wrote: > > Hi, > > I have a use case where my application container needs to pull a build > image and run code inside of it. I'm considering

Re: [kubernetes-users] Measuring disk latency on GKE

2018-02-02 Thread Warren Strange
hen you SSH into the node. > > On Thu, Feb 1, 2018 at 8:20 PM, Warren Strange <warren@gmail.com > > wrote: > >> >> >> Stackdriver will show me disk IOPS and throughput for PD disks. >> >> How do I measure disk latency? I have a suspicion that a ser

[kubernetes-users] Measuring disk latency on GKE

2018-02-01 Thread Warren Strange
Stackdriver will show me disk IOPS and throughput for PD disks. How do I measure disk latency? I have a suspicion that a service is slow because of latency (my PD disks are operating well below their potential IOPS). iostat does not seem to be installed on the COS nodes. Suggestions

[kubernetes-users] Re: Is it possible to pool resources across hosts/nodes like VMware does

2018-02-14 Thread Warren Strange
AFAIK you can not split a pod between more than one node. I know nothing about VMware, but I am guessing they can split VM processes across nodes, which is pretty much equivalent to what Kubernetes does with pods (VM process == a pod, roughly speaking). On Wednesday, February 14, 2018 at