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.

553 questions
5
votes
1 answer

Unable to SFTP with password authentication from outside localhost

I'm having a strange problem with an SFTP server I've deployed on Kubernetes. I suspect the issue has to do with sshd_config so I figured I would ask here (been digging into the docs for a while, also just blindly trying things and nothing is…
Mike
  • 311
  • 2
  • 5
  • 15
5
votes
0 answers

Heapster + InfluxDB on Google Container Engine (GKE)

I am trying to figure out what the best way to run Grafana/Heapster/InfluxDB on my GKE Kubernetes cluster. From what I understand I cannot modify the kube-system namespace unless I want google to overwrite these settings after a time. So changing…
Tigraine
  • 205
  • 1
  • 8
5
votes
3 answers

Resize kubernetes cluster with a different machine type?

I want to add a new node in existing kubernetes cluster, but with a different machine type. For the new node I will add label for it so that only some application will run on it. I tried the following command gcloud compute instance-groups managed…
5
votes
1 answer

GKE pod connecting via VPN?

I have a GKE cluster with a handful of nodes and I would like pods in this cluster to be able to connect to remote hosts on a private network that can be reached via a site-to-site VPN provided by GCE. As far as I can tell, there is no simple way to…
Bittrance
  • 3,070
  • 3
  • 24
  • 27
5
votes
1 answer

Deleting all instances of resource type across multiple/all Kubernetes namespaces

I'm trying to uninstall and reinstall cert-manager on our Kubernetes clusters. Their uninstall docs mention: Before continuing, ensure that all cert-manager resources that have been created by users have been deleted. You can check for any existing…
5
votes
2 answers

Keep getting "Does not have minimum availability" in Kubernetes cluster when deploying workload

I'm currently running a Kubernetes cluster on a n1 standard1 node (1vCPU and 3.75GB memory).I tried to deploy 4 workloads. I have set resource request and limit as 100m and 128Mi (for container) for each deployment, but when I tried to deploy my 3rd…
Bin Ves
  • 51
  • 1
  • 1
  • 2
4
votes
2 answers

GKE how to have ingress modify existing load balancer

Is it possible to get GKE to augment the rules for an existing load balancer instead of creating a new one for each ingress object created? We have multiple ingress objects created from multiple helm charts/releases, but there is no need for us to…
4
votes
1 answer

Access services via Cloud VPN from Kubernetes container

I have a VPC network set-up with a VPN connecting to the on-prem network. Cloud router is used to create routes (BGP) internally and with the VPN network. One of the projects is hosting public Kubernetes cluster with Internal and External IPs (With…
4
votes
3 answers

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 reroutes requests to backend microservices…
4
votes
1 answer

Does order of network policies matter in kubernetes?

I have a cluster on Google Kubernetes Engine, It has Network Policies enabled using Calico. Until now I have written 12 Network Policies as a form of YAML files. One thing I can't seem to figure out is that if the order in which these network…
Sam
  • 209
  • 1
  • 4
  • 9
4
votes
1 answer

Achieving stickiness on kubernetes cluster with ingress-gce

I'm trying to achieve stickiness on kubernetes cluster but I am redirected to a different pod every time I access the load balancer. I have session affinity set to 'ClientIP' and also tried with 'Generated Cookie'. I have the following backend…
4
votes
1 answer

IP space is exhausted

I have an issue about GKE/GCE. I'm using GKE under shared VPC(alias ip) and I have 4 machines of 2 node pools. When I try to add more node pools(because I want to have more type of machines), it keeps pending and I switched to the GCE/Instance…
4
votes
2 answers

How do I obtain kernel headers on GKE ContainerOS image?

I need the kernel headers but there is no /lib/modules/[kernel version]/build or /usr/src/[kernel version]. I'm assuming they ripped those out to trim down the image. My use case: I am using bpftrace to trace the kernel using kprobes and tracepoints…
Jason Keene
  • 193
  • 6
4
votes
2 answers

How to log backend latency in Google Http Load Balancer and Stack Driver

We have a running kubernetes cluster on GKE and we Google HTTP Load Balancer in front of it. HTTP Load Balancer logs all requests and we can access them in stack driver logging. But latency is not logged, and I couldn't find a configuration for…
4
votes
2 answers

kubernetes connection refused during deployment

I'm trying to achieve a zero downtime deployment using kubernetes and during my test the service doesn't load balance well. My kubernetes manifest is: apiVersion: extensions/v1beta1 kind: Deployment metadata: name: myapp-deployment spec: …
1 2
3
36 37