Re: [kubernetes-users] Different between gcr.io and docker.io?

2018-05-26 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
I do not recommend using 3rd party software images (like "python", "nginx", "redis", ...) from gcr.io/google-containers. I do not think they are maintained actively. Please refer to Docker Hub (https://hub.docker.com/) for maintained/active images. On Fri, May 25, 2018 at 2:03 AM dan.steffen.de

Re: [kubernetes-users] Ingress paths not working with dynamic endpoint

2018-05-21 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
+1 to Tim. Your "rewrite-target" annotation won't work on GKE (it's only for nginx-ingress). Also note that "Services exposed through an Ingress must serve a response with HTTP 200 status to the GET requests on "/". This is used for health checking. If your application does not serve HTTP 200 on

Re: [kubernetes-users] nginx-ingress-controller

2018-05-18 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
I recommend just following the tutorial at https://cloud.google.com/community/tutorials/nginx-ingress-gke to install nginx-ingress on GKE. It goes through both RBAC enabled and disabled instructions. On Fri, May 18, 2018 at 3:06 PM Montassar Dridi wrote: > Hello > >

Re: [kubernetes-users] AWS ECR in Google Kubernetes Engine?

2018-05-09 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
on.com/sdk-for-go/v1/developer-guide/configuring-sdk.html> > in > /root/.aws/credentials. Then you can refer to ECR images in your pod specs > as normal. > > Naadir Jeewa | Platform Lead | The Scale Factory > > On 9 May 2018 at 05:22, 'Ahmet Alp Balkan' via Kubernetes user

Re: [kubernetes-users] Get Deployment annotation from a Kubernetes Pod

2018-05-01 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
I'm not entirely sure if a Pod inherits the annotations of its owner (i.e. Deployment). Based on my experimentation it doesn't. That said, the downward API lets you read fields

[kubernetes-users] Re: how to delete all log records belong to “GKE Container” service on Google Cloud

2018-04-23 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
It looks like logs from GKE containers are not logged to a single table, but they're logged by deployment (or pod) name as you're seeing above. If you want to disable Stackdriver Logs collection from your GKE clusters, see:

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

2018-04-23 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
I suspect this issue is rooted in the GCP infrastructure and does not have much to do with the open source part of the system. There's a good #gke community on kubernetes slack channel, however I don't think anyone will be able to help with this particular issue. I recommend reaching out to the

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

2018-04-16 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
This is a known issue that has always existed. Please subscribe these issues if you want to be notified about the progress/resolution: https://github.com/kubernetes/ingress-gce/issues/136 https://github.com/kubernetes/kubernetes/issues/4630 If you're using Service.type=LoadBalancer, you can use

Re: [kubernetes-users] Kubernetes StatefulSets: External DNS

2018-03-13 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Closest thing you can get is https://github.com/kubernetes-incubator/external-dns but I don't think it has support for StatefulSet ordinal numbers, mostly because it's not a common scenario to expose individual pods to the Internet publicly. However, you may still make use of external-dns to

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

2018-02-22 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Some good learning resources: - learn Docker first - Kubernetes interactive tutorial - Free video course on Coursera, by Google: introduction to Kubernetes

[kubernetes-users] Re: What are the list of valid reclaim policies for PVs?

2018-02-20 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
+kubernetes-sig-storage-m...@googlegroups.com (correcting the recipient address) On Tue, Feb 20, 2018 at 3:29 PM, Ahmet Alp Balkan wrote: > In https://kubernetes.io/docs/concepts/storage/persistent- > volumes/#reclaiming I see 3 reclaim policies: > - Retaining > - Recycling >

[kubernetes-users] What are the list of valid reclaim policies for PVs?

2018-02-20 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
In https://kubernetes.io/docs/concepts/storage/persistent-volumes/#reclaiming I see 3 reclaim policies: - Retaining - Recycling - Deleting however the "kubectl explain pv.spec.persistentVolumeReclaimPolicy" says: What happens to a persistent volume when released from its claim. Valid

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

2018-02-01 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
You can have CoreOS toolbox on GKE COS nodes: https://cloud.google. com/container-optimized-os/docs/how-to/toolbox Just type "toolbox" when you SSH into the node. On Thu, Feb 1, 2018 at 8:20 PM, Warren Strange wrote: > > > Stackdriver will show me disk IOPS and

Re: [kubernetes-users] usage of config-maps in gke deployments

2018-02-01 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
I can't reproduce your problem./ I see the KUBE_CONFIG_1 and _2 just fine when I deploy this pod. I just created configmap: kubectl create configmap test-configmap --from-literal=data-1=foo --from-literal=data-2=bar If you're seeing a crashloopbackoff, it probably doesn't have anything to

Re: [kubernetes-users] Re: Unable to start Minikube on Windows 10

2017-12-29 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
It would be better if you open an issue at https://github.com/kubernetes/minikube/issues/new. I recommend manually deleting the VM (on virtualbox or Hyper-V), deleting ~/.minikube directory and starting over. Minikube probably has some clue so it thinks it has the VM, but cannot connect to it

Re: [kubernetes-users] Kubernetes Feature Request: Interactive kubectl session

2017-12-29 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
https://github.com/cloudnativelabs/kube-shell is similar to you’re looking for, but not entirely. You might be able to create the DSL you described using client-python perhaps. On Fri, Dec 29, 2017 at 12:07 PM, Rudy Bonefas

Re: [kubernetes-users] 404 on tutorial

2017-11-16 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Also consider reporting website issues to https://github.com/kubernetes/website/issues On Thu, Nov 16, 2017 at 11:12 AM, Ahmet Alp Balkan wrote: > Loads fine on my machine. Try again or check your adblocker settings, > maybe it's blocking iframes. > > On Wed, Nov 15, 2017 at

Re: [kubernetes-users] 404 on tutorial

2017-11-16 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Loads fine on my machine. Try again or check your adblocker settings, maybe it's blocking iframes. On Wed, Nov 15, 2017 at 10:32 PM, wrote: > https://kubernetes.io/docs/tutorials/kubernetes-basics/ > explore-interactive/ > is 404 > > -- > You received this message because

Re: [kubernetes-users] Re: GKE, Ingress + Google CDN

2017-10-23 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
+1 Nick. That would also mean potentially applying changes to the Ingress object may destroy your CDN configuration. I see another request here to enable CDN via an Ingress annotation, maybe it's time to open an issue

Re: [kubernetes-users] unknown host between nodes in a Stateful Set

2017-10-20 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Some documentation here: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#stable-network-id Try using . format e.g. "ping db-0.cassandra". On Fri, Oct 20, 2017 at 2:00 PM, DK wrote: > Hi, > > I'm running a Stateful Set with Headless Service

Re: [kubernetes-users] kubernetes persistent volume

2017-10-13 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
You can find some examples at https://github.com/kubernetes/examples/tree/master/staging/volumes/azure_disk https://github.com/kubernetes/examples/tree/master/staging/volumes/azure_file On Fri, Oct 13, 2017 at 1:03 AM, Prasanth K M wrote: > Any one please help me to

[kubernetes-users] StatefulSet pod index as label?

2017-09-13 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
I'm curious if having ordinal index for StatefulSet pods would be useful, if Kubernetes exported this information as a label on the pod. This way a user could create a Service easily selecting a pod in the

Re: [kubernetes-users] Re: NetworkPolicy ingress restrictions don't seem to be working in GKE

2017-09-05 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
GKE NetworkPolicy works fine on COS (container optimized OS) image. I have a tutorial at https://github.com/ahmetb/kubernetes-networkpolicy-tutorial. See this page to find out how to create an alpha

Re: [kubernetes-users] Kubernetes on Oracle Linux 7

2017-07-03 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
I don't think there's an Oracle Linux-specific guide. You can take a look at kubeadm tool to create a cluster. https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/ On Mon, Jul 3, 2017 at 4:10 AM, Walter Heestermans < walter.heesterm...@gmail.com> wrote: > Hi, > > I'm new to

Re: [kubernetes-users] How to access a service through a https?

2017-06-22 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
I wrote an answer to this at https://stackoverflow.com/ questions/44708272/how-to-access-a-kubernetes-service- through-https/44709245#44709245. If you are actually planning to expose an application running on Kubernetes to the outside world with HTTPs, you should consider buying HTTPs

Re: [kubernetes-users] Getting Google's Cloud SQL Proxy to work

2017-06-21 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Can you run "kubectl logs -l app=wordpress"? I am assuming there will be some logs from the crashing mysql container. On Wed, Jun 21, 2017 at 7:58 AM, Traiano Welcome wrote: > I'm following this example of how to get wordpress running on GKE > connected to Google Cloud SQL

Re: [kubernetes-users] How highly availability is the master zone in GKE?

2017-06-06 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
> > On Mon, Jun 5, 2017 at 10:29 AM, wrote: > >> GKE creates a cluster with one master zone. Although there is an SLA of >> 99.5% uptime, this adds up to almost 4 hours in a month. This is not >> acceptable for my application in production. >> > I believe you recently asked

Re: [kubernetes-users] Docker vs K8s API

2017-06-02 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
On Fri, Jun 2, 2017 at 7:40 AM, Diego Lapiduz wrote: > > The weird thing is that Kubernetes is the backend in both cases, I am just > using the Docker API in one case and the kubernetes one in the other. > To be clear, the statement that you're using Kubernetes backend in both

[kubernetes-users] Re: Basic Kubernetes Service Hello World Example: Issue Exposing Service using LoadBalancer

2017-05-23 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Traiano, which environment (cloud, local, etc?) your cluster is running on? Service type=LoadBalancer is available only on cloud environments when Kubernetes is configured to use them to create an external load balancer. Otherwise EXTERNAL_IP will stay in forever. Also, the actual docs are at

Re: [kubernetes-users] kubectl against kubelet

2017-05-16 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
> > Essentially using it to more easily manage the docker daemon on a single > host > Can you explain how is managing docker daemon on a single host difficult for you? > > -- > You received this message because you are subscribed to the Google Groups > "Kubernetes user discussion and Q" group.

Re: [kubernetes-users] Re: deployment not creating pod at all

2017-05-15 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Interesting, I've been able to change the image to busybox from your manifest and deploy it as is, and the pod came up. On Mon, May 15, 2017 at 2:13 PM, wrote: > Here it is with both labels: > thanks > > > apiVersion: extensions/v1beta1 > kind: Deployment > metadata: >

Re: [kubernetes-users] deployment not creating pod at all

2017-05-15 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
It might be helpful to paste your deployment manifest yaml file here. On Mon, May 15, 2017 at 1:00 PM, wrote: > No events at all. > I just figured out it is because I defined multiple labels. If I just use > one label, everything is fine. Is this a bug? > > Labels:

Re: [kubernetes-users] Re: The connection to the server localhost:8080 was refused - did you specify the right host or port?

2017-05-15 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Could you contribute back to the https://github.com/ kubernetes/kubernetes.github.io repository please if you figured out the solution? On Mon, May 15, 2017 at 12:36 AM, secmask wrote: > I got the same trouble since nearly release, seem must use KUBECONFIG > explicit > > > >

Re: [kubernetes-users] deployment not creating pod at all

2017-05-15 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Can you look at "kubectl get events -w" and see what is happening when you create the deployment? I wonder if there's any issue with replicaset that is not shown in the events for deployment. On Mon, May 15, 2017 at 12:36 PM, wrote: > Dear Expert, > > I defined a deployment

Re: [kubernetes-users] services and namespaces

2017-05-09 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Documentation on DNS records: https://kubernetes.io/docs/concepts/services- networking/dns-pod-service/ Side-question: is it possible to create a Service that points to pods in namespaces different than the Service itself? On Tue, May 9, 2017 at 12:56 AM, 'David Oppenheimer' via Kubernetes user

[kubernetes-users] Resource requests/limits on Pod-level

2017-05-03 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Hello, I am trying to understand the Resource Limits/Requests for Pods and Containers document. In multiple places, the document implies that users can specify ResourceRequirements *at pod-level**. *(I don't

Re: [kubernetes-users] Bug on documentation page

2017-04-28 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Looks like a weird redirection issue. I opened an issue: https://github.com/kubernetes/kubernetes.github.io/issues/3577 On Fri, Apr 28, 2017 at 10:54 AM, Rodrigo Campos wrote: > Please report an issue on GitHub: https://github.com/ > kubernetes/kubernetes.github.io > > Or,

Re: [kubernetes-users] Warning on kubectl create then apply

2017-04-17 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
should be an alias >> of apply. It might be worth while to understand the use case for using >> kubectl create --save-config=false. In what situation would someone want to >> do that? i.e. *not* save LastAppliedConfig? >> >> On Fri, Apr 14, 2017 at 1:00 AM 'Ahmet Alp Ba

[kubernetes-users] Warning on kubectl create then apply

2017-04-13 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
It looks like when somebody creates something using "kubectl create -f", there's no command to update it the same way. When they use "kubectl apply", they get a warning: $ kubectl create -f ns.yml namespace "foo" created $ kubectl apply -f ns.yml *Warning: kubectl apply should be used on resource

Re: [kubernetes-users] Kubernetes services communication by REST: POST request failed with "Stream ended unexpectedly"

2017-03-30 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
It looks like your application doesn't support this type of request: exception.RestException: multipart/form-data cannot be processed. Try to take them out of kubernetes and containers and troubleshoot, so that you can see if the problem is Kubernetes or your application. On Thu, Mar 30, 2017 at

Re: [kubernetes-users] Re: Unable to connect to Internet from a container deployed in Kubernetes

2017-03-13 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Please point out what environment you are using (or how did you set up your cluster). Depending on a combination of your installation method, cloud provider or networking/firewall/routes configuration you can end up with this. On Sat, Mar 11, 2017 at 4:25 PM, ashok via Kubernetes user discussion

Re: [kubernetes-users] Authenticate kubectl from a service

2017-03-02 Thread 'Ahmet Alp Balkan' via Kubernetes user discussion and Q
Hi Brett, If your'e using "gcloud auth activate-service-account" I am assuming you have a JSON key file. So in your Docker image, if you have gcloud and use "activate-service-account" the JSON file contains information about what account it belongs to. This does not require opening a browser