Re: [kubernetes-users] Kubernetes memory leak on Master node.

2018-09-14 Thread Rodrigo Campos
It seems newer versions fixed a leak. Don't know which component is that is leaking for you, though. But, for example, this is one that have been fixed in a newer version: https://github.com/kubernetes/kubernetes/pull/65339 See the changelog here for all 1.10.x minors:

Re: [kubernetes-users] Kubernetes Engine ImagePullBackOff for all images across all clusters

2018-09-11 Thread Rodrigo Campos
Can you pull from your laptop? Are you sure GKE is the problem? I'd try to isolate that, first. If GKE is the problem, probably a ticket to Google support may help. If not, maybe the repository cleans old images, etc. Have you tried others images? Other repos? Etc, etc. On Tuesday, September

Re: [kubernetes-users] one cluster for all, or one for PROD or other for QA/UAT

2018-08-27 Thread Rodrigo Campos
It has been asked several times, there are really lengthy answers with different trade offs. I use different, I value testing Kubernetes upgrades in my stag/qa envs. On Monday, August 27, 2018, Gabriel Sousa wrote: > hello > > what is the best ? > one kubernetes cluster for all env ? > or

Re: [kubernetes-users] If Master Nodes fails on Multi Master HA Setup then will the new jobs runs on the failed Master's worker node.

2018-08-27 Thread Rodrigo Campos
What do you mean with "those jobs"? Which ones? Multi-master avoids having a problem if a master fails (or repairs quickly the situation), so I'd say yes. It also depends on how you manage etcd, to have concensus and that stuff. But yeah, it won't be an issue On Monday, August 27, 2018, Basanta

Re: [kubernetes-users] kubelet + containers health check frequency

2018-08-21 Thread Rodrigo Campos
Do you mean the liveness check? Sure, see the docs. IIRC, it's there :) If a pod crashes, it will be restarted immediately, I think. On Tuesday, August 21, 2018, Aymen wrote: > Hello All, > > I'm trying to reduce kubernetes reaction time in case of a pod or > container failure (container

Re: [kubernetes-users] Save the kubernetes container logs on the host node where the pod is deployed.

2018-08-20 Thread Rodrigo Campos
You can write to stdout and see the logs of the crashed container with kubectl logs (or kubectl logs --previous or something like that was the flag called). Usually writing to stdout is a good practice:-) On Monday, August 20, 2018, Ashish r wrote: > Hello all, > > I have implemented a 3

Re: [kubernetes-users] [Statefulset]Setting environment variables specific to each HOSTNAME loading from certain PATH mounted to container

2018-08-17 Thread Rodrigo Campos
On Friday, August 17, 2018, ilter P wrote: > Hi Rodrigo, > > Thanks for the reply > First of all this is stable external image and I dont want to maintain my > version. > Secondly, the values that I would like to get are created during my > deployment (ingress external host urls) and I can only

Re: [kubernetes-users] [Statefulset]Setting environment variables specific to each HOSTNAME loading from certain PATH mounted to container

2018-08-17 Thread Rodrigo Campos
Sorry, what is thing number 1 you tried? Is that in the yaml or where? Not sure what you mean As a hack, can't you change your docker file to do on startup (CMD): export var=$(...); ./your-app ? Does it work? Probably, he simplest thing might be for the app to read the proper variable using it's

Re: [kubernetes-users] Is there a way to not start the pod creation if no slave nodes available to run the jobs .

2018-08-10 Thread Rodrigo Campos
This is probably related to "Build queue hangs after timer task error". It seems he started a new thread now that he knows the reason of the jenkins build hanging out. But I might be wrong and may be something completely different. Never used the Jenkins plugin, but I thought it created slaves

Re: [kubernetes-users] Build queue hangs after timer task error

2018-08-10 Thread Rodrigo Campos
ted above.. > > > On Thursday, August 9, 2018 at 7:30:53 AM UTC+5:30, Rodrigo Campos wrote: >> >> Can you please elaborate? >> >> What job? How are you running it? I don't even understand how Kubernetes >> is involved in this. Can you explain me more? I really

Re: [kubernetes-users] Build queue hangs after timer task error

2018-08-08 Thread Rodrigo Campos
Aug 07, 2018 11:37:51 PM SEVERE hudson.triggers.SafeTimerTask run > Timer task hudson.slaves.NodeProvisioner$NodeProvisionerInvoker@7dffefc4 > failed > > > On Wed, Aug 8, 2018 at 6:20 PM, Rodrigo Campos > wrote: > >> Can you please elaborate? What do you mean with build ta

Re: [kubernetes-users] How to monitor/alert on container/pod death or restart

2018-08-08 Thread Rodrigo Campos
It really depends on the monitoring solution. Usually this metrics are exported and you can just predicate on them, in the language they provide. In my case, I'm using a hosted solution (signalfx) that gives you a daemon set and sends that metric to them. You can then predicate. We have alerts

Re: [kubernetes-users] Build queue hangs after timer task error

2018-08-08 Thread Rodrigo Campos
Can you please elaborate? What do you mean with build task? On Wednesday, August 8, 2018, Basanta Kumar Panda wrote: > Hi, > > Build queue hangs after timer task error is there any solution.. > Regards, > Basanta > > > > -- > You received this message because you are subscribed to the Google

Re: [kubernetes-users] pod migration if the node goes down

2018-08-06 Thread Rodrigo Campos
Feel free to search the documentation for the default values. But in my experience, it was never an issue (we don't have one replica of anything, though. So a single node going down is pretty tolerable) On Monday, August 6, 2018, Niranjan Kolly wrote: > Hi MR, > > What about any application

Re: [kubernetes-users] Re: Getting data in and out of a job

2018-08-03 Thread Rodrigo Campos
I'm not sure what would work for you. A configmap created for that job only? Or a secret, that can have binary data? Or just an URL for input and log to stdout the output? Or use an S3 bucket for input/output? Not sure I understand the no cleanup part. If you want the output, then you want the

Re: [kubernetes-users] History of kubectl edit

2018-05-22 Thread Rodrigo Campos
Nope :-( On Tuesday, May 22, 2018, wrote: > Hi, > > I recently a silly mistake of making some changes to a cluster via > 'kubectl edit' without saving the previous states of the ingress I edited. > Is there any location that old versions of objects are saved or the

Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread Rodrigo Campos
Not sure it's simpler, nor what you mean with tags. But yeah, you can create pods via the API, count, or use quota limits if you prefer, too. Let's simplify it: try and report back ;) Seriously, I think that would be the easiest and fastest thing to do. On Thursday, May 17, 2018,

Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread Rodrigo Campos
On Thursday, May 17, 2018, wrote: > So: > I have 3 types of devices. Each device has assigned container - to access > device you have to connect to container and from there you can use device. What do you mean with device? > Containers have special environment

Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread Rodrigo Campos
Can you please elaborate? I don't follow what you mean with "type A, unique variable: xxx". On Thu, May 17, 2018 at 12:35 PM, wrote: > Hi Rodrigo, > I cannot find an example for one thing: > Let's say I have 3 pods defined: > type: A, unique_variable: 111 > type: A,

Re: [kubernetes-users] Looking for service pool managing solution

2018-05-17 Thread Rodrigo Campos
For what I understand, yes. Go ahead and try it out and read the docs. Each container/pod can specify it's requirements regarding could/mem, and k8s will allocate them while they exist automatically on some node. Or you can even make sure some containers/pods will be run on some type of nodes

Re: [kubernetes-users] Slow response times using default Ingress on GKE

2018-05-12 Thread Rodrigo Campos
:50 PM 'Kenneth Massada' via Kubernetes user > discussion and Q <kubernetes-users@googlegroups.com> wrote: > >> Dave, are you able to use our support center to file a case >> https://cloud.google.com/support/, if you have already could you share >> the number with us, I'll make su

Re: [kubernetes-users] Slow response times using default Ingress on GKE

2018-05-11 Thread Rodrigo Campos
Have you tried what I suggested? Also, isn't it possible to open a ticket on google cloud support about gke? (Never used Google cloud, don't know if it's free or what) On Friday, May 11, 2018, Dave Jensen wrote: > > Have you tried using the service nodeport? You can do

Re: [kubernetes-users] AWS Multi-AZ node/pod spreading

2018-05-09 Thread Rodrigo Campos
On Wed, May 09, 2018 at 07:35:23AM -0700, a...@unbotify.com wrote: > Hi all, > > I'm building a K8s cluster with KOps. With 3 IGs, one in each AZ. Nodes are > automatically tagged with failure-domain tags - >

Re: [kubernetes-users] Best practices for subversion updates on prod environment with kubernetes cluster in daemon set configuration

2018-04-26 Thread Rodrigo Campos
Adding Kubernetes users again :) On Thursday, April 26, 2018, Rodrigo Campos <rodrig...@gmail.com> wrote: > On Thursday, April 26, 2018, <mderos...@gmail.com> wrote: > >> >> Il 25/04/2018 01:27, Rodrigo Campos ha scritto: >> >>> I don

Re: [kubernetes-users] Best practices for subversion updates on prod environment with kubernetes cluster in daemon set configuration

2018-04-24 Thread Rodrigo Campos
On Tuesday, April 24, 2018, <mderos...@gmail.com> wrote: > Il giorno lunedì 23 aprile 2018 16:52:20 UTC+2, Rodrigo Campos ha scritto: > > Sorry, there are different parts that I don't follow. Why daemon set? > > No problem. > So why daemon set? Because I hav

Re: [kubernetes-users] Best practices for subversion updates on prod environment with kubernetes cluster in daemon set configuration

2018-04-23 Thread Rodrigo Campos
Sorry, there are different parts that I don't follow. Why daemon set? And fundamentally why not rebuild ok SVN changes? You can automate that. Take into account that if you don't have different images with the code, you can't use Kubernetes to rollback either. Or you should check in some other

Re: [kubernetes-users] Kubernetes Lifecycle Hooks

2018-04-16 Thread Rodrigo Campos
Can someone ban this? Or what is the proper procedure to follow? Thanks! On Tuesday, April 17, 2018, Sunil Bhai wrote: > Pls check this repo > > https://github.com/waterplaclid/k8s-podmon.git > > https://github.com/waterplaclid/k8s-podmon.git > >

Re: [kubernetes-users] Kubernetes Lifecycle Hooks

2018-04-16 Thread Rodrigo Campos
IIUC, no. Node crashes will not execute a preStop hook and there is no way for Kubernetes to guarantee that. But what are you trying to solve, really? Or, in other words, how would you solve it without Kubernetes? Probably the same solution applies to Kubernetes? On Monday, April 16, 2018,

Re: [kubernetes-users] ClusterIP service not distributing requests evenlyamong pods in Google Kubernetes Engine

2018-04-13 Thread Rodrigo Campos
And how are you running the requests? Against which IP and which port? On Fri, Apr 13, 2018 at 10:17:04AM -0700, cristian.coch...@gmail.com wrote: > > OK, I changed my pods to respond almost immediately so that I can test with a > statistically significant number of requests (10,000), and I am

Re: [kubernetes-users] ClusterIP service not distributing requests evenly among pods in Google Kubernetes Engine

2018-04-13 Thread Rodrigo Campos
Why are obviously not evenly distributed? How are pods asgined to nodes? And also, how do you noticed, exactly, that they are not "evenly distributed"? On Friday, April 13, 2018, wrote: > > I have a ClusterIP service in my cluster with 4 pods behind it. I noticed >

Re: [kubernetes-users] Kubernetes engine not cleaning up after itself (firewall rules + load balancers)

2018-04-12 Thread Rodrigo Campos
Have you tried deleting the services before and that stuff? On Thursday, April 12, 2018, wrote: > When deleting deployments and clusters kubernetes engine is leaving behind > a mess of orphaned load balancers and firewall rules. > > -- > You received this message

Re: [kubernetes-users] How to access LDAP server (not container) by application deployed in container

2018-04-06 Thread Rodrigo Campos
On Fri, Apr 06, 2018 at 04:56:11AM -0700, nvnvashi...@gmail.com wrote: > Hello Experts, > > I have my application running in docker swarm, where the application is using > the LDAP and MySQL server (not container) very well and everything is working > fine. Initially I had source file (config

Re: [kubernetes-users] how can i configure a clusterIP ?

2018-04-04 Thread Rodrigo Campos
What docs have you follow and where it didn't work? So we can better guide you On Wednesday, April 4, 2018, Gabriel Sousa wrote: > how can i configure a clusterIP ? > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes

Re: [kubernetes-users] independent custom kubernetes - best solution to Publish services ?

2018-04-04 Thread Rodrigo Campos
On Wed, Apr 04, 2018 at 09:33:28AM -0700, Gabriel Sousa wrote: > > Now i know what i have to do, > > Create a cluster with 3 masters and will use pacemaker/virtual ip and use > nodeport to Publish services . Really, can you please elaborate? > > can i have only 3 masters without workers ?

Re: [kubernetes-users] Network Policy to limit open connections per pod

2018-03-28 Thread Rodrigo Campos
Just curious, but why not change the contrack limit? On Wednesday, March 28, 2018, wrote: > Is there anything similar to a network policy that limits x open > connections per pod? > > During a 100k TPS load test, a subset of pods had errors connecting to a > downstream

Re: [kubernetes-users] Access Kubernetes Dashboard ui from browser

2018-03-27 Thread Rodrigo Campos
On Tuesday, March 27, 2018, jw wrote: > I am new to K8S. Follow https://get.k8s.io/ created a Kubernetes cluster > in Google cloud (gce instances). I tries to access dashboard UI from > browser but without success. The cluster-info looks like this: > > kubectl cluster-info

Re: [kubernetes-users] StatefulSets and availability zones in AWS

2018-03-25 Thread Rodrigo Campos
AWS also offers EFS volumes (https://aws.amazon.com/efs/) that are basically NFS volumes that can be accessed within a region (so there should be no problem if one AZ is down or whatever). Pricing is quite different, but it might be a better fit as you don't need to handle any of the complexity.

Re: [kubernetes-users] What is kubernetes containers, nodes, services, and apps?

2018-02-18 Thread Rodrigo Campos
Have you tried the doc on the kubernetes website? It aims to explain exactly that: https://kubernetes.io/docs/home/ But please don't hesitate to ask back whatever is not clear, or submit a PR :-) On Sunday, February 18, 2018, wrote: > I'm trying to get my head around

Re: [kubernetes-users] Is it Possible to do MSSQL replication on Kubernetes?

2018-02-07 Thread Rodrigo Campos
I have never done it. But vitess might be interesting, if it's not an overkill for your scenario: http://vitess.io/ Let us know what you end up doing :) On Tuesday, February 6, 2018, wrote: > Hi There! > > We need to do MSSQL replication on Kubernetes. > > I don't know

Re: [kubernetes-users] livenessProbe failed won't set pod status Ready=False

2018-02-04 Thread Rodrigo Campos
Oh, now I see. But if you uncomment the readiness probe, even if the readiness probe has an initial delay, it works as expected. Right? On Sunday, February 4, 2018, Colstuwjx wrote: > >> Sorry, my mistake, it seems that the ready=True is due to >>> `initialDelaySeconds`

Re: [kubernetes-users] livenessProbe failed won't set pod status Ready=False

2018-02-04 Thread Rodrigo Campos
On Saturday, February 3, 2018, Colstuwjx wrote: > Sorry, my mistake, it seems that the ready=True is due to > `initialDelaySeconds` has been set `30s`, and within the 30 seconds, the > nginx POD would be `Ready`. > Are you really really sure that is the case? Can you send

Re: [kubernetes-users] destoryed pod containers trigger

2018-01-31 Thread Rodrigo Campos
On Wed, Jan 31, 2018 at 06:38:36AM -0800, Colstuwjx wrote: > > > >> But, what if we want to trigger the detail exited reason for the exited > >> containers? Is there any parameters configure that? > > > > Have you checked the terminationGracePeriod? I think it will do just that. > > I'm afraid

Re: [kubernetes-users] destoryed pod containers trigger

2018-01-31 Thread Rodrigo Campos
On Wednesday, January 31, 2018, Colstuwjx wrote: > Hi team, > > As I known, kubernetes will kill the POD while the readiness probe failed > over than `FailureThreshold` limit, and the unhealthy containers will be > deleted by kubelet. > I think only the liveness probe will

Re: [kubernetes-users] How to add the Docker Parameter "--security-opt" to Kubernetes Deployment ?

2018-01-21 Thread Rodrigo Campos
Oh, sorry, I really don't know about windows :-( On Sunday, January 21, 2018, Thomas Asanger wrote: > Hi Rodrigo, > > This Option is starting the container under the service account on our > W2016 Host as configured in the json file. > To get our Application working, it must

Re: [kubernetes-users] How to add the Docker Parameter "--security-opt" to Kubernetes Deployment ?

2018-01-19 Thread Rodrigo Campos
If one of the available options on deployment (see the API doc for completeness) doesn't do that, then you probably can't use that option. But what is that you want (sorry, I don't know what that docker option does)? Do you want some json file available in the container fs when it runs? In that

Re: [kubernetes-users] Limit numer connection

2018-01-15 Thread Rodrigo Campos
No, It shouldn't be any problems. You can stress test. Or maybe my email is too late? :) On Wednesday, January 10, 2018, Nicolas wrote: > Hi all, > > there is a connection limit of single server/IP ? We have container > Kubernet with a internal service that

Re: [kubernetes-users] Re: How to achieve Nginx,PHP-FPM,PHP Module and MySQL in Kubernetes

2018-01-14 Thread Rodrigo Campos
What do you mean? Sorry, I didn't understand (and the thread seems broken, so I can just read your mail and what you quote) On Friday, January 12, 2018, wrote: > On Wednesday, 15 March 2017 04:58:41 UTC-3, Prabhurs wrote: > > Hi Team, I am new to Kubernetes... I have setup

[kubernetes-users] Re: Perform external HTTP requests during lifecycle hook

2018-01-04 Thread Rodrigo Campos
Moving to kubernetes-users On Thu, Jan 04, 2018 at 01:37:12AM -0800, Rémi Bèges wrote: > Hi, > > I would like to perform external HTTPS request during the postStart and > preStop events, in order to notify a remote API. Is this possible ? > > Also, I would need to pass an identification token

Re: [kubernetes-users] Kubernetes Volume storage questions

2018-01-02 Thread Rodrigo Campos
The first are clustered filesystems, you don't need that complication. EBS is just a block device, probably the same is true for VMware. But feel free to read about them, it's a subject on its own and not at all Kubernetes specific On Tuesday, January 2, 2018, DK

Re: [kubernetes-users] Kubernetes Volume storage questions

2018-01-02 Thread Rodrigo Campos
Or just a pvc (a volume claim) that by default in one cluster is ebs and the other is the one for VMware? Take a look into PVC doc, it might be just what you want :-) On Tuesday, January 2, 2018, DK wrote: > Hi, > > My Kubernetes cluster will be running on VmWare and

Re: [kubernetes-users] Kubernetes service type for background app

2018-01-02 Thread Rodrigo Campos
Services are just to expose. So you can just a deployment and decide (or autoscale) the replicas :) On Tuesday, January 2, 2018, Mario Rodriguez wrote: > good question, I thought you always needed a Service when running an app > in k8s. > > On Monday, January 1, 2018 at

Re: [kubernetes-users] Mysql kubernetes deployment and management

2017-12-28 Thread Rodrigo Campos
How do you install and run MySQL? What errors do you see when connecting, exactly? And what do you see in the MySQL pods logs? Sorry, but try to read your email from a person who doesn't know how you deploy, how it fails, etc. And you will see that is actually pretty hard for us to say

Re: [kubernetes-users] why can i see the process that in a container in the host?

2017-12-19 Thread Rodrigo Campos
It's about docker. When you run a docker container you are really running a process (with cgroups to limit cpu, namespaces to isolate visibility, etc. But it's just a process) On Tuesday, December 19, 2017, wrote: > hi all, > > i got confused that when i create a pod like

Re: [kubernetes-users] How to put in communication two clusters in Kubernetes

2017-12-13 Thread Rodrigo Campos
On Wednesday, December 13, 2017, Gmail wrote: > > Can't you use an internal load balancer to communicate? > > > I noticed that if I create a load balancer service or an ingress service, > Kubernetes will create a public ip address. > So when you say *internal* load balancer,

Re: [kubernetes-users] How to put in communication two clusters in Kubernetes

2017-12-13 Thread Rodrigo Campos
Sorry, not follow the price argument. You are only charged for the nodes you use on a Kubernetes cluster (no Masters, no matter cluster size). So, I really don't why it makes a difference the number of clusters On Wednesday, December 13, 2017, wrote: > I think that the

Re: [kubernetes-users] Re: Removing RabbitMQ by using Kubernete Services

2017-12-11 Thread Rodrigo Campos
Basically, it's not possible to do it with just a service. Service does not queue nor persist, so those guarantees that you just mention are not possible with just a service. The idea of the service is to expose pods to other pods or the internet, so you can connect easily (and not worry about

Re: [kubernetes-users] how to pass kubernetes pods arguments like Docker arguments from command line

2017-12-10 Thread Rodrigo Campos
hether springboot and datastax > driver can run inside a docker container and target a remote ip and port. > > I would have to do some stand alone tests to find out. > > Do you know if anyone else is running Pods that target a remote database > service? > > -Henry > > On Su

Re: [kubernetes-users] how to pass kubernetes pods arguments like Docker arguments from command line

2017-12-10 Thread Rodrigo Campos
e else currently using Data query calls from within Docker with a > database driver to an outside ip address and port? > > -Henry > > > On Saturday, December 9, 2017 at 11:29:58 AM UTC-5, Rodrigo Campos wrote: >> >> Google??? And, also, what is the point of that phrasing?

Re: [kubernetes-users] How to force Kubernetes to update deployment with a pod in every node

2017-12-07 Thread Rodrigo Campos
Oh, I thought you wanted on different hosts but not as many pods as hosts. If you want that's daemonset guarantees that (even if more nodes are created later, etc.) And what Kubernetes version are you using? There is some kind of support to upgrade them in recent versions IIRC (not used that more

Re: [kubernetes-users] How to authenticate to a Kubernetes cluster created on AWS w/ kops

2017-12-06 Thread Rodrigo Campos
Awesome :) On Wednesday, December 6, 2017, bg wrote: > Worked like a charm. Thank you very much! > > -- > 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

Re: [kubernetes-users] How to authenticate to a Kubernetes cluster created on AWS w/ kops

2017-12-06 Thread Rodrigo Campos
There is a similar command for kops, see: https://github.com/kubernetes/kops/blob/master/docs/cli/kops_export_kubecfg.md That should do the trick. On Tuesday, December 5, 2017, bg wrote: > I have several Kubernetes cluster on GKE, and recently created a cluster > on AWS.

Re: [kubernetes-users] How to force Kubernetes to update deployment with a pod in every node

2017-12-05 Thread Rodrigo Campos
Cool. Take into account that daemon set it is created to guarantee having exactly one pod per node. For example, if you had more nodes, more pods for a daemonset will be added. And the same if some crash or you reduce. If that fits better what you want (sorry I didn't understood before), then

Re: [kubernetes-users] How to force Kubernetes to update deployment with a pod in every node

2017-12-04 Thread Rodrigo Campos
It's working as you need? :) On Monday, December 4, 2017, wrote: > thank you all for the support ;-) > > -- > 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

Re: [kubernetes-users] How to force Kubernetes to update deployment with a pod in every node

2017-12-04 Thread Rodrigo Campos
The scheduler makes the decision trying to spread the pods on nodes as you say. But that is just a "signal", other things are taken into account (pods availability zone, in case of AWS, for example, to spread across AZs too) node's resources, etc. So, the default will try to do that, taking into

Re: [kubernetes-users] How to permanently delete a deployment

2017-12-01 Thread Rodrigo Campos
Are you sure isn't there another deployment creating it? Or replica controller or replica set? On Friday, December 1, 2017, wrote: > On Friday, December 1, 2017 at 3:07:15 PM UTC-6, bqu...@newgistics.com > wrote: > > I want to delete the instance of tiller

Re: [kubernetes-users] ERROR Does not have minimum availability

2017-12-01 Thread Rodrigo Campos
What is the error exactly you are seeing? Have you tried specifying a number of replicas? On Friday, December 1, 2017, Montassar Dridi wrote: > Why I keep getting this error Does not have minimum availability for a > deployment as sample as this > apiVersion:

Re: [kubernetes-users] How to make a container(s) to able to reach to ClusterIP:port or Service's Publilc IP:NodePort?

2017-11-30 Thread Rodrigo Campos
On Thursday, November 30, 2017, Kyunam Kim wrote: > How do I make a container aware of the service's IP:NodePort or > ClusterIP:port address? > Let's say, I can access my application at http://public-ip:port/myapp > from the external world. > I want a container(s) to be

Re: [kubernetes-users] What is the best-practice for exposing your public-facing services when running on AWS?

2017-11-26 Thread Rodrigo Campos
Not sure what you really mean. You use a load balancer that exposes the kubernetes service typically. You can also use an ingress controller. But why involve, and how, api gateway? And ELB have a security group, you just enable what is reasonable there if you want. Or just use service type load

Re: [kubernetes-users] Unexpected Behavior When Scaling Application

2017-11-22 Thread Rodrigo Campos
If I have to bet, I'd bet it's the application. But okay, that is what you see. But else do you see in Kubernetes? Logs of kube-proxy, etc.? How do you keep the users logged in the application? Is there any container restart when this happens? Are you using GKE? And how do you connect, via a

Re: Private message regarding: Private message regarding: [kubernetes-users] Get current user name in pod yaml file

2017-11-11 Thread Rodrigo Campos
No problem! Hope it works :) On Saturday, November 11, 2017, lppier <madst...@gmail.com> wrote: > Yup I can do that. Was just wondering .. thanks for your help! > > On Friday, 10 November 2017 22:25:42 UTC+8, Rodrigo Campos wrote: >> >> Oh, sorry, Kubernetes users

Re: Private message regarding: [kubernetes-users] Get current user name in pod yaml file

2017-11-10 Thread Rodrigo Campos
Oh, sorry, Kubernetes users was removed. Adding it back On Friday, November 10, 2017, Rodrigo Campos <rodrig...@gmail.com> wrote: > So they will create the deployment and you want that user executing that? > > Then i think this will work: just a template and modify those variabl

Re: [kubernetes-users] Pod Presets and init containers

2017-11-09 Thread Rodrigo Campos
I don't find any reason mentioned in the proposal: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/service-catalog/pod-preset.md It seems like an useful question to ask on service catalog sig? Probably with a concrete use case :) On Thursday, November 9, 2017,

Re: [kubernetes-users] Two Cluster in single node

2017-11-07 Thread Rodrigo Campos
I've never done that, but I guess you can do it. Go ahead and report back :) On Tuesday, November 7, 2017, wrote: > I am working to configure two kubernetes cluster setup(including binaries > installation) in a single machine, so far, I configured Ethernet adapter

Re: [kubernetes-users] Container termination force pod termination?

2017-10-31 Thread Rodrigo Campos
On Fri, Oct 27, 2017 at 05:17:48PM -0400, David Rosenstrauch wrote: > I'm trying to make sure that as I'm deploying new services on our cluster, > that failures/restarts get handled in a way that's most optimal for > resiliency/uptime. > > > I'm simplifying things a bit, but if a piece of code

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

2017-10-31 Thread Rodrigo Campos
On Mon, Oct 30, 2017 at 03:34:00AM -0700, rgoncal...@gmail.com wrote: > I'm trying to figure out what's the best approach to deploy multiple versions > of the same software in kubernetes without relying on namespaces. According > to the docs: > > "It is not necessary to use multiple namespaces

Re: [kubernetes-users] Container termination force pod termination?

2017-10-27 Thread Rodrigo Campos
On Fri, Oct 27, 2017 at 1:34 PM, David Rosenstrauch wrote: > Was speaking to our admin here, and he offered that running a health check > container inside the same pod might work. Anyone agree that that would be a > good (or even preferred) approach? Not sure what you mean,

Re: [kubernetes-users] Container termination force pod termination?

2017-10-27 Thread Rodrigo Campos
(google groups is taking days when I use my non-gmail email, so I'm sending via gmail again) On Fri, Oct 27, 2017 at 6:17 PM, David Rosenstrauch wrote: > I'm trying to make sure that as I'm deploying new services on our cluster, > that failures/restarts get handled in a way

Re: [kubernetes-users] Container termination force pod termination?

2017-10-27 Thread Rodrigo Campos
I don't think it is configurable. But I don't really see what you are trying to solve, maybe there is another way to achieve it? If you are running a pod of a single container, what is the problem that the container is restarted when is appropriate instead of the whole pod? I mean, you would

Re: [kubernetes-users] minikube - Error from server (BadRequest): container "hello-minikube" in pod "hello-minikube-180744149-z87pb" is waiting to start: ContainerCreating

2017-10-20 Thread Rodrigo Campos
Check the docs, but IIRC the kubectl run created a deployment or rc. That's why, I guess On Friday, October 20, 2017, DK wrote: > *Also there doesn't seem to be a way to delete the pod in this state* >> > kubectl delete pods *hello-minikube-180744149-z87pb* > pod

Re: [kubernetes-users] Re: GKE Kubernetes control plane unable to talk to service

2017-10-16 Thread Rodrigo Campos
On Sun, Oct 15, 2017 at 12:45:38PM -0700, adi...@portworx.com wrote: > Can someone help us here? > Basically the Kubernetes controller manager on GKE is unable to reach the > Service. Is something different required in case of GKE in the service > description? Is kube-proxy running on that

Re: [kubernetes-users] Cluster DNS: bottleneck with ~1000 outbound connections per second

2017-10-05 Thread Rodrigo Campos
appear to be the limit. > > Thanks! > > Evan > > > On Thu, Oct 5, 2017 at 5:26 PM, Rodrigo Campos <rodr...@sdfg.com.ar > <javascript:_e(%7B%7D,'cvml','rodr...@sdfg.com.ar');>> wrote: > >> On Thu, Oct 05, 2017 at 04:29:21PM -0400, Evan Jones wrote: >> >

Re: [kubernetes-users] Cluster DNS: bottleneck with ~1000 outbound connections per second

2017-10-05 Thread Rodrigo Campos
On Thu, Oct 05, 2017 at 04:29:21PM -0400, Evan Jones wrote: > The sustained 1000 qps comes from an application making that many outbound > connections. I agree that the application is very inefficient and shouldn't > be doing a DNS lookup for every request it sends, but it's a python program >

Re: [kubernetes-users] Need to talk to Kubernetes technical team

2017-09-30 Thread Rodrigo Campos
What do you mean with kubernetes technical team? If you have any security issue, please see: https://kubernetes.io/security/ I can't think of anything else, so can you please elaborate? On Saturday, September 30, 2017, wrote: > Hey, > > Can Anyone from the Kubernetes

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

2017-09-27 Thread Rodrigo Campos
n't get it > working, but I believe I am doing something wrong when mounting.. do you > have any example I can use and adapt to my needs? > Thanks > Simone > > Il giorno mercoledì 27 settembre 2017 15:14:59 UTC+2, Rodrigo Campos ha > scritto: >> >> Can you ping the

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

2017-09-27 Thread Rodrigo Campos
nks a lot for your help. > Simone > > Il giorno martedì 26 settembre 2017 22:30:12 UTC+2, Rodrigo Campos ha > scritto: >> >> What I tried to say is using this: http://blog.kubernetes.i >> o/2017/04/configuring-private-dns-zones-upstream-nameservers >> -kubernetes.ht

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

2017-09-26 Thread Rodrigo Campos
> metadata: > name: consulresolution > subsets: > - addresses: > - ip: 10.24.7.26 > ports: > - port: 8300 > > But I am not even able to ping consul.service.cnqr.io.. any idea? > Thanks > > Il giorno martedì 26 settembre 2017 16:03:16 UTC+2, Ro

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

2017-09-26 Thread Rodrigo Campos
2017 10:21:13 UTC+2, Simone D'Andreta ha > scritto: >> >> Hi Rodrigo, >> ideally we would need this per pod, but I can give it a try with creating >> a service per namespace. >> Thanks for the hint, I will let you know how it goes. >> Simone >> >> I

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

2017-09-25 Thread Rodrigo Campos
here is > a way to do this (the cleaner the better :D) > Thanks > Simone > > Il giorno lunedì 25 settembre 2017 15:15:43 UTC+2, Rodrigo Campos ha > scritto: >> >> Can you explain what do you what to achieve? >> >> Maybe changing the configmap kube-dns uses it's eno

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

2017-09-25 Thread Rodrigo Campos
Can you explain what do you what to achieve? Maybe changing the configmap kube-dns uses it's enough (and is prepared to be changed easily, now). On Monday, September 25, 2017, Simone D'Andreta wrote: > Hi Tim, > I know what you mean and that's definitely a big issue

Re: [kubernetes-users] steps to migrate Docker image to use kubernetes

2017-09-22 Thread Rodrigo Campos
t;> >>> >>> kuber-agent.yml >> >>> >>> >> >>> >>> apiVersion: apps/v1beta1 >> >>> >>> kind: Deployment >> >>> >>> metadata: >> >>> >>> name: agent-kuber >> >>> >>> sp

Re: [kubernetes-users] Is a pod equivalent to a set of containers with shared IPC, net, PID namespaces and volumes?

2017-09-22 Thread Rodrigo Campos
At least ir has changed, you won't see pids from other containers in the pod (although I think is the idea in some future, when containers runtimes allow it) On Friday, September 22, 2017, wrote: > 在 2016年10月5日星期三 UTC+8上午10:41:17,Anthony Alba写道: > > Aside from the

Re: [kubernetes-users] Kubernetes Job Opportunity- Michigan

2017-09-21 Thread Rodrigo Campos
Sorry, but please don't use the Kubernetes users mailing list to recruit people. The topic of this is to share and ask about Kubernetes specific problems. It's not about jobs nor about other technical tools. Please help us to keep it this way. On Thursday, September 21, 2017,

Re: [kubernetes-users] steps to migrate Docker image to use kubernetes

2017-09-21 Thread Rodrigo Campos
hostPath: >>> >>> path:/c/Users/abc/config >>> >>> >>> >>> >>> >>> On Tue, Sep 19, 2017 at 9:54 PM, 'Tim Hockin' via Kubernetes user >>> >>> discussion and Q <kubernetes-users@googlegroups.com >>> <javascript:

Re: [kubernetes-users] is anybody running the tip of the master branch as a cluster?

2017-09-19 Thread Rodrigo Campos
On Tue, Sep 19, 2017 at 09:08:22PM +0300, Lubomir I. Ivanov wrote: > On 19 September 2017 at 17:54, Rodrigo Campos <rodrig...@gmail.com> wrote: > > > > > > On Tuesday, September 19, 2017, Lubomir I. Ivanov <neolit...@gmail.com> > > wrote: > >> &

Re: [kubernetes-users] steps to migrate Docker image to use kubernetes

2017-09-19 Thread Rodrigo Campos
On Tue, Sep 19, 2017 at 07:57:55AM -0700, paperless wrote: > > > I have developed a simple Docker image. This can be run using command > > docker run -e VOLUMEDIR=agentsvolume -v /c/Users/abcd/config:/agentsvolume > app-agent > > Same thing if I want to run using kubernetes, can someone guide

Re: [kubernetes-users] is anybody running the tip of the master branch as a cluster?

2017-09-19 Thread Rodrigo Campos
On Tuesday, September 19, 2017, Lubomir I. Ivanov wrote: > hello, > > i've tried setuping a local cluster and after a lot of trial and error > that worked well for 1.7.5. > but my current employer is interested into kubernetes contributions, so > i've tried building and

Re: [kubernetes-users] Autoscale pods based on the queue size threshold

2017-09-19 Thread Rodrigo Campos
I think this can probably be done using custom metrics: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-custom-metrics I have not used custom metrics, so it's not something I really know about :-) On Tuesday, September 19, 2017, Parth Gandhi

Re: [kubernetes-users] StatefulSet pod index as label?

2017-09-13 Thread Rodrigo Campos
On Wed, Sep 13, 2017 at 04:45:51PM -0700, 'Ahmet Alp Balkan' via Kubernetes user discussion and Q wrote: > I'm curious if having ordinal index > > for > StatefulSet pods would be useful, if Kubernetes exported

Re: [kubernetes-users] How to test your code with Kubernetes

2017-09-10 Thread Rodrigo Campos
Although Kubernetes can be involved, I think testing should also work as if you are not using Kubernetes. How did you test these before Kubernetes? But one trick you can try in Kubernetes is minikube for the app you are running and a service type external pointing to the URL the other apps are

Re: [kubernetes-users] Unable to send emails from kuberenetes pod

2017-09-07 Thread Rodrigo Campos
No. Have you tried a telnet from the pod? What did you find while debugging? What do you see in a traceroute, etc.? On Thursday, September 7, 2017, wrote: > Hi All, > > I am getting connection refused error while sending email and receving > emails from pod. > > Do i need

  1   2   3   >