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
1
vote
1 answer

Azure Kubernetes Service with Virtual Network (CNI) weirdness

I'm having some issues getting my AKS pods/containers connected to our on-prem network. I have a virtual network in the 172.16.20.0/22 and 172.16.24.0/29 namespaces. They have 2 subnets, each has one of the above ranges as their subnet range. The…
Alex
  • 261
  • 1
  • 3
  • 8
1
vote
2 answers

502 error with nginx-ingress in Kubernetes to custom endpoint

I have an ingress that routes to a custom endpoint external to the kubernetes cluster. The service listens only on HTTPS on port 8006. apiVersion: v1 kind: Service metadata: name: pve spec: ports: - protocol: TCP port:…
cclloyd
  • 583
  • 1
  • 13
  • 24
1
vote
2 answers

Kubernetes services timing out on accessing pods on different workers

I'm trying to stand up a pair of kubernetes workers on EC2 instances, and running into a problem where the service does not appear to "see" all of the pods that it should be able to see. My exact environment is a pair of AWS Snowballs, Red and Blue,…
1
vote
1 answer

Kubernetes - HA distributed setup across 3 office locations

I would like to extend my in-house on-premises stacked HA Kubernetes with 3 control planes, 3 worker nodes cluster across 3 office location. So each control plane and 1 worker would be in each of the offices. Each control plane would have its own…
Fawzi Masri
  • 21
  • 1
  • 3
1
vote
1 answer

GKE kill pod when monitoring tool still show that we have memory

I'm testing GKE with their default monitoring charts. Cluster summary say each node (n2-custom-4-8192) have 6.36 GB Memory allocatable. In the node details page, I can see the peak "Used" is 4.19 when the pod get killed. I'm missing something? Or…
nvcnvn
  • 257
  • 1
  • 2
  • 7
1
vote
0 answers

Trying to Install Kubernetes with Vagrant and Ansible on Ubuntu 16.04 lab

So I am trying to install Kubernetes on a lab with Vagrant and Ansible. I am using the following documentation on Ubuntu 16.04: https://kubernetes.io/blog/2019/03/15/kubernetes-setup-using-ansible-and-vagrant/ Several Problems I encounter: The…
R. Barrett
  • 111
  • 2
1
vote
1 answer

Error at connecting to MongoDB Atlas via VPC Peering from GCP Kubernetes Cluster

I am connecting a Nodejs app running on the GCP Kubernetes cluster. Before, it worked fine, when I enabled VPC Peering and I was using the connection string (Private). It is recommended on the Atlas…
1
vote
1 answer

static outgoing IP on GKE

I'm running in a GKE cluster (1.15.12-gke.2) some applications that need to connect to a third-party API. This third-party API has mandatory IP filtering. So in order to get API authorized, I need to declare what are the public IP that I'll use to…
1
vote
1 answer

Deleting a control node from the cluster kills the apiserver

When I have a kubernetes cluster with multiple control nodes and delete one of these, the whole API server does not seem to be available anymore. In this setup I want to scale down from two to one control node but end up rendering the cluster…
Windowlicker
  • 190
  • 9
1
vote
1 answer

TLS handshake issues with etcd

We are using external etcd cluster for k8s cluster. We connected master to this etcd server but receive "tls: first record does not look like a TLS handshake" How to fix this issues? (for eksctl side all is working correctly on etcd servers with…
1
vote
1 answer

What permissions does a pod have when accessing the Kubernetes API?

The kubernetes documentation states the following under "Accessing the API from within a Pod": The easiest way to use the Kubernetes API from a Pod is to use one of the official client libraries. These libraries can automatically discover the API…
Ben Davis
  • 250
  • 1
  • 4
  • 16
1
vote
1 answer

Ingress controller not showing nginx access/error logs

I'm trying to troubleshoot a 404 message on my ingress. When I view logs using kubectl logs -n ingress-nginx ingress-nginx-controller-xxxxxx -f I don't see any output when making a request to the URL. Is there a specific setting that allows me to…
Ben Davis
  • 250
  • 1
  • 4
  • 16
1
vote
1 answer

kubeadm init fails when I use --apiserver-advertise-address

I am Installing a standalone Kubernetes cluster (kubeadm version is 1.14) on RHEL 7.7 Operating System. I have a Load Balancer (Private LB with a private IP address) configured for my Kubernetes master node. When I issued the command kubeadm init…
ILearn
  • 11
  • 1
  • 3
1
vote
1 answer

How to switch from embedded etcd to external etcd cluster

Is that possible to switch existing cluster with "embedded" etcd to external etcd? Thanks
1
vote
1 answer

MySQL on Kubernetes with Traefik v2

I'm trying to deploy MySQL on my Kubernetes cluster. I have Traefik v2 ingress controller and I'm using IngressRouteTCP CRD. Here is my Deployment: apiVersion: apps/v1 kind: Deployment metadata: labels: app: db name: db spec: replicas: 1 …
Gaui
  • 169
  • 7