Questions tagged [kubernetes]

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

For more details, visit the official Kubernetes page.

2075 questions
3
votes
0 answers

RabbitMQ Paging in Kubernetes

I've read through the RabbitMQ Production Checklist and we've made some changes to ensure that RabbitMQ pods in our Kubernetes cluster don't crash by setting the memory limits in the deployment to 1.3G and the RabbitMQ…
3
votes
2 answers

GCP: kubectl exec/logs fails to container on using UBUNTU as OS

I created a 2 node cluster with OS as UBUNTU. After deploying a container, trying a kubectl exec or logs fail with following error :- Error from server: error dialing backend: No SSH tunnels currently open. Were the targets able to accept an ssh-key…
3
votes
1 answer

Connecting services in helm

The standard practice in helm charts is to use {{ template ".fullname" . }} for the service name, where the .fullname template expands effectively to .Release.Name-.Chart.name. The later can be overridden by…
Jan Hudec
  • 265
  • 3
  • 11
3
votes
1 answer

kubernetes kubelet logging to files and logrotate

kubelet has an option to store log files in a log-dir (https://github.com/kubernetes/kubernetes/issues/21248). I start kubelet with the options --logtostderr=false --log-dir=/var/log/kubelet (I have already created the directory /var/log/kubelet)…
3
votes
1 answer

Kubernetes - Why Ingress resource is still marked as "beta"?

Kubernetes 1.9 is now available. However, Ingress resource is still marked as "beta" in the Kubernetes documentation (see https://kubernetes.io/docs/concepts/services-networking/ingress/ : "The Ingress is a beta resource, not available in any…
Sylmarch
  • 153
  • 5
3
votes
2 answers

Kubernetes cgroup driver misconfiguration

Default Docker installation in CentOS starts with systemd Cgroup. I installed Kubernetes from official YUM repo and systemd drop-in 10-kubeadm.conf has the following…
Gasim
  • 887
  • 4
  • 14
  • 22
3
votes
0 answers

Kubectl logs hangs for hours and then returns to works normally

Kubectl logs hanginging for hours and shows something like: Unable to connect to the server: read tcp 192.168.69.227:57692->35.188.160.72:443: read: connection reset by peer We have no idea how to start debugging this problem that happens…
Renato Prado
  • 133
  • 5
3
votes
1 answer

Stackdriver vs Prometheus - what is the main differences?

Moving from on-premise monlotic architechture style to microservices running in GCP on Kubernetes Cluster. I would like to understand Stackdriver compared to Prometheus. I can not get what the difference is. What can Stackdriver do what Prometheus…
CodeR
  • 39
  • 2
3
votes
1 answer

Running Kafka in Kubernetes on AWS

I've the following scenario: 3 nodes instances spread across 3 Availability Zones 6 Brokers running in StatefulSets with AWS external volume for Kafka data. Instance size: m4.2xlarge EBS Volume: st1 - 500 GiB No limit requests and memory set at…
Mazzy
  • 205
  • 2
  • 11
3
votes
3 answers

How can I enable HSTS on the default Google Load Balancer coming with Google Container Engine?

I'd love to set up HSTS with my GKE cluster, as right now HTTP requests return a Google broken robot 404 page after setting this up in ingress.yml annotations: kubernetes.io/ingress.allow-http: "false" Apparently there are options for this in…
3
votes
1 answer

NFS on Google Cloud Container Engine can not resolve Hostname of server

What I Have: A Kubernetes Deployment on a Cluster with Googles Container Optimized OS as Node OS result of cat /etc/*-release Further the deployment.yaml apiVersion: apps/v1beta1 kind: Deployment metadata: name: my-app spec: replicas: 1 …
3
votes
2 answers

kubernetes and sharing an nfs volume accross multiple pods

I'm trying to figure out how I can use a single nfs share with k8s persistent volume claims. For example, let's say I have a single nfs pv configured: apiVersion: v1 kind: PersistentVolume metadata: name: nfs-pv spec: capacity: storage:…
Jeroen Jacobs
  • 1,276
  • 3
  • 15
  • 24
3
votes
2 answers

Google Cloud Container Builder timeout

The Google Cloud Container Builder API documentation says that you are able to set the timeout through the API. Our build are triggered by webhooks, meaning that the API is irellevant for us. Is there a way to set the build timeout on automatically…
Hedam
  • 183
  • 2
  • 8
3
votes
2 answers

How does nodeAffinity work in DaemonSets?

I'm trying to create a DaemonSet with a specific affinity, I want it only to create Pods on nodes with type=prod. I use the following test code: apiVersion: extensions/v1beta1 kind: DaemonSet metadata: name: test0 namespace: kube-system spec: …
Tim Stoop
  • 578
  • 5
  • 19
3
votes
0 answers

Kubernetes - Best Practices for Physical Network Segmentation

Based on the following design constraint, does anyone have any best practices or recommendations regarding how to deploy Kubernetes across multiple network zones? What is the most common and accepted method to this approach? For example if I have a…