Stack Exchange Network

Stack Exchange network consists of 174 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 ...

0
votes
0answers
22 views

Kubernetes API server issue

Trying to get the Dashboard UI working in a kubeadm cluster using kubectl proxy for remote access. Getting Error: 'dial tcp 192.168.2.3:8443: connect: connection refused' Trying to reach: 'https://...
0
votes
0answers
14 views

How do I deploy an applications to Kubernetes with Minikube? [on hold]

I would like to do something like this, but all Kubernetes quickstart demos are just for deploying a simple applications and not multiple. How would I create a yaml file that can deploy multiple ...
0
votes
0answers
25 views

How to combine podSelector with ports in Kubernetes Network Policy?

I have a pod called mysql-1 with ports 3306 and 3307 open. I want to create a network policy that allow ingress connection from backend-1 to 3306 and backend-2 to 3307. Right now all I could come up ...
-1
votes
0answers
14 views

GKE Kubernetes ingress service stuck on “creating ingress” after update

After updating master and nodes to 1.10.9-gke.7, my ingress service has been stuck at "creating ingress". I've deleted the service and recreated it but the result is the same.
0
votes
0answers
15 views

CIFS chown Permission denied on Docker / Kubernetes

I'm trying to set up Paperless(tried with Plex as well) on my Kubernetes cluster. My media is on an Windows share mounted with CIFS on my nodes //data.domain.net/media /mnt/media cifs credentials=/...
0
votes
1answer
104 views

FATAL: unexpected error when reading kubeadm-config ConfigMap: ClusterConfiguration key value pair missing

When running a kubeadm upgrade plan I am getting: [preflight] Running pre-flight checks. [upgrade] Making sure the cluster is healthy: [upgrade/config] Making sure the configuration is correct: [...
3
votes
1answer
43 views

How to expose a web service, running as pod in K8s cluster which is deployed on ec2 instance, to external

I have deployed kubernetes cluster (with only one Node as master) onto a ec2 instance. After this, I created a nginx deployment and exposed the service using "Type" as NodePort. The nginx service is ...
0
votes
0answers
19 views

nginx redirect to serverIp:port on successful auth

I have a kubernetes dashboard with a nginx proxy sitting in front of it. I use the nginx proxy for doing auth, using cloudflare's nginx google auth docker. My redirect URI in google is set to host.com/...
0
votes
1answer
31 views

What happens when a pod fails for readiness health check?

I was tracking down an unknown timeout problem in our cluster and found something interesting. We currently have 30 pods for a service. When I run kubectl get event Those 30 pods have been failing ...
0
votes
1answer
21 views

GCP Load Balancer not created when deployment is exposed

I've a created Kubernetes v1.12.0 cluster on GCP consisting of 3 controller VMs and 3 node VMs, all running Ubuntu 18-04 LTS (Kernel 4.15.0-1025-gcp) I'm using weave v2.5.0 for networking and ...
1
vote
1answer
29 views

Kubernetes upgrade to 1.13.0 gives Forbidden error on kubectl logs

I've recently upgraded my on-premises Kubernetes cluster from 1.12.1 to 1.13.0 for obvious reasons, but now my kubectl running on the master node cannot get the container logs anymore from any node, ...
0
votes
0answers
17 views

Kubernetes - does not start the role of master

I'm starting a Kubernetes cluster of 3 nodes (1 master, 2 worker) Trying to go by steps described in Ansible playbook - https://gitlab.com/LinarNadyrov/gcp/tree/master Applying playbook steps 1,2,3 ...
0
votes
0answers
24 views

Securely accessing Juju Kubernetes cluster on remote machine

I have deployed "localhost" Juju (Conjure) Kubernetes cluster to an Ubuntu machine. From that machine, the cluster API is readily accessible with kubectl config generated by conjure-up. Now I want to ...
1
vote
0answers
37 views

Container runtime/kubelet failures on EKS cluster nodes

I'm currently working with a Kubernetes cluster, hosted on AWS with EKS, that is encountering strange (to me) failures. Our nodes (instance type c5.2xlarge, AMI ami-0f54a2f7d2e9c88b3/amazon-eks-node-...
0
votes
0answers
22 views

how to do storage networking in kubernetes?

assuming that i have a working kubernetes cluster installed if i create a pod with a persistent volume claim requesting 1GB of storage and i bind it to a local directory or nfs server will kubernetes ...
0
votes
1answer
74 views

puppet upgrade kubernetes now kubelet won't stay up

Made a mistake in a puppet config and inadvertently let puppet upgrade a kubernetes cluster to 1.13.0. Since k8 wants a somewhat involved upgrade process the whole thing was fairly botched. After ...
0
votes
0answers
25 views

How to encrypt or route through other interface kube-proxy service traffic?

Hi ServerFault Community! I have deployed a Rancher 2.0 K8s Cluster with 5 Nodes which have 2 network interfaces (ens3 with Internet Public IP, and ens4 with datacenter private network). Each of the ...
0
votes
1answer
41 views

How do I update the loadbalancer IP?

I had cluster A with a static IP on a load balancer, but needed to move a deployment to service B whilst maintaining the same static IP address. I did the following: Removed the loadbalancer from ...
0
votes
1answer
40 views

kubernetes: measuring resource/limit efficiency

I'd like to get a feel for how 'efficient' my deployment/jobs are at consuming the resources they request. i.e., if a job that only ends up using 1CPU at peak ends up requesting 320, I'd like to have ...
0
votes
1answer
37 views

How to make an internal load balancer in a google cloud kubernetes instance be accessible from another kubernetes instance in different regions?

I am trying to expose a service inside of a Kubernetes cluster in one Google Cloud Region (us-east) and have it accessible to another Kubernetes cluster in a different region (us-central). I would ...
2
votes
1answer
76 views

Is microk8s suitable for production environments, or is it just for development?

microk8s appears to be an easy way to install Kubernetes on Ubuntu. Several places refer to it as an alternative to minikube, which is not aimed at production environments, and this post seems to ...
0
votes
0answers
32 views

Gitlab Can't Connect to Kubernete Cluster CI/CD

I am learning CI/CD .I have setup the following on my local enviroment, gilab server ==> 172.16.1.2 gilabrunner server ==> 172.16.1.3 Kubernete Cluster ==> 172.16.1.4 Gitlab runner connected to ...
0
votes
1answer
17 views

Kubernetes service vs Load balancer

A service in kubernetes is a object representation that is used by kube-proxy to link the VIP of the service to one of the containers behind the service. This can be done by several kube-proxy modes ...
0
votes
0answers
41 views

AWS EKS CNI Creating Duplicate Network Interfaces Causing Outages

I'm running an EKS cluster on AWS and I've been having periodic outages recently. I tracked down the issue to duplicate network interfaces on one of my nodes, which I believe are created by the AWS ...
0
votes
1answer
36 views

Does a pod in Kubernetes inherit every kernel settings from its pod?

I'm trying to see if my pods are using tcp_keepalive_time. When I ssh into my node and run sysctl -a I see that there is value for tcp_keepalive_time, but pods don't have them when run the same ...
0
votes
1answer
32 views

Deploying MongoDB in kubernetes does not create pods/services on DigitalOcean Kubernetes

I'm following this https://github.com/mongodb/mongodb-enterprise-kubernetes and https://docs.opsmanager.mongodb.com/current/tutorial/install-k8s-operator/ to deploy mongodb inside a Kubernetes ...
0
votes
1answer
75 views

Google Cloud Kubernetes pod / job history

I'm looking for a way to see the events that happened in my GCK. Is there a page on Google cloud to see all the pod / job launched today with theirs names and ids ?
0
votes
0answers
38 views

How to perform an handle a Java heap dump on an OpenShift container pod

We have a problem in our production environment. A SpringBoot Java application is running inside an OpenShift container/pod. The Java process is running out of memory and exiting out with a code 137....
1
vote
0answers
23 views

Send TCP traffic to every endpoint behind a Kubernetes service

I am trying to implement JBoss caching, for some legacy systems, within Kubernetes. JBoss needs for that an IP which will forward packets to every other instance of JBoss running in containers. My ...
-2
votes
0answers
17 views

Why the default Kubernetes endpoint IPTABLES rule does not work?

I have a Cluster with six Nodes and one master in the same network, I'm using Weave to networking. One Node has a problem, it's not able to reach the Kubernetes API in the Master Node through the ...
1
vote
0answers
41 views

Kubernetes and MCU, is it possible?

I'm new to Kubernetes and amazed by the potential, but I'm having quite a hard time to set my mind and think a solution to this: I'm trying to set a WebRTC MCU (Multipoint Conferencing Unit), all ...
0
votes
1answer
39 views

How to deploy workload to GCP Kubernetes Programatically?

I have achieved vast amount of automation in terms of creating projects, creating kubernetes engine and other IaaS elements, by using GCP APIs from Python GCP Client. But I am not very positive on ...
0
votes
0answers
30 views

NGINX Proxy to a K8S ELB

I have a network that looks like this world(HTTPS) -> NGINX1 -> ELB -> NGINX Ingress (K8S) -> Some Service This design is because my ELB is internal within a VPC and so I would only like ...
-1
votes
0answers
16 views

Kong API gateway in Kubernetes cluster loosing its state

Installed Kubernetes enabled Kong application (app.kubernetes.io/name : kong-api). Observed that I am loosing the mapping after few days. Is it because VMs got recycled? How do I preserve state?
0
votes
1answer
60 views

Docker images vs Helm Charts

First of all I apologies because I am developer trying to understand some server stuffs. I request the moderators please don't be harsh if this question doesn't make any sense here. From my ...
0
votes
2answers
33 views

helm install a chart and give parameters to the depencie chart

I am trying to use the chart stable/mcrouter for memcache sharding, everything works, but this chart uses a memcache chat as dependencie. I would like to know if I can pass parameters to memcache ...
0
votes
2answers
129 views

Cannot install kubelet, Kubeadm, etc

In a nutshell, I munged my kubeadm cluster and am trying to start from scratch (I was not able to do a proper tear down of the cluster, which is why I was forced to go this route of kubeadm reset and ...
0
votes
1answer
36 views

Kubernetes node breaks on restarting containerd

After upgrading to the latest docker (18.09.0) and kubernetes (1.12.2) my Kubernetes node breaks on deploying security updates that restart containerd. I have: /etc/docker/daemon.json: { "storage-...
1
vote
1answer
86 views

Creating a NAT gateway with Terraform fails with an error

I'm running a private GKE cluster and want to add a NAT Gateway so I can create firewall rules from requests coming from the cluster (by default, the public IP's for all nodes are ephemeral, thus hard ...
0
votes
1answer
51 views

Pods unable to talk to each other after upgrade

I have a GKE cluster running on 1.11.2-gke.15 and my pods are unable to talk to each other. It seems DNS resolution is working from inside the containers # nslookup myapp.testns.svc.cluster.local ...
0
votes
0answers
49 views

Kubernetes + Calico on Oracle Cloud (OCI)

I am trying to deploy a test Kubernetes cluster on Oracle Cloud, using OCI VM instances - however, I'm having issues with pod networking. The networking plugin is Calico - it seems to be installed ...
0
votes
0answers
49 views

Exposing minikube service using iptables

I have minikube Load balancer service running on kvm based minikube node. I have below network routes, Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use ...
0
votes
0answers
43 views

Loadbalancer targetPort not forwarding to daemonset hostPort if port not same as hostPort

I have the following setup: A loadbalancer points to an ingress controller as daemonset, running in a gcp-kubernetes-cluster, as seen in the example below: apiVersion: v1 kind: Service metadata: ...
0
votes
1answer
32 views

Connecting k8s services in GKE cross-region clusters

We are using GKE with Cloud VPN and have the following architecture: GKE example In the VPC there are two k8s clusters in different regions and one Cloud VPN. We’re trying to use internal services (...
0
votes
0answers
32 views

Kubernetes the Hard Way: Kubelet cannot access cube-apiserver

I’m trying get Kelsey’s introductory system working on VMware Fusion in order to get to grips with Kubernetes v1.12 on CentOS 7. I’ve encountered this error on kubelet pods is forbidden: User "...
0
votes
0answers
28 views

kube-proxy call iptables-save or iptables-restore cause kernel panic periodly

What happened: I have several machines happen kernel panic,and these machines have same dump trace like below: KERNEL: /usr/lib/debug/boot/vmlinux-4.4.0-104-generic DUMPFILE: dump.201810191633 [...
1
vote
1answer
65 views

I tried to join kubernetes nodes with master but it shows errors in all 3 nodes. shown in pic

Every node shows this error while I tried to join those nodes with Kubernetes master. Any suggestion? [root@kube-node1 ~]# kubeadm join 10.0.0.50:6443 --token xtalee.aftgxumqvtjtcq56 --discovery-...
0
votes
1answer
47 views

Virtual Kubelet: node selection on scale-out and scale-in

We have a simple 3-node Kubernetes cluster on Azure Kubernetes Service (AKS). A lot of the time that's more than sufficient infrastructure-wise, but occasionally we need to be able scale out for a ...
0
votes
0answers
36 views

Performance issues with Kubernetes

I am having performance issues in kubernetes with my application. I have a nodejs application running inside a docker container in kubernetes, all it does it call a mongodb with a GET, there is quite ...
0
votes
1answer
38 views

Ungracefully terminating pods

To test that the high-availability mode does what it should, I need to kill the instances during testing, and I need to kill them in such way that they can't report they are disconnecting or similar. ...