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 container cluster manager.

0
votes
0answers
24 views

Is there a way to find out which process is setting a Linux kernel parameter to an invalid value at runtime?

I have set the kernel parameter fs.inotify.max_user_instances to 100000000, but it is automatically getting set to 1256 after a while. Is there some way to figure out which process is setting it to ...
0
votes
1answer
47 views

Difference between running a process as root and running process with all the linux capabilities

I have a docker container which runs perfectly fine in a kubernetes pod when privileged:true is set in the specification. But when I run the same docker container, by giving all the linux capabilities,...
0
votes
0answers
25 views

Multi master kubernetes cluster deployed using kubespray doesnt display roles

root@node1:~# kubectl get nodes NAME STATUS ROLES AGE VERSION node1 Ready <none> 13h v1.13.0 node2 Ready master 13h v1.13.0 node3 Ready <none> 13h v1....
3
votes
0answers
139 views

Failed writes after a while on mounted nfs volume

I have mounted an nfs drive on the machine. I can see it with the following command: $ df -aTh | grep nfs … unrelated volumes … 10.200.30.100:/export/pvc-70..1d nfs4 976M 2.0M 907M 1% /var/lib/...
0
votes
1answer
167 views

iptables priority

After deploying all kubernetes ressources I wanna open port 443. I added it to my whitelist table but it is still closed. Same already happened to me for port 80. After flushing all tables, deleting ...
0
votes
1answer
42 views

Match exact string in column on bash

I have situation below, but I want only that column two is only READY and nothing else. kubectl get nodes | grep "\<Ready\>" 10.5.0.11-c76ed Ready,SchedulingDisabled 10.7.0.13-d5bba ...
0
votes
1answer
84 views

Atomic Fedora failed to parse kernel config

i try to setup kubernetes cluster on atomic fedora. I tried atomic fedora 27, 28 and 29 but I am facing same error on every release. Running kubeadm init ends with following error: failed to parse ...
0
votes
0answers
398 views

pods going into pending state in k8s

I have cluster autoscaler in my k8s deployment in AWS. The cluster is deployed via kops,, the cluster autoscaler was working fine for weeks,, My cluster is in Mumbai region (ap-south), which has 2AZ. ...
0
votes
0answers
58 views

Accessing a Kubernetes service using nodePort from external load balancer

When I expose the kubernetes service using nodePort , then I can access the port/service using any workder node IP:PORT , even if the service is just actually running on just one node. What would be ...
0
votes
1answer
802 views

virtualbox - The character device /dev/vboxdrv does not exist

Im trying to install and run minikube, and to do this I need to install virtualbox. Im trying to install virtualbox on Ubuntu 18.04. I already had virtualbox installed, but when I would try to run ...
3
votes
1answer
424 views

kops unable to deploy elb for ingress controller

i am unable to deploy nginx ingress in kops 1.9 in aws with this kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/mandatory.yaml kubectl apply -f https://raw....
1
vote
1answer
147 views

What does cross-socket traffic mean?

When reading this Kubernetes blog post about Intel's CPU manager it mentions that you can avoid cross-socket traffic by having CPUs allocated on the socket near to the bus which connects to an ...
0
votes
1answer
90 views

jenkins behind nginx in kubernetes

I have a jenkins server behind a Kubernetes (AWS ELB - NGINX proxy ). When I try to trigger a remote job using curl it fails: # curl -X POST -H "$CRUMB" "https://jenkins:add91b3fefefefefef@jenkins....
0
votes
0answers
690 views

How can I put the /user.slice under the /system.slice?

When running a Kubernetes cluster, it is recommended that /user.slice resides under the SystemReserved top level cgroup (i.e. under /system.slice). According to the systemd.slice documentation, a ...
0
votes
0answers
61 views

Pod fails to come up when crashed in kops env

I am facing this issue while my deployment crashes and tries to recreate it self in kops environment. The thing once crashed the pod get reschedule to a different and tries to mount the PV , but ...
1
vote
3answers
56 views

Mapping a word “foo” to a domain name “foobar.com”

I need to map a word "foo" to a domain name "foobar.com" So it should be able to run ping foo or curl it. alias foo='foobar.com' giving below issue. curl -k foo curl: (6) Could not resolve ...
0
votes
0answers
338 views

Unable to use persistent volumes in KOPS pod

I am running KOPs cluster in AWS. And have trying to mount a Persistent volume in a Pod, but getting access denied error in logs. I have created the EBS volume of 10G in aws and then created PV and ...
1
vote
0answers
357 views

Can't use the resolution by name with kube-dns

I'm on a kubernetes cluster with 3 nodes that are all VM and they use to communicate a bridge that is an Only-Host interface: 192.168.99.101 master 192.168.99.102 and .103 the other nodes I have used ...
0
votes
1answer
211 views

Kubernetes tiller pod dying issue

My kubernetes is running on top of AWS, I am using helm for templating, the problem is my tiller pod keeps on dying every few hours when there is even not much load on the cluster. I am getting no ...
0
votes
1answer
127 views

deleting helm deployments automatically

I have requirement where I want to delete all pods deployed through helm after a certain amount of time. This process needs to be automated. This is a detail of 3 existing deployed helm instances: ...
1
vote
0answers
213 views

Specific pod Cpu usage in Prometheus

I have deployed prometheus on top Kubernetes. My requirement is to get CPU utilization of a Specific Pod. Although i am currently using this, i dont think its giving out correct values, as there is ...
2
votes
0answers
233 views

How to mount entire “/” directory of a linux container on a persistentVolume in AWS k8s

Is it possible to use PersistentVolume to mount entire "/" diirectory of a linux container on it. i am trying to mount it, but it fails. i basically want a container, where i would be doing ,...
0
votes
1answer
354 views

How to install GlusterFS on Core OS?

I have provisioned a kubernetes cluster across CoreOS hosts with kubespray, and am trying to setup container native storage with gluster-kubernetes. The problem I am running into is that CoreOS has ...
1
vote
1answer
98 views

kubernetes export ports

I would like to bind my service on all nodes to ports 80 and 443, so that I will be redirected via a DNS name (kubernetes) to any node that redirects me directly to the service via HTTP/S and then to ...
0
votes
0answers
229 views

How to diagnose this Kubernetes pod high load

I am executing a Jenkins pod instance in IBM Cloud kubernetes service. I am getting a very high load even though none of the processes has high load. I have read that it has to do with IO requests. ...
1
vote
0answers
56 views

helm image pull issue

i have a private registry for images, which works,,,, now i want to use that,, my deployment.yaml apiVersion: extensions/v1beta1 kind: Deployment metadata: name: {{ template "mychart.fullname" . }}...
0
votes
1answer
35 views

kubernetes yaml file re-use

i have a requirement, where i want to re-use a kubernetes yaml file again and again. how can we do this, in below eg. where i want {{ JENKINS }} to replaced every time with a different varibale. ...
0
votes
1answer
43 views

Pass non-localhost name for Kubernetes Python client

I wanted to know if the Kubernetes Python client API's have a provision where i can pass the hostname of interest instead of the API's having to use localhost. TIA
1
vote
0answers
394 views

kops etcd ebs volume size change

I am running kubernetes on AWS using KOPs. i want to reduce the EBS-etcd volumes which would get attached to the Master node. is there a way to do this??? # kops edit cluster --name=kubernetes....
0
votes
1answer
64 views

kubernetes external access issue

I have a kubernetes cluster running in AWS. Kubes worker are in private subnet, and Master is in public subnet. the cluster is working fine. now i would be doing a deployment with 3 container within ...
1
vote
1answer
2k views

unable to pull images in kubernetes from private registry

i have setup a private registry in docker accessible thru a domain “makdom.ddns.net”, i can login push and pull images locally, no problem even from slave kubes node i can do this thing, but when i ...
3
votes
0answers
2k views

Kubelet failed to get cgroup stats for “/system.slice/docker.service”

Question What the kubectl (1.8.3 on CentOS 7) error message actually means and how to resolve. Any references to understand what is going on. I suppose kubelet tries to talk to docker but somehow it ...
1
vote
1answer
69 views

Minimal amount of etcd instances

I think about installing an as small as possible kubernetes setup on scaleway. The idea is to prepare myself with a kind of MVP that is able to run my applications components and turn it into a full ...
3
votes
2answers
2k views

Unable to pull images in Kubernetes

I am running Kubernetes on CentOS 7, and I am unable to deploy pods.  After running # kubectl run nginx --image=nginx I run # kubectl describe pod nginx which gives the following output: Name: ...
8
votes
1answer
4k views

Install specific previous version of package?

I would like to install kubectl version 1.2.4 on a machine. The Kubernetes documentation recommends using snap for installation on Ubuntu. snap install --help is not very useful, the one promising ...
2
votes
1answer
3k views

Using ceph storage directly for docker volumes

Does Docker or Kubernetes support Ceph storage interfaces (objects, red, cephfs)?
3
votes
3answers
4k views

How do I install Kubernetes on Linux SUSE?

I am running SUSE Linux Enterprise Server 12 SP2. I want to install Kubernetes. I tried this command: zypper in kubernetes But I got this message: No provider of 'kubernetes' found. I downloaded ...
3
votes
1answer
1k views

How to achieve processor affinity in containers?

I see with kubernetes it's possible to set node affinity for certain workloads. I'm wondering if there are any facilities in the various container technologies, such as docker, rocket etc that allow ...
1
vote
1answer
288 views

Project Atomic registry not listening on 443

I'm using the official documentation for quick-start to install Atomic Registry on a Centos 7 atomic host, and it appears I can't access anything on port 443. (I also tried with a Fedora 23 atomic ...
5
votes
2answers
3k views

OpenVPN server on Kubernetes cluster / DNS and Service resolution

I have a Kubernetes cluster running applications (currently on a set of Vagrant CoreOS VMs on a local server) I want to be able to debug a particular application locally on my laptop, so I worked on ...