Questions tagged [kubernetes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Connection Refused error after upgrading EKS from 1.23 to 1.24

Hello I have a problem after the after the upgrade from 1.23 to 1.24 The error I receive is the following plugin type="aws-cni" name="aws-cni" failed (add): add cmd: Error received ...
A.M.'s user avatar
  • 1
0 votes
0 answers
13 views

How to set the location that 'minikube start' will use?

My "C:" disk (hard drive) is full, so I want "D:"'s disk space to store the data, changing where Minikube stores its files, includes configuration files, cluster state, and other ...
Rodrigo's user avatar
  • 13
1 vote
1 answer
191 views

Why k3s install failed? Job for k3s.service failed because the control process exited with error code

I installed k3s on Ubuntu 22.04 curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --flannel-backend none" K3S_TOKEN=prokupljejbb sh -s - [INFO] Installing k3s to /usr/local/bin/k3s [...
MikiBelavista's user avatar
0 votes
1 answer
111 views

How to configure multiple old desktops as Kubernetes cluster?

I have been accruing some old gaming PCs that my friends no longer need, and I would like to turn them into a place to run Kubernetes clusters. I am hoping to come up with a somewhat high availability ...
drjellybean's user avatar
0 votes
1 answer
52 views

K8S Cert-manager wont add DNS01 RFC2136 Challenge for a primary zone in a less privilege sub zone (DNS REFUSED)

Apologies ahead, this is likely to be a misunderstanding on my part, but for the life of me I can not see the reasons why cert-manager is trying to write to the primary zone and not the subzone per ...
James A R Brown's user avatar
0 votes
0 answers
21 views

How to Expose Ingress Controller Kubernetes?

I have done Kubespray 3 node installation with IPVS, NGINX Ingress Controller Installation with Manifests. There is an NGINX address in the internal network, and I can open it in Lens with forwarding. ...
foobar's user avatar
  • 11
0 votes
0 answers
28 views

No such file or directory: '/lib/modules/5.2.0/modules.builtin'

I'm trying to install Kubernetes cluster using Kubespray. I get this error during script run time: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ...
Peter Penzov's user avatar
0 votes
0 answers
74 views

"pids cgroup controller not found" error when trying to create k3s node

I am trying to create a k3s node on my QNAP NAS using the "Container Station" (= QNAP Docker runtime). Unfortunately the container crashes with the error FATA[0003] pids cgroup controller ...
JoCa's user avatar
  • 101
0 votes
0 answers
171 views

Docker : unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined

I just pulled one monitoring app from docker hub via Portainer on my NAS device. https://hub.docker.com/r/mercari/certificate-expiry-monitor-controller/ But when I run the container I got this error. [...
andrew's user avatar
  • 101
0 votes
0 answers
18 views

How to persist data for all users that are chroot into their home?

I have the following manifest where I deploy and persist SFTP data for users: --- apiVersion: v1 kind: Secret type: Opaque metadata: name: sftp-secrets labels: name: sftp-alpine namespace: ...
jos97's user avatar
  • 113
0 votes
1 answer
228 views

Joining worker nodes to kubernetes cluster hangs forever

I've created my Kubernetes cluster with command sudo kubeadm init --pod-network-cidr 192.168.0.0/16 I installed the Calico network add-on on my control plane node kubectl apply -f https://raw....
jedi's user avatar
  • 141
0 votes
0 answers
83 views

Error 401 Unauthorized call https://MyNodeIP:10250/metrics using Promethes to monitor kubernetes

I configure Prometheus to monitor all the node using kubelet metrics inside my OpenShift cluster in the following way: I configure a cluster role using this yaml file apiVersion: rbac.authorization....
LucaAmato's user avatar
0 votes
0 answers
199 views

cert-manager/secret-for-certificate-mapper "msg"="unable to fetch certificate that owns the secret

Cert-manager/secret-for-certificate-mapper "msg"="unable to fetch certificate that owns the secret" "error"="Certificate.cert-manager.io "grafanaps-tls" ...
sam23's user avatar
  • 19
0 votes
1 answer
243 views

Kubernetes Pod Unable To Mount Secret Volume

I am following the HashiCorp tutorial and it all looks fine until I try to launch the "webapp" pod - a simple pod whose only function is to demonstrate that it can start and mount a secret ...
radumanolescu's user avatar
0 votes
0 answers
201 views

AWS EKS Cluster : InvalidParameterException: Unsupported Kubernetes minor version update ,Gitlab CI, Terraform

The following errors occur every time I run the pipeline │ Error: error updating EKS Cluster (business-staging) version: InvalidParameterException: Unsupported Kubernetes minor version update from 1....
sam23's user avatar
  • 19
0 votes
1 answer
19 views

Kubernetes pod is maxing out at 1 CPU

I have a GKE Kubernetes cluster and a deployment. I set the resources stanza on the deployment to resources.requests.memory: 4G resources.requests.cpu: 2 resources.limits.memory: 4G cpu limit is ...
JDS's user avatar
  • 472
-1 votes
1 answer
468 views

Kubernetes egress static IP. the most elegant and working solution?

Can someone tell me how you solved this problem in the most optimal and elegant way? There is a Kubernetes cluster with some deployments, some clients need to add our IPs to their whitelist so that ...
JDev's user avatar
  • 99
0 votes
1 answer
68 views

Getting stuck on DNS configurations for routing external domains to my internal Kubernetes cluster (Traefik)

I have DNS entries in CloudFlare set to my current home IP (I have Dynamic DNS setup). who.willkara.com > IP Internally, I have a PiHole server handling DNS and actually have that working.The ...
Sempus's user avatar
  • 119
0 votes
1 answer
223 views

ErrImagePull in microk8s

I am reading the book "Microservices in .NET second edition". In the third chapter of the book the author tries to set up a microk8s cluster on localhost to host a web service. The code for ...
Dragno's user avatar
  • 103
0 votes
0 answers
115 views

SFTP pod errors on Azure RedHat OpenShift - kex_exchange_identification: read: Connection reset by peer

When deploying SFTP on ARO cluster, and setting up Readiness Probe and networking service (load balancer), and getting tons of such messages in pod's logs: Connection reset by 10.x.x.x port xxxxx ...
RanG's user avatar
  • 1
0 votes
0 answers
31 views

Gitlab Runner stucks on docker login

I installed GitLab runner via HelmChart on my Kubernetes cluster While installing via helm I used config values.yaml But my Runner stucks every time at docker login command, without docker login ...
User82949B's user avatar
0 votes
0 answers
7 views

Kubernetes pulls image every time pod restarts

According to the documentation: Always every time the kubelet launches a container, the kubelet queries the container image registry to resolve the name to an image digest. If the kubelet has a ...
rayford's user avatar
0 votes
0 answers
12 views

GKE Mulitple networking

I don’t find in GKE documentation a reference for supporting Multus or IPVLAN attachement, all I find is related to Anthos on baremetal Could you please give us some indications how multi-networking ...
Zamalkawy's user avatar
0 votes
0 answers
78 views

K3S not starting any worker nodes

I tried to launch K3S with this command curl -sfL https://get.k3s.io | sh - Everything seems to work but then: kubectl describe nodes Returns No resources found I have no clue about K3s and just ...
AR2's user avatar
  • 1
0 votes
0 answers
20 views

find which pod handles specific connection

I have a software running is a (managed) kubernetes cluster, and it sometimes fails to handle some requests. I'd like to trace its execution inside the pod (it takes long enough for that). I know ...
Bastien Durel's user avatar
0 votes
1 answer
784 views

Login to Kubernetes dashboard - Can't get the token - No resources found

I successfully installed microk8s and I enabled the dashboard. I land on the screen which is asking for config or token login. The problem is that I can't get this token. I've read trough many ...
user568021's user avatar
0 votes
0 answers
276 views

Problems installing k3s on worker node, fresh install. Ubuntu 22.04 bare metal

I know this is a long shot, but I'm really stuck and could use some help. I'm trying to install k3s on a master and a worker node, both running Ubuntu 22.04 bare metal (not cloud). The master installs ...
Phoenix's user avatar
0 votes
0 answers
33 views

How to build a Container without /proc?

I would like to run my process in a container without /proc/ filesystem. How can it be achieved? My intention is, that an attacker can not use a security flaw in a containerized application to read e....
entropie's user avatar
0 votes
0 answers
15 views

Kubernetes memory consumption issues

I have a 4 node cluster and recently I have been struggling with high memory consumption. The problem is, is that I have no clue what is consuming all that memory. I use lens for most of the ...
A.J's user avatar
  • 3
1 vote
0 answers
32 views

Does kops 1.22+ allow to assign a custom IAM role to a kubernetes node?

I'm using kops 1.22.6 to add a new node to my k8s cluster (working with AWS). The new node should optimally use the custom IAM role, unlike the generic IAM roles that kops created for the rest of the ...
George Kushner's user avatar
0 votes
0 answers
80 views

tcpdump immediatly returns error code 1

Currently trying to debug an issue where we aren't seeing any traffic coming onto port 8081 and while trying to execute tcpdump to show the traffic on this port we get an immediate exit with no error ...
Tom's user avatar
  • 101
1 vote
1 answer
503 views

Get rid of search domain in Kubernetes pod's /etc/resolv.conf

After switching to a new router, I realized my pods inside my Kind Kubernetes cluster cannot access internet. $ kubectl run --rm utils2 -it --image arunvelsriram/utils bash # inside the container now ...
Ali Ok's user avatar
  • 21
0 votes
2 answers
4k views

Unable to initialize kubeadm?

Getting error while initializing kubeadm. $: - sudo kubeadm init [init] Using Kubernetes version: v1.25.0 [preflight] Running pre-flight checks [WARNING SystemVerification]: missing optional ...
subhashis's user avatar
  • 113
0 votes
0 answers
72 views

how to setup k3s between 2 raspberry pis over an ethernet cable

good day everyone, i am new to k3s and was trying to setup a k3s master and a k3s worker on two raspberry pis with the goal of connecting both via Ethernet cable (not if it is possible) k3s-master-01 (...
kampunggdragon's user avatar
0 votes
1 answer
71 views

mount bind inside container is not reflecting outside container

I am trying to bind host dir to some dir inside container and expecting changes done inside container should reflect on host. Here is the steps I have followed created /hostdir on host and run ubuntu ...
Hackaholic's user avatar
1 vote
2 answers
246 views

more command not showing --More-- on Ubuntu for Windows

My 'more' command is not working as expected. Trying to use it with kubectl command, and it only displays the first few lines, an error, then the last lines, without allowing me to view the rest of ...
user1084561's user avatar
0 votes
1 answer
94 views

Kubernetes automatically apply manifests on cluster start

Beginner question regarding kubernetes: In our tiny scale usage scenario we are running minikube as a single node cluster. While I know how I can autostart minikube using systemd, I am wondering what ...
ted's user avatar
  • 166
0 votes
0 answers
395 views

kubeadm init phase fails: got multiple errors

I am trying to install a one node kubernetes cluster with kubeadm on my Ubuntu Server (Ubuntu 22.04 LTS), following this guide https://readthedocs.vinczejanos.info/Blog/2021/09/25/...
CloudCuckooHome's user avatar
0 votes
1 answer
235 views

Add a worker node to a master node via ssh

I have two servers connected to the internet. Both can reach each other via ssh. One should be the kubernetes master node and one i'd like to be a worker node. How can i connect the worker node only ...
CloudCuckooHome's user avatar
0 votes
1 answer
116 views

How to understand `operating system packet filtering layer`?

When I read this document #kube-proxy: kube-proxy uses the operating system packet filtering layer if there is one and it's available. Otherwise, kube-proxy forwards the traffic itself. so, what's ...
244boy's user avatar
  • 525
0 votes
1 answer
443 views

Cancel a pod with error ImageBackoff

I tried to deploy a kubernetes pod and I get a error ImagePullBackOff NAME READY STATUS RESTARTS AGE mrp-7c46596899-cvjnf 1/1 Running 0 33d ...
Daryl Wong's user avatar
1 vote
1 answer
3k views

How to add additional scrape config for Prometheus on kubernetes?

I have cloned and started the https://computingforgeeks.com/setup-prometheus-and-grafana-on-kubernetes/ kube-prometheus project on my local. I want to add additional scrap config to retrieve custom ...
Emrah Utku Barkana's user avatar
1 vote
0 answers
188 views

Veracrypt exFat inside Kubernetes pod

I have a working solution to run this veracrypt command inside a pod: veracrypt --text --quick --non-interactive --create /media/vera --volume-type normal --size 200M --password 123456 --hash SHA-512 -...
Adam's user avatar
  • 11
1 vote
1 answer
986 views

How can I have my service be the first service to begin stopping on system reboot/shutdown?

I am trying to have a custom service shutdown an application on reboot, I can get the service file to work correctly up to a point, that point being that the my custom service needs to be brought down ...
NewUser97's user avatar
0 votes
0 answers
11 views

Why does tailing logs with kubectl prevent pipe from producing output? [duplicate]

I'm trying to process logs while tailing them. This command works: kubectl logs "$pod" --tail=100 | egrep pattern | cut -d ' ' -f 1 But this command produces no output: kubectl logs "$...
Dmitry Minkovsky's user avatar
2 votes
1 answer
341 views

can't find a newly created secret in a kubernetes cluster

First I create a namespace "foo" using this .yaml file : apiVersion: v1 kind: Namespace metadata: name: foo ...
Tomas.R's user avatar
  • 195
1 vote
1 answer
74 views

configure kubectl to provision minikube localy instead of Kubernetes cluster in aws (AWS EKS)

I have Minikube installed on my laptop and I have a Kubernetes cluster on AWS EKS After creating a cluster on AWS I received a command to execute so that my kubectl command manages the cluster on AWS. ...
Tomas.R's user avatar
  • 195
0 votes
1 answer
1k views

How to pass commandline argument to kubectl exec shell when run over ssh

How to pass the command like argument when kubectl is run over ssh? -l argument to ls is passed to pod shell if i run without ssh. I tried to escape, put inside quotes etc, but nothing worked. ssh ...
Nasir's user avatar
  • 135
0 votes
1 answer
2k views

k3s slave agents don't join kubernetes cluster (in Vagrantbox setup)

I'm trying to setup a k3s cluster in Virtualbox VMs using Vagrant for learning purposes. But my slave agents don't connect to my master node. My VM provider is Virtualbox. I'm following the ...
Sebastian Sommerfeld's user avatar
1 vote
1 answer
6k views

kubectl get pod READY 0/1 state

I am following a lab on Kubernetes and Mongodb but all the Pods are always in 0/1 state what does it mean? how do i make them READY 1/1 [root@master-node ~]# kubectl get pod NAME ...
Battistis Ciccio Rossi's user avatar