Questions tagged [google-kubernetes-engine]

Google Kubernetes Engine is a cluster manager and orchestrator for running Docker containers. It schedules your containers into the cluster and manages them automatically based on requirements you define (such as CPU and memory). It's built on the open source Kubernetes system, giving you the flexibility to take advantage of on-premises, hybrid, or public cloud infrastructure. It was formerly called Google Container Engine.

Filter by
Sorted by
Tagged with
0
votes
2answers
15 views

GKE not sending auth info anymore

I have python code that: deploys a GKE (Google Kubernetes Engine) cluster builds client-access file ~/.kube/config using server-generated values .master_auth.password & .master_auth.username from ...
0
votes
1answer
24 views

How to setup an internal loadbalancer in a EU GKE region to be used from US GKE over network peering

In our EU region we have an operations cluster, where we serve all of our managements services. Next to it we have an EU cluster in the same region, where we service all of our regional services. We ...
0
votes
1answer
39 views

In kubernetes whitelist ip from pod in other pod

I have a REST-api in one pod that needs to whitelist all hostnames or ips that connects to it. In another deployment/pod I have my own kotlin program that tries to connect to the REST-api Both ...
0
votes
1answer
42 views

List Kubernetes api-server flags on GKE

I don't seem to be able to find a way to list all the flags the api server has set on GKE. Given I cannot SSH into the master nodes to check the process, as those are managed by Google, how do I find ...
0
votes
2answers
138 views

Docker volume from my laptop to Persistent volume on Google Cloud Kubernetes

A docker image running on my laptop with docker volume folder myVolume inside it bounded to a folder on my desktop ( can be any directory on host machine) Desktop-Volume : docker run -it -v ~/...
0
votes
1answer
40 views

GCP - GKE: Every Ingress configuration keeps resetting automatically. How to set an HTTPS health check?

I know that Ingress requires a service in an healthy state in order to serve its contents through HTTP(S) and to do so I configured a ReadinessProbe on my workload deployment: readinessProbe: ...
0
votes
0answers
66 views

Can't reach Load Balancer from GCP VM

In GCP We are setting up kubernetes 1.14. HA as Stacked etcd topology. We have created a image where kubernetes binaries are installed. We have terrafrom script where an instance group is created ...
0
votes
0answers
40 views

Docker push to gcr fails

I have a jenkins agent running in gke which builds a docker image and pushes it to gcr. It works perfectly. But after some time I get this error when pushing to gcr: denied: Unable to write blob ...
0
votes
2answers
50 views

NGINX: redirect only external traffic from HTTP to HTTPS?

I am currently trying to redirect HTTP to HTTPS on my NGINX web server, however only for external connections. Internal connections such as a localhost should be able to access it via HTTP without ...
0
votes
1answer
126 views

Error from server (Timeout): error when creating “STDIN”: Timeout: request did not complete within requested timeout 30s

I'm trying to Deploy the Elasticsearch cluster, yet running into following error (timeout): $ cat <<EOF | kubectl apply -f - > apiVersion: elasticsearch.k8s.elastic.co/v1alpha1 > kind: ...
0
votes
2answers
129 views

Is it possible to provision an SSL proxy for a kubernetes service of type “LoadBalancer” in GKE?

When I use type: LoadBalancer on a GKE service, the controller provisions a TCP load balancer. Is it possible to have an SSL proxy (targetSslProxy) with it? Note that the application layer protocol is ...
0
votes
0answers
39 views

How to enable autoscaling/v2beta2 in google cloud

While following the tutorial found here I saw that I need autoscaling/v2beta2 for having custom metrics for the Horizontal Pod Autoscaler, but don't know how to enable it. Environment details: ...
0
votes
1answer
67 views

Recommended disk size for GKE nodes?

When I create a new node pool in GKE, the size of the disks default to 100GB. However, when I SSH into a node that's been up for a while, after running df -h there's only 32GB in use. (I don't ...
0
votes
2answers
119 views

HTTP proxy server behind a GCP load balancer with basic authentication

I want to run an HTTP(S) proxy service in a GKE cluster, and take advantage of the existing Kubernetes ingress and the GCP load balancer to provide TLS termination and a stable public IP for the ...
1
vote
3answers
92 views

How to create GPC firewall rule to allow traffic between GKE clusters

Background I have a GCP project with two GKE clusters: public-cluster and private-cluster. public-cluster runs an API gateway which performs centralized authentication, logging, rate-limiting etc and ...
0
votes
0answers
54 views

GCP kubernetes nodes with strange monitoring diagram

We have a GCP Kubernetes cluster with 5 nodes. And I experienced some strange issue for these nodes today. The monitoring diagram for the 5 nodes looks like they seem to experience some issue about 30 ...
-1
votes
1answer
41 views

kubectl run fails failed to discover supported resources:

just setup a 3 node cluster on gke and attempted to use kubectl run to deploy a container. I get error: failed to discover supported resources: unable to retrieve the complete list of server APIs: ...
0
votes
1answer
46 views

Set the Network Service Tier at the resource level for new Clusters

I'm working on a hobby Kubernetes project on GKE that I want to keep cheap (standard tier only). I would like to craft a gcloud container clusters create command that creates a cluster that will ...
0
votes
0answers
21 views

Set Stackdriver severity based on textPayload

We have an in-house Java application created by our developers that uses log4j to format its logging messages. Recently, we've started to run this on Google Kubernetes Engine and so logs are piped ...
1
vote
1answer
206 views

When upgrading nodes, why does kubernetes terminate pods before the new pod is in a ready state?

As you can see in the picture below, when upgrading nodes to a new version of Kubernetes, the pods on each node are recreated on a new node with a newer version of Kubernetes. However, it seems that ...
0
votes
1answer
94 views

GKE load balancing + ingress controlller for dev env

I've got some domain example.com with some subdomains (foo.example.com, bar.example.com, etc). That's hosted in GKE and contains one ingress with the mass of routing. This all used to be deployed ...
3
votes
2answers
290 views

Google Cloud Kuberbetes run-away systemd 100% CPU usage

Last week, after upgrading our GKE cluster to Kubernetes 1.13.6-gke.13, all of our nodes in the cluster started to fail due to high CPU usage. It's the Kubernetes software on the nodes themselves ...
0
votes
0answers
50 views

IPv6, IPv4, UDP, and TCP all on one instance in Google Cloud

My Google cloud instance needs to support IPv4, IPv6, TCP, and UDP all on the same instance. I've found this article that shows how to get IPv4, IPv6, and TCP with a global network load balancer, but ...
0
votes
0answers
40 views

How Do I Debug Connection To Google Cloud Kubernetes Cluster

I am trying to reach service through Kubernetes Ingress on cluster in Google Cloud. How do I debug this connection to see the cause of failure? I can check logs of Ingress Pod but how about when it ...
0
votes
1answer
39 views

Can't access LB through cloud NAT

We are running private GKE cluster over GCP. Our services expose to the internet via nginx-ingress and TCP LB white listed in the service.yaml definition. One of our pods is trying to access another ...
0
votes
1answer
54 views

Cannot connect GitLab to GKE Cluster

I am trying to create a CI Pipeline for my GitLab project to deploy my microservices automatically on a Google Kubernetes Engine cluster. Sadly I am unable to use the build-In native Google Cloud ...
0
votes
1answer
41 views

Firewall filter for subnet to allow access from Kubernetes pod?

I have an instance that is on an internal subnet 10.128.0.0/20 with IP 10.128.0.53. I have a kubernetes service defined as: mysql ExternalName <none> 10.128.0.53 3306/TCP ...
1
vote
0answers
13 views

Migrating from one cluster to a new one in google cloud

I have 7-8 different microservices running on google cloud. I'm planning to do API monitoring and I've been asked to use google's stackdriver trace for it. However it turns out, you cannot use ...
1
vote
1answer
56 views

How to extract raw plain text logs from Stackdriver?

We need to extract the logs of GKE-hosted reverse proxies in a raw format that can be parsed by SEO log analysis tools. Unfortunately these tools flat out refuse to ingest CSV and JSON files, they ...
-2
votes
1answer
160 views

I want to display the GUI of prometheus and grafana on kubernetes

prometheusによるkubernetesのクラスタ監視 Kubernetes Setup for Prometheus and Grafana The following comment was executed referring to kubectl apply \ --filename https://raw.githubusercontent.com/giantswarm/...
1
vote
1answer
51 views

Google cloud service account not found

I have an infrastructure running on google cloud using GKE. Today the prometheus pods got evicted and were not able to recover. After describing the pod I found this error. Warning FailedMount ...
0
votes
1answer
26 views

Accessing specific vendor's domains (voice-acl.com, maccesssmspush.com) fails from within Google Compute instances and GKE pods

My Google Compute Instances as well as my GKE pods are unable to reach the following domains :- maccesssmspush.com voice-acl.com I am able to access (curl) these domains from everywhere else in ...
0
votes
0answers
89 views

CORS set to allow all but preflight still fails

I am using Istio in Google Kubernetes Engine with Istio. I've added a CORS policy to my virtual service that allows all origins. It looks like this: - match: - port: 443 route: - ...
3
votes
0answers
64 views

error unmarshalling config dump when trying to view my Istio Envoy config

I'm running Istio on Google Kubenetes Engine. I've been following this post to enable gRPC-web in Istio. I want to view the config of my Istio Envoy proxy to check that envoy.grpc_web is in it, but it ...
0
votes
1answer
78 views

kubeconfig authorization expire, how to extend?

By billing account, i create a gke cluster where connecting cluster by kubectl in cloud shell vm. however, i download kubeconfig to my local, connection is ok at the beginning after that connection ...
0
votes
1answer
30 views

How to include a TrustedUserCAKeys to Google Cloud Instances (GKE Kubernetes)

I want to connect to my kubernetes nodes (GKE) using SSH CA certificates, but in order to do so, I need to put the SSH CA public key on my fleet and add the path to the file in my sshd_config in every ...
0
votes
3answers
52 views

Google Kubernetes Work Load HTTP Traffic Monitoring

I created an express app and deployed to Google kubernetes. I can see the workload there and access the app using the service URL. How can I see the traffic information with the status code? E.g. ...
0
votes
2answers
147 views

How do I upgrade to Istio 1.1.3 on GKE using the Istio add-on?

According to this documentation on Google Cloud's website, the supported GKE version for Istio 1.1.3 is 1.13.5-gke.15. However, even a fresh GKE install using the $ gcloud beta container clusters ...
0
votes
1answer
170 views

Slow GCP HTTP Global Load Balancer configuration

I have a GCP HTTP global load balancer config which is very slow and difficult to manage in the cloud console UI, almost to the point of being unusable. My other configs are very fast and far less ...
2
votes
1answer
246 views

Google Cloud Run - How to mount FileStore / NFS?

Our application requires the presence of data on two filestores. On our current Kubernetes configuration, we use a persistent volume like so: apiVersion: v1 kind: PersistentVolume metadata: name: ...
1
vote
0answers
56 views

How to stop/hibernate GKE cluster in GCP?

in order to save costs we would like to stop or hibernate an Kubernetes GKE cluster in GCP cloud. But I could not find any hint on this in documentation. Did I miss something? Thanks, Thomas
0
votes
0answers
79 views

Internal loadbalancing on GKE with static IP is not working

I follow this guide to create an internal load balancing on GCE. Everything runs just fine as I follow exactly what they instructed. I see in the example, the internal IP address is picked randomly ...
0
votes
1answer
94 views

Why is an Ingress resource assigned external IPs?

I have a GKE cluster running with the nginx-ingress controller from the Kubernetes community (via Helm). I set it up with a regional IP which I had reserved in advance like so: helm install stable/...
1
vote
1answer
37 views

should i be able to see network namespaces from my gke nodes?

Im exploring gke. I created a gke cluster through teh GCP GUI and when I hop on a node and run this command I see nothing: ip netns list I thought k8s used network namespaces for networking? how are ...
1
vote
1answer
178 views

Enable CORS for GKE Kubernetes API

I have a Kubernetes Engine cluster set up in Google Cloud Platform and it's working wonderfully. I can query the Kubernetes API itself to get info on Kubernetes objects, using the IP-based URL of the ...
1
vote
2answers
500 views

kubectl top node doesn't work. Looks like an issue with heapster

I have a fresh k8s cluster on gke. Whenever I run kubectl top node gke-data-custom-vm-6-25-0cbae9b9-hrkc I get Error from server (NotFound): the server could not find the requested resource (get ...
2
votes
1answer
283 views

Setting up HTTP Load Balancing with Nginx Ingress Controller

Could somebody write up the steps of setting up HTTP Load Balancing with Nginx Ingress Controller for Google Kubernetes Engine? I followed this GKE tutorial for a basic Ingress. It got a Forwarding ...
0
votes
1answer
541 views

GCP Managed SSL Certificate stuck on FAILED_NOT_VISIBLE

I've followed GCP's guide to creating a managed SSL certificate for my subdomain <subdomain>.<domain>.dev. My domain registrar is configured with the NS records: ns-cloud-d1....
1
vote
1answer
707 views

Google Kubernetes Engine node pool does not autoscale from 0 nodes

I am trying to run a machine learning job on GKE, and need to use a GPU. I created a node pool with Tesla K80, as described in this walkthrough. I set the minimum node size to 0, and hoped that the ...
0
votes
1answer
636 views

If I create a GKE cluster without external IPs and I have a VPN connection to GCP, how can I ssh with kubectl?

I can (for instance) connect to the cluster compute nodes like this: gcloud compute ssh gke-test-deploy-default-pool-xxxxx --internal-ip But if I try to set up my kubectl credentials like this: ...