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
4
votes
1 answer

Kubernetes cluster change ip

I have a kubernetes cluster with HypriotOS which I moved to another IP range. I have updated the /etc/kubernetes/admin.conf in one of the nodes but when I rune kubeadm it fails the certificate: $ kubeadm config view Get…
albert
  • 153
  • 1
  • 7
4
votes
4 answers

Kubernetes cni config uninitialized

I'm installing kubernetes(kubeadm) on centos VM runing inside Virtualbox, so with yum i installed kubeadm, kubelet and docker. Now while trying to setup cluster with kubeadm init --pod-network-cidr=192.168.56.0/24…
BOUKANDOURA Mhamed
  • 171
  • 1
  • 1
  • 5
4
votes
2 answers

Why does Google Cloud Platform recommend using HTTPS behind a load balancer?

According to this guide for setting up an HTTP(S) load balancer in GCP: The client SSL session terminates at the load balancer. Sessions between the load balancer and the instance can either be HTTPS (recommended) or HTTP. If HTTPS, each instance…
4
votes
0 answers

RabbitMQ memory leak?

I am using a single instance of RabbitMQ on a kubernetes cluster. The RabbitMQ pod has access to 15Go of RAM and is setup with a high watermark of 10Go. After a few hours of usage (and a few queues storing 60 Millions persistent messages) the UI of…
benjisail
  • 1,321
  • 5
  • 16
  • 32
4
votes
1 answer

Externally visible Kubernetes Service on Azure

I am deploying an ELK stack on a Kubernetes(v1.4.5) cluster on Azure. This is the configuration that creates the Kibana Service and Deployment. # deployment.yml --- apiVersion: v1 kind: Namespace metadata: name: logging --- # elasticsearch…
4
votes
2 answers

Kubernetes - External Connection through single IP

I need to find a way to have 1 IP that is used by all pods everytime they need to connect to the "outside world". FULL VERSION: I'm trying to integrate my application with a Payments Gateway service. However, this service needs to whitelist my…
4
votes
4 answers

How to enable Stackdriver Monitoring and Stackdriver trace on existing GKE cluster?

Have a cluster setup with the following permissions. I tried creating a node pool with new permissions, which seems to be able to enable some things. I didn't find the scope required for stackdriver trace permissions in the documentation located…
4
votes
2 answers

Why does linux sys fs modification work in plain docker but not under kubernetes?

The command being run inside the containers is: echo never | tee /sys/kernel/mm/transparent_hugepage/enabled Both containers run as privileged. But in the kubernetes docker container the command fails with error: tee:…
chrishiestand
  • 974
  • 12
  • 23
4
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
  • 2,970
  • 2
  • 21
  • 27
4
votes
1 answer

expose kubernetes service on local vagrant installation

I'm currently playing with kubernetes. I started it according to the documentation locally using the vagrant approach. Everything works fine but I can't manage to expose a service port, e.g. the web frontend of a container. In the documentation it's…
peez80
  • 171
  • 5
4
votes
1 answer

Exposing port 80 and 443 on Google kubernetes loadbalancer service

I followed the guestbook tutorial from Google and created my own configuration files from it. So farm everything is working fine. Now, I would like to expose the port 80 and 443 from my webserver pods. I know how to do it in the controller…
koleror
  • 143
  • 1
  • 6
4
votes
1 answer

Kubernetes: Pod IP address is out of range specified in --pod-network-cidr

After upgrading to v1.24.0 (after Dockershim removal), I had to install cri-dockerd, then I did the following: sudo kubeadm init --pod-network-cidr=10.244.0.0/16 --cri-socket=unix:///var/run/cri-dockerd.sock…
TheDHM
  • 101
  • 6
4
votes
1 answer

Exposing simple pod using kubernetes ingress

Hi I'm learning kubernetes and I'm having trouble exposing the service. I want to route traffic to my cluster from HAProxy. I'm using my own bare-metal server. EDIT: I've also created an ingress controller. Now, when I describe my ingress I can see…
Paweł Zając
  • 43
  • 1
  • 5
4
votes
1 answer

k8s nginx ingress returns randomly 502 error on load

we are using an nginx (1.15.8.1) as ingress controller on our k8s cluster (v.1.17), managed by rancher (2.5.7). This worked pretty fine so far, but now we set up a custom API pod that can be externally accessed via ingress. Now, doing some load…
michafn
  • 61
  • 1
  • 4
4
votes
2 answers

What's is the purpose of a trailing '-' in a Kubernetes apply -f -

I was passed the following, which does a dry run of the creation of a kubernetes secret from an appsettings.json file, which is then piped to a kubernetes apply. I think that the -f will take the filename of the --dry-run created secret and use that…
Chris Halcrow
  • 223
  • 2
  • 10