Questions tagged [kubernetes]

The tag has no usage guidance.

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

k3s/kubernetes add additional IP to cluster TLS/SSL certificate

I setup a k3s/kubernetes cluster with 3 nodes. All node have the roles control-plane,etcd,master. So far so good, and everything works like expected. For testing/playing around, i installed on all 3 ...
Marc's user avatar
  • 351
0 votes
0 answers
31 views

WireGuard client works perfectly in Docker, no DNS in kubernetes

I am trying to run a simple WireGuard container as part of a BitTorrent combo on a bare metal cluster, but I’m running into connectivity issues that are unique to Kubernetes: the same configuration ...
ohshitgorillas's user avatar
0 votes
0 answers
17 views

K8s pod cannot reach other pods via a clusterIp service

I have a small home Kuberenetes cluster running on 2 Ubuntu nodes. In this cluster I am running a few small home applications and for monitoring purposes I've decided to install a Grafana agent on the ...
Yotam K.'s user avatar
-1 votes
0 answers
8 views

Do I need a readiness probe for worker deployments on k8s?

I have a deployment that does not initiate any outgoing communication; it is a simple worker that checks the queue, and if there is a job, it reads and processes it. In this scenario, is there a ...
Edik Mkoyan's user avatar
0 votes
0 answers
18 views

Turning my Pop!_OS PC into a Kubernetes node, but it's unschedulable

I am running a local three-node Kubernetes cluster on my LAN. The three nodes are my router, my media server, and my PC. The PC runs Pop!_OS but I'm having a hard time getting it set up. I used ...
ohshitgorillas's user avatar
0 votes
0 answers
21 views

How can I get the IP of the talos vm on PROXMOX

I want to create a K8s cluster with Talos VMs using Terraform's Talos and Proxmox providers. However, even when the qemu agent is enabled on the Proxmox level, it does not work because Talos does not ...
Edik Mkoyan's user avatar
0 votes
0 answers
22 views

Converting WireGuard from docker to k8s, handshake ok but no internet access

Problem: I have a working WireGuard setup in Docker (see guide: link) but am struggling to achieve internet access for clients when porting the configuration to Kubernetes with host networking. I can ...
ohshitgorillas's user avatar
0 votes
0 answers
11 views

Access pod from external public url

I created this test helm chart which I want to access via public url domain: https://github.com/rcbandit111/external_domain_helm_chart_poc/blob/main/pod-chart/templates/ingressresource.yaml Ingress ...
Peter Penzov's user avatar
0 votes
0 answers
9 views

Deploy Keycloak on Native Kubernetes

I want to deploy Kubernetes on Native Kubernetes cluster v1.29.2. I tried this: Deployment: kubectl create -f https://raw.githubusercontent.com/keycloak/keycloak-quickstarts/latest/kubernetes/keycloak....
Peter Penzov's user avatar
0 votes
0 answers
38 views

Trouble with kubernetes/kubeadm -- control planes and apiserver rebooting

I'm new to Kubernetes and just trying to setup a few DDNS containers as practice before moving onto more complex stuff. I originally started with Minikube, but to do IPv6 DDNS containers, I need host ...
ohshitgorillas's user avatar
1 vote
1 answer
43 views

Terraform `aws_eks_node_group` Ready But Create Never Completes

I have a terraform setup where I create a new launch template and a node group. Without the launch template everything works correctly. With the launch template, the nodes become ready but the node ...
bulletshot60's user avatar
0 votes
0 answers
15 views

Private bridges in Kubernetes

I have a Docker-based working project that I'd like to migrate to Kubernetes. The Docker version of the project is a mini-range for a class of about 35 students. It's Docker-based and uses ...
joatd's user avatar
  • 513
0 votes
0 answers
77 views

AdGuard Home on home lab K8s with MetalLB - Android cellphones lose connection?

I have a K3s based Kubernetes cluster running with MetalLB as load balancer. Assigning IPs to services works like a charm. I can also access the IPs from the MetalLB IP range through a keepalived VIP ...
user35770's user avatar
  • 101
0 votes
2 answers
195 views

psycopg.OperationalError: connection failed: password authentication failed for user "awx"

Running into an error with my Ansible AWX local setup. This was working before but, after I recreated the pods when trying to debug another issue, I now get the error psycopg.OperationalError: ...
eia92's user avatar
  • 63
0 votes
0 answers
88 views

How to get per core statistics for the Kubernetes pod that is displayed like “mptstats” statistics?

I would want to find the per core usage statistics for my Kubernetes pod. In my Linux host/in the Kubernetes node, I use mpstat to find the statistics like below. In my case, I assign 2.5 CPUs to the ...
Vishal Raghavan's user avatar
0 votes
1 answer
29 views

Issue pulling a docker container from an organization into kubernetes

Where I work we have docker premium accounts and I have setup a basic failover site for one of our servers docker.io/organization/failover:latest. I am attempting to pull this into a kubernetes ...
Thaylin's user avatar
-2 votes
1 answer
67 views

Why path on Windows is not recognized? error: the path "./m.yml" does not exist

I must install some kubectl things on Windows Tried both kubectl apply -f ./m.yml error: the path "./m.yml" does not exist and kubectl apply -f m.yml Got the same. Dir command shows 03/11/...
Richard Rublev's user avatar
1 vote
0 answers
328 views

Kubernetes environment installation with Ansible

I write a ansible playbook for Kubernetes environment (timedata, swap, modules, containerd, kubeadm, kubelet, kubectl, vs). When I run the playbook, all operations in it are successful. But when I ...
thargalin's user avatar
0 votes
0 answers
294 views

Pods unable to connect to connect to internet when using Minikube with --driver=none option

For some specific use cases, I want to start Minikube with the --driver=none option. $ sudo minikube start --driver=none 😄 minikube v1.31.2 on Ubuntu 22.04 ✨ Using the none driver based on user ...
Abhishek Ghosh's user avatar
0 votes
1 answer
325 views

Cannot execute bash script even though +x exists

I'm having trouble getting a gitlab-runner to execute tasks and not sure what I am doing wrong. This is running in Kubernetes but probably not related to Docker or Kubernetes or anything else. /bin/...
brainwash's user avatar
  • 121
0 votes
0 answers
26 views

How to run etcdutl in a pod?

On Kubernetes, I am trying to restore an etcd backup, but running the following command issue a warning: kubectl exec -t -n openshift-etcd etcd-crc-qm2dw-master-0 -- sh -c 'ETCDCTL_API=3 etcdctl -...
Fabrice Jammes's user avatar
0 votes
0 answers
51 views

Is it possible to replace OS on a node in a kubernetes cluster without downtime

I have a three-node Kubernetes cluster running in my home lab, where two nodes are currently running Debian, and the third is running Ubuntu. $ kubectl get nodes NAME STATUS ...
JoSSte's user avatar
  • 403
0 votes
0 answers
132 views

Kubernetes FailedAttachVolume and FailedMount

i have a kubernetes cluster on the ovh cloud. Today nginx responded with a 503 error all of a sudden when calling the website. I then checked the Kubernetes cluster with kubectl get pods and could see ...
Basti's user avatar
  • 1
0 votes
0 answers
71 views

Creating a New AKS Cluster with the Latest Kubernetes Version and Migrating Objects from an Existing Cluster

I currently have an Azure Kubernetes Service (AKS) cluster running on Kubernetes version 1.19.7 with a "Basic" load balancer type. Instead of upgrading the existing cluster, I want to create ...
zakblack's user avatar
0 votes
0 answers
14 views

Setting the nodefs for kubelet

It seems that kubelet uses the default disk for ephemeral storage and logs, but I need to set a soft raid disk. How can I do that?
Edik Mkoyan's user avatar
0 votes
1 answer
834 views

How to get kube-ps1 working in the Warp terminal on MacOSX?

I'm trying to move from iterm2 to warp, but one thing that I can't get working, which is quite crucial for me, is the kube-ps1 project. What it does is to make the current Kubernetes context visible ...
Johan's user avatar
  • 103
1 vote
0 answers
49 views

ImagePullBackOff issue bitnami rabbitmq-exporter, k8s

We are facing an issue that fails to download the bitnami/rabbitmq-exporter from Dockrhub. kubectl get statefulset rabbitmq -o yaml name: rabbitmq - name: RABBIT_URL value: http://...
santosh baruah's user avatar
0 votes
0 answers
122 views

Konga: How can I provision the admin user account and the Kong connection in the Konga docker image?

I am using Konga on a Kubernetes cluster using a Helm chart. This ends up using the official Konga image (pantsel/konga), that doesn't seem to support provisioning of the admin account or of the Kong ...
Raúl Salinas-Monteagudo's user avatar
0 votes
0 answers
30 views

How to access Kubernetes (Minikube or Docker Kubernetes) installed in a Windows 10 computer in my MacBook

I am develping complex aplications in Kubernetes. My Mac only has 2 cores and 16 GB RAM. those 2 cores are a limitation when dealing with complicated deployments such us Hyperledger Fabric blockchain ...
icordoba's user avatar
  • 101
0 votes
0 answers
18 views

K8S PersistentVolume of nfs type - what does "server" field mean?

Here is the example of the PersistentVolume of nfs type spec: apiVersion: v1 kind: PersistentVolume metadata: name: pv0003 spec: capacity: storage: 5Gi volumeMode: Filesystem accessModes: ...
lGSMl's user avatar
  • 41
0 votes
0 answers
28 views

Windows 10 - Docker Desktop - Kubernetes

having a Windows 10 I decided to install Docker Desktop for learning all about Docker. Following this, as a second thing was, to learn Kubernetes. By default Docker Desktop (v4.21.1) gives me the ...
Kérdezösködő Indián's user avatar
3 votes
0 answers
1k views

New Rancher installation: Waiting for Kubernetes API to be available

After having problems with connectivity in my old (working completely fine until it didn't) Rancher installation in my homelab, I decided to reinstall my single-node Rancher installation on k3s (...
Taxel's user avatar
  • 131
1 vote
1 answer
164 views

Change editor for OpenShift to Visual Studio Code

I need to change my proxy settings for OpenShift. Therefore I can edit them like: oc edit proxy.config.openshift.io cluster Now, I don't want to use edit but rather VS Code. I found that changing the ...
jmizv's user avatar
  • 133
0 votes
0 answers
691 views

Reference shell Script within a shell Script in YAML

Is there the right way to reference a shell script written within a script in a YAML file. For eg: data: ex1.sh: | #!/bin/bash -x . /shellscriptloc/ex2.sh ... ...
Lakshmi Narayanan's user avatar
1 vote
0 answers
106 views

Kubernetes Environment Setup on VirtualBox to learn CI/CD Pipeline (DevSecOps)

I am just planning to learn K8s. I am interested in learning about its interconnected technologies, such as the CI/CD pipeline and devsecops. I know all of them are broad topics. But I believe the ...
zakadmin's user avatar
0 votes
0 answers
54 views

kubernetes: how to link secret tls crt/key with files or configMap?

Is there a way to link secret tls crt/key with files? apiVersion: v1 kind: Secret metadata: name: hello-app-tls namespace: dev type: kubernetes.io/tls data: tls.crt: <crt_filePath> tls....
eastwater's user avatar
  • 131
0 votes
0 answers
663 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
140 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
1 vote
1 answer
5k 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
2k 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
293 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
1 answer
108 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
1 vote
0 answers
256 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
  • 111
0 votes
1 answer
791 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
  • 161
0 votes
1 answer
1k 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
395 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
  • 69
0 votes
1 answer
114 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
2k 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
  • 107
0 votes
1 answer
145 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
627 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

1
2 3 4 5