Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
16 views

Is it possible to set an AWS autoscaling policy for Kubernetes nodes using kops?

I've setup a private K8s cluster using kops on AWS, and I'd like to be able to autoscale the nodes based on CPU use. I've read that this is possible with GCE, but is it possible with AWS?
2
votes
0answers
29 views

WEBRTC MCU/SFU inside kubernetes - Port Ranges?

I am using janus-gateway as a webrtc media server for group videocalling. Previously I had deployed it in a single node using docker-compose but now I want to be able to scale it horizontally. For ...
1
vote
0answers
14 views

Slow traceroute from GKE pod to GCE VPS

I've been troubleshooting issues with high latency on my GKE pods, and a traceroute yields results like the following when poking the database server for that cluster (which is a GCE VPS, but not part ...
0
votes
0answers
45 views

Kubernetes: 502 Bad Gateway for some assets - with Nginx Ingress

I've configured a Kubernetes cluster as follows: Webapp pod (with a Vue.js and an API, both within each container) Nginx ingress config (with default-http-backend) Database pod (which doesn't seem to ...
1
vote
0answers
21 views

Automatic DB creation with MongoDB in Kubernetes or OpenShift

I have a MongoDB cluster in Kubernetes, it's pushed to Kube with a StatefulSet type of deployment. That part work's good, I can even create 1 DB with variables starting with that... My question is, ...
0
votes
0answers
20 views

Run Kubernetes behind OpenVPN and allow internal traffic on NGINX Ingress

My current setup is running multiple services on a single node Kubernetes cluster within a domain *.foo.com inside my internal network. Each service corresponds to its respective subdomain (Say I have ...
0
votes
1answer
49 views

TLS Encryption with Azure WAF and AKS

I am currently working on the topic AKS behind a WAF. We already have an AKS running. The requests are already secured by the WAF. Now I would like to encrypt the connection from WAF to AKS and the ...
0
votes
0answers
16 views

SSL Encryption with Azure WAF and AKS [closed]

I am currently working on the topic AKS behind a WAF. We already have an AKS running. The requests are already secured by the WAF. Now I would like to encrypt the connection from WAF to AKS and the ...
0
votes
2answers
31 views

how to decently configure net.ipv4.neigh.default.gc_thresh_n

We recently had a storm of kernel: neighbour: arp_cache: neighbor table overflow! errors on some nodes of our kubernetes cluster. After research we've figured out that we needed to bump our servers ...
1
vote
2answers
41 views

Is there a fast way to query for running pods from inside a Kubernetes node?

One can use kubectl describe pods to obtain a list of pods and then post-process to determine the nodes that these pods are running on. However, this command takes over 1 second to run. If I am sshed ...
0
votes
1answer
50 views

Is it possible to get the cgroup path for a Docker container managed by Kubernetes?

When we use kubectl describe pods <pod_name>, a great deal of information is output, including the node that the server is running on, and miscellaneous information about the pod, including the ...
0
votes
0answers
34 views

Error: forwarding ports: error upgrading connection: error dialing backend: - Azure Kubernetes Service

We have upgraded our Kubernates Service cluster on Azure to latest version 1.12.4. After that we suddenly recognize that pods and nodes cannot communicate between anymore by private ip : kubectl get ...
0
votes
0answers
23 views

Kubernetes pods from different nodes cannot ping each other and access to services is unstable

I have created 3 vagrant vms and installed Kubernetes using kubespray. Then I created deployment with nginx, scaled it to 3 replicas, create NodePort services. 2 instances are on node1 and 1 on node3....
0
votes
0answers
27 views

Best practices for setting up offline kubernetes cluster

Main questions: Should I deploy private registry separate from rest of the cluster? (for now it's installed on k8s) Good ways to handle lists of all needed images Currently installing registry on ...
0
votes
1answer
12 views

Change serviceSubnet in Kubernetes

I have a running k8s cluster with default serviceSubnet range. What is the procedure to change it? So far I tried with: kubeadm config upload from-flags --service-cidr 172.26.0.0/16 I can see in ...
0
votes
0answers
25 views

replace fake k8s certificate and point domain to the LBR IP

k8s cluster configured with Ingress (nginx) controller certs installed from let's encrypt. using helm/fission serverless framework I have added my certs but it's showing the default k8s fake ...
0
votes
1answer
87 views

kubernetes CRISocket information upload fails with node not found

I am using the following kubeadmin config with external etcd setup for HA kubernetes setup following https://kubernetes.io/docs/setup/independent/high-availability/#external-etcd-nodes in bare metal ...
0
votes
1answer
23 views

Having kube-dns scheduled on tainted nodes in GCP

I have a GKE cluster with two node pools. One of those is a tainted node pools for use by specific pods. After adding the tainted node pool, I realised that Kubernetes was trying to schedule a kube-...
0
votes
1answer
68 views

Why we need to go for elasticsearch cluster with kubernetes?

I have installed kubernetes on my DC and all is working fine. I have tested several services like mongodb and web services. But my goal is to find a good solution for Elasticsearch big data. From ...
0
votes
0answers
39 views

Rancher 2.0 High Availability and Certificates

I replied to a similar question on the Rancher Forums with no luck: https://forums.rancher.com/t/rancher-2-x-ha-install-and-ssl-termination/12515/3 When following the Rancher Docs for a HA install, a ...
1
vote
1answer
34 views

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 ...
0
votes
0answers
20 views

Kubernetes nodes lock during load

I have a production cluster with six nodes (three masters, three workers) built with kops and hosted on AWS. I have a problem where, when a single pod has heavy load, the entire node seems to lock. ...
0
votes
2answers
35 views

Kubernetes metrics-server having SSL trouble

We have tried to set up metrics server in our kubernetes cluster, and it keeps failing. I am a bit unsure where I went wrong. The cluster has been set up and upgraded using kubeadm on existing ...
0
votes
1answer
34 views

Some Kubernetes traffic ignoring VLAN

I have a small Kubernetes cluster that I set up using kubeadm. My servers are connected via a VLAN, which my provider lets me add my servers into. The VLAN adds a network adapter (ens6), which I ...
0
votes
0answers
29 views

Elasticsearch - Kubernetes [handshake failed, mismatched cluster name]

When setting up Elasticsearch cluster on Kubernetes with 2x data, 2x master and 2x client nodes (each container on sepearete physical node) i get the following error in client-node: [2019-01-28T12:25:...
0
votes
2answers
41 views

ingress google compute cloud ip

I'm trying to setup Ingress to serve from a static IP that I have created with gcloud. However it seems that Ingress does not take that configured one but picks a random new one. The name of that IP ...
0
votes
0answers
40 views

How to run a docker image on kubernetes that accepts command line arguments?

My question is similar to this one. I have a docker image, that contains a python file that accepts arguments from command line using sys.stdin(). I can run the image using the following command ...
0
votes
1answer
30 views

How to autoscale Kubernetes cluster on AWS

I created kubernetes cluster on aws ec2 using kubeadm. Now I need to autoscale the K8's cluster when there are not enough resources on nodes to schedule new pods, How can I achieve autoscaling feature ...
1
vote
0answers
39 views

504 Gateway timeout Error when using SSL/K8S/fission serverless

The setup is in Google Cloud Platform. Problem: I will be brief: - Running K8S cluster with fission serverless framework - tested successfully (hello,world) with a LBR/K8S/fission - Installed ssl ...
3
votes
0answers
26 views

OpenShift Master not starting - assetConfig.servingInfo invalid value “”

I've installed OpenShift Enterprise 3.2 on a RHEL 7 system using the official advanced documentation using this template. My installation currently consists of 2 machines: a master and a node. I ran ...
0
votes
1answer
28 views

GCE NGINX Ingress does not use controller

I've installed nginx ingress using helm on Google Cloud Kubernetes. The service, controller and default backend are up and running and I can perform a GET request on the /healthz endpoint. However, ...
-1
votes
0answers
31 views

Istio | mixer Error

I am new to GCP and when monitored our new Micro service in Stack driver, we see the below error: severity: "ERROR" textPayload: "[libprotobuf ERROR src/istio/mixerclient/report_batch.cc:83] ...
1
vote
0answers
27 views

Unable to delete daemonSet in k8s

I've created a daemonSet in k8s under the namespace kube-system. While trying to delete the deamonSet it got stuck (also when I force it) I've already tried to set a updateStrategy: RollingUpdate To ...
-1
votes
2answers
53 views

Can you run a kubernetes cluster inside a kubernetes cluster?

Let's say you have a large organisation that is running its own kubernetes cluster on bare metal. The idea is that different business units in this organisation can get cloud resources 'on demand' ...
0
votes
1answer
27 views

How to get a file out of a failed build-pod from OpenShift?

I have a buildconfig on OpenShift which fails to build. The output tells me that the server.log file might contain more info. But OpenShift is deleting the build-pod immediately after the run, so I ...
1
vote
0answers
83 views

Java application gets killed in kubernetes while the resource limits and heap size are specified

Background A spring boot Java application is deployed in a kubernetes cluster and gets killed several times per day. I'm using openjdk:8u181-jre for my Java apps. Kubernetes version: v1.11.5 Node ...
0
votes
0answers
26 views

Can connect to kafka, but cannot consume

I have a 3 broker kafka cluster set up in an AWS VPC with kubernetes, I am using the https://github.com/Yolean/kubernetes-kafka repo for this. I'm having the strange issue of being able to connect ...
1
vote
1answer
44 views

Routing an existing path to another pod with nginx in Kubernetes

I have an application (demoapp) in GKE which is exposed to internet with a GCE ingress like this: - host: demoapp.com ...
0
votes
1answer
96 views

Can I create a deployment from a list of pods?

My application isn't fully stateless yet, and part of it needs one stateful service per customer. Is there a way I can create a deployment that creates and maintains a single pod for each of a list of ...
1
vote
1answer
31 views

OpenShift: Cronjob is executed in wrong timezone despite master configuration is correct

I have a configured a cronjob in OpenShift. Its crontab entry looks like this: spec: schedule: "0 3 * * 1-5" jobTemplate: So it should run at 03:00 in the morning on weekdays. All cluster nodes ...
0
votes
1answer
74 views

Resolving CoreDNS Loop Error

I am trying to resolve a loop error with CoreDNS as part of a 2-node Kubernetes cluster. The issue is thoroughly documented (below), but I am not strong on dns and networking so am having trouble ...
0
votes
1answer
54 views

LB Kubernetes on Google Cloud, http request refused

I create a LB Kubernetes service and define to accept traffic from both port 80 and 443. but my http request is dropped my connection to my application.
0
votes
1answer
40 views

Kube dashboard and calico network in pending state

I am following the below blog to create a kubernetes cluster (on AWS EC2). https://www.edureka.co/blog/install-kubernetes-on-ubuntu I completed executing the commands till master config. But ...
0
votes
1answer
92 views

GKE nodes fail to upgrade

I hope this is the right place to ask, I've followed all the support links from the GCP console which have led me here! In the past I would frequently keep my GKE k8s master and nodes up to date ...
0
votes
0answers
123 views

How to accept HTTPS and Websockets on a new Google Kubernetes Engine deployment?

I set up a simple 1-node GKE deployment with the default (beta) ingress, created via the GCP console. I would like to set up a Google-managed SSL certificate and HTTPS proxy to the a single GKE node &...
0
votes
0answers
20 views

kubernetes pod can't reach other pod's containerPort

I have two pods running in separate daemonsets. Pod in "Daemonset A" needs to reach pod in "Daemonset B", and when doing so it's important that it reaches the pod running on the same node. The ...
0
votes
1answer
49 views

Kubernetes API Server Healthcheck Address with kubeadm

I'm attempting to start a kubernetes cluster on a machine that has two ip-addresses with kubeadm v1.13.1. I'd like the kube-apiserver process to bind to one of them specifically. I've been successfull ...
1
vote
0answers
46 views

fsck.ext4 complaining that the device is in use. Can't find what exactly is using it

Our setup is a 3-node RHEL 7.3 bare-metal Kubernetes cluster running on Docker. We have a multipath FC SAN block device discovered on all three nodes. This device is used as a Kubernetes Persistent ...
1
vote
2answers
374 views

AWS EKS update-kubeconfig does not respect --role-arn flag

Whenever I run the following command with the role that that was used to create the eks cluster... aws eks update-kubeconfig --name eks-cluster --role-arn arn:aws:iam::999999999999:role/...
0
votes
0answers
79 views

Kubernetes: Route egress traffic through different pod

I currently have a docker-compose setup with one container running an OpenVPN client and some containers behind it using --net=container to attach to the network stack of the OpenVPN client container ...