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.

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

Find out peak memory usage of a container spawned by kubernetes

Is there a way to find out the peak memory usage of a container that was launched by kubernetes? (Without polling, since that can miss memory spikes.) From other similar questions on this site: GNU ...
Yang's user avatar
  • 1,665
0 votes
0 answers
23 views

HostAlias being ignored in AWX-operator PODs

I recently had to move my K3 cluster running AWX-operator. The IP addresses of my nodes had to change from 10.0.3.51, 10.0.3.52, 10.0.3.53 to 10.6.3.44, 10.6.3.45, 10.6.3.71. I updated hostAlias in my ...
Red Cricket's user avatar
-1 votes
0 answers
8 views

Kubelet : RunPodSandbox from runtime service failed

Cluster information: Kubernetes version: root@k8s-eu-1-master:~# kubectl version Client Version: v1.28.2 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.28.2 Cloud being ...
Raphael10's user avatar
  • 109
0 votes
0 answers
10 views

Kubernetes preparing worker node running a job?

I want to set a sysctl setting on the nodes I run OpenSearch on. Pod I came up with the following initContainer solution. apiVersion: v1 kind: Pod metadata: name: os-init-sysctl labels: app....
lony's user avatar
  • 101
0 votes
0 answers
60 views

Kubernetes Node NotReady (cni plugin not initialized)

I have installed a K8s cluster. The Working Node has successfully joined the cluster. However, it is not ready: a@front:~$ kubectl get nodes NAME STATUS ROLES AGE VERSION front ...
user1156544's user avatar
0 votes
0 answers
12 views

Kubernetes Template for Custom Resources

in Kubernetes there is a way to get the template of the core resources like this: kubectl create secret generic --dry-run=client --output=yaml Is there a way to do the same for Custom Resources? I ...
Henry Sachs's user avatar
0 votes
3 answers
103 views

Pods in a specific node don't have internet access

Pods in a specific node (let's call it mynode) don't have access to the internet, remaining pods scheduled in other nodes do have internet access. mynode has access to the internet, I can ssh into it, ...
Melardev's user avatar
  • 121
0 votes
1 answer
25 views

Kubernetes cluster with incorrect DNS resolution

Question Description: I have a harvester HCI Cluster (RKE2), where pods do not resolve the correct IP addresses for internet domains. kubectl run debug --image=busybox -i --tty --rm -- sh / # ping ...
d_inevitable's user avatar
0 votes
0 answers
31 views

How to upgrade Kubernetes nodes' version without changing the nodes' IPs

I'm planning to upgrade my kubernetes cluster. My kubernetes cluster is using private cloud platform's VMs as nodes. I have trouble with upgrading nodes because the users of my cluster do not want the ...
심재승's user avatar
0 votes
0 answers
12 views

How to make master node and worker nodes before installing kubernetes on Ubuntu?

I am trying to install kubernetes on my Ubuntu 22.04 os. I found blogs and videos in Youtube but failed and deleted all. I had hard time when making master node and worker nodes because there was no ...
ekfqlc's user avatar
  • 1
0 votes
0 answers
14 views

Pods stuck in Init:CrashLoopBackOff state after upgrading the crunchydata PGO from 5.1.2 to 5.3.1 using helm

When running the cmd: kubectl get pods -n pgo, it returns. root@XXXXXXXXXXXX:/opt/pgo# kubectl get pods -n pgo. NAME READY STATUS ...
tarakeswari_yerra's user avatar
0 votes
1 answer
62 views

Configure kubectl command to access remote minikube cluster on virtualbox debian VM

i have set up successfully on debian minikube with simple cluster Debian VM : umen@debian12:~$ kubectl get pods NAME READY STATUS RESTARTS AGE hello-77c947d946-jq2s4 1/1 ...
user61104's user avatar
  • 519
0 votes
1 answer
86 views

All Kubernetes pods run in a single CPU

My machine has 48 CPUs. Before creating pods, I offline 1-47 CPUs by echo "0" > /sys/devices/system/cpuN/online. When I create the first pod to a node, I online CPU #1 by echo "1&...
VincentHuang's user avatar
0 votes
0 answers
106 views

Auto-Instrumentation of application using OpenTelemetry

I have an AKS cluster where I am running a test Python-Django based web application. I also have Grafana and Prometheus configured. I need to use OpenTelemetry to get the metrics data from the test ...
arjunbnair's user avatar
0 votes
1 answer
69 views

mailpit / kubernetes: SMTP sendmail cannot connect - telnet works fine

kuberntes setup: mailpit service + deployment (ingress works, I can connect to the UI) --- apiVersion: v1 kind: Service metadata: name: desideria-crm-mailpit namespace: desideria-crm labels: ...
TomGrill Games's user avatar
1 vote
0 answers
52 views

Kubernetes Pods go back and forth from Running State to CrashLoopBackOff State

I've already asked the question in SOF: https://stackoverflow.com/questions/77325355/pods-go-back-and-forth-between-state-running-and-state-crashloopbackoff/77325485 But, since it has been pointed out ...
Raphael10's user avatar
  • 109
0 votes
0 answers
18 views

How to allow access to external IP from kubernetes cluster?

I installed kubernetes and docker desktop on a local linux VM for testing purposes. Also, I deployed an API which can receive data from the client and do an insert command to a SQL database that is ...
Sudhe's user avatar
  • 1
0 votes
0 answers
12 views

How to use cert-manager to manage kubeadm-installed cluster client auth certificates

I have a kubernetes cluster which is installed and managed using kubeadm. kubeadm manages the CA for all cluster certificates and therefore when creating certificates for operator authentication, this ...
WoodyWoodsta's user avatar
0 votes
0 answers
27 views

K8s Kops 1/3 Master nodes always turn into Not Ready & kube-apiserver pod of that node abnormally restarts frequently

Our production KOPS Kubernetes v1.20 deployed in AWS is unhealthy. Intermittently, 1 of the 3 master nodes we have is frequently going into Not Ready Status. Furthermore, the kube-apiserver pod is ...
Felix Labayen's user avatar
0 votes
1 answer
19 views

How to gather application logs which are generating in custom path using EFK

I created the elasticsearch and kibina setup which is running outside the kubernetes cluster and i am using fluentd to gather kubernetes logs and to send data to elasticsearch. I am running fluentd as ...
karthik's user avatar
0 votes
0 answers
9 views

Azurite kubernetes ip

I'm running azurite inside a K8s cluster on kind. When trying to access it from another pod I get a strange issue. If I use the service DNS name it fails but if I use the cluster IP it is mapped to it ...
Shahar Frank's user avatar
0 votes
0 answers
21 views

url=/api/v0/probes/readiness status=500 Internal Server Error

url=/api/v0/probes/readiness status=500 Internal Server Error Always get this INFO in Cassandra logs how to resolve this? Things I did to resolve it which did not worked out Scale up and down node ...
Shivi Bhatt's user avatar
0 votes
1 answer
29 views

Fluent-bit in Kubernetes cannot input timestamp data properly

At my company, I built a K8s cluster with Terraform and configured a logging system with EFK (Elasticsearch, Fluent-bit, Kibana). k8s and Elasticsearch use AWS's EKS and Opensearch Servcie (ES 7.10), ...
HJ S's user avatar
  • 1
0 votes
0 answers
12 views

Private Registry with Self Sign certificate for Kubernetes w/o touching Kube nodes

I created a private registry with self sign certificate for Kubernetes where to pull images from. What I would like is a way to pull images w/o interacting with Kubernetes nodes. Is it there a way of ...
Astin Gengo's user avatar
0 votes
1 answer
8 views

not able to setup kubernetes cluster using kubeadm

trying to setup kubernetes cluster using kubeadm, master node is in ready state but when i give kubeadm join token command to worker node its saying tc not found in system path and its getting timed ...
Akhilesh P's user avatar
0 votes
1 answer
16 views

k3s fails to parse registries.yaml

I have set up a k3s Kubernetes standalone server with a insecure private registry but k3s fails to pull images from it. The registries.yaml file is set as documentation says. It is below. mirrors: &...
lauksas's user avatar
  • 101
0 votes
0 answers
15 views

MySQL Database errors with deadlock when restoring backup

we recently wanted to switch from a single MariaDB server to a replicated Percona XtraDB instance. For this purpose I set up an XtraDB cluster in our kubernetes cluster with 7 nodes distributed across ...
Tobias Grether's user avatar
0 votes
1 answer
50 views

Cannot pull images from Kubernetes from a private registry with self-sign certificates if I change CA

I created a private registry with a self-sign certificate If I'll try to pull the image from it w/o importing the CA into trusted certificates, it will fail. If I'll try to update trusted certificates ...
Astin Gengo's user avatar
0 votes
0 answers
19 views

routing in kubernetes... nginx proxy-pass, but with named ports

I have an application running in a cluster, where each user gets handed off to an individual pod. All user-pods run on the same port, so a nice simple nginx server can handle that. If we assume that ...
CodeGorilla's user avatar
0 votes
0 answers
110 views

OpenTelemetry Collector Data not being fetched by Prometheus in Grafana

I have a requirement where I have some container workload in Azure AKS cluster and I need to use OpenTelemetry to gather data like metrics, logs and traces. I also have Grafana as the visualisation ...
arjunbnair's user avatar
0 votes
0 answers
14 views

How to fix access denied error for aks kubernetes commands?

with service principal logged in with azure cli. Below command got this error. az aks command invoke --resource-group rg-licanltcs-aks-prod --name aks-licanltcs-prod-eastus --command "kubectl ...
uday kiran reddy's user avatar
2 votes
1 answer
72 views

Per user assigned IPv6 addresses for outbound requests

I'm running some VMs in a Kubernetes cluster on behalf of my clients. These VMs make occasional requests to external services. This works fine, but the IP address seen by these external services is ...
Copil tembel's user avatar
0 votes
0 answers
49 views

Kubernetes cluster via kubeadm - CoreDNS buffer size too small / Pods network problems

I am new to deploying on-premise Kubernetes clusters. I managed to deploy one using kubeadm with weave CNI. Internet connection inside Pods is somewhat sluggish / non-working. I am trying to deploy ...
WhenGrill's user avatar
0 votes
0 answers
33 views

Kubernetes Gateway API - Using HTTPRoute rules to rewrite URI paths

My goal is to have a single Gateway that can be used to host multiple applications at different paths. The URLRewrite filter exists, however, when it does not seem to be working as expected. Using ...
TJ Zimmerman's user avatar
0 votes
1 answer
66 views

Kubernetes pod fails with crashloopbackoff error

Created a minikube pod and downloaded an image from the hub Docker.Com private repository. A crashloopbackoff error occurs when attempting to set up a pod to pull the image. I want to fix this error. ...
Paul's user avatar
  • 17
0 votes
0 answers
41 views

OpenVPN Server on K3s Kubernetes Cluster: No Internet Access

I've set up an OpenVPN server on a K3s Kubernetes cluster. While I can successfully deploy the OpenVPN server pod and connect from a client machine, the client doesn't have internet access through the ...
Fred Luetkemeier's user avatar
0 votes
0 answers
31 views

How to route requests with the same query parameter to the same backend servers?

I have three Nginx reverse proxy servers with ModSecurity installed acting as WAF servers which route requests to my Kubernetes Cluster ingress-nginx, Istio service mesh is installed on the Kubernetes ...
Sinux's user avatar
  • 85
0 votes
0 answers
18 views

Cassandra's medusa backup not working. Backup job created, but status missing and medusa container logs not updated(stuck)

I am trying to create medusa backup by running below command, but it doesn't work, it only creates the medusabackup job in MedusaBackupJobs folder, but I never get the status in the medusabackup job ...
Shivi Bhatt's user avatar
0 votes
0 answers
21 views

Can't access Rancher UI after deploying it on K3S via helm

I deployed Rancher on K3S cluster using steps documented in below guide: https://ranchermanager.docs.rancher.com/getting-started/quick-start-guides/deploy-rancher-manager/helm-cli The pod is working ...
mwas01's user avatar
  • 1
0 votes
0 answers
39 views

OpenTelemetry K8s Operator Collector - Exporter Configuration for Prometheus

I have some container workloads in Azure AKS cluster. I need to use OpenTelemetry to get the metrics, logs and trace data from the container workload and get it collected by the OTEL collector. I have ...
arjunbnair's user avatar
0 votes
0 answers
21 views

Oracle MySQL operator for kubernetes backup to S3 using service account

I've installed the operator, and trying to create the innodb cluster with backup profile which uses S3. There is no mention of S3 in the documentation, but they mentioned in a conference about S3 ...
Ahmet Cetin's user avatar
0 votes
1 answer
173 views

What could be reason of this periodic drop in throughput in my application when deployed on Kubernetes?

I have multiple microservices talking to each other over network. When these microservices are deployed on Kubernetes, my application is experiencing a periodic drop of throughput on loadtesting, ...
Sourav Paul's user avatar
0 votes
0 answers
11 views

How my VM could interact in Ingress to a cluster Kubernetes

My Kubernetes cluster has a default subnet of 10.96.0.0/12, while my internal VMs, where my Kubernetes cluster is hosted, have a subnet of 172.0.0.0/24. Is there a way for a virtual machine to ...
MickGraylog's user avatar
0 votes
1 answer
22 views

How to stream Kubernetes log files to a different location using fluent-bit?

I have a requirement where I want the log files of all the Kubernetes containers stored in the location /var/log/containers/ to be kept persistent even after a cluster restart or node issue. I have ...
Gill Varghese Sajan's user avatar
0 votes
0 answers
21 views

How do I reduce disk pressure on my kubernetes worker nodes?

I have a self managed kubernetes cluster running on EC2s. The disk pressure on few of the nodes is high. I checked which directories are utilizing the most disk space 1.6G ./snap 2.2G ./usr 6.5G ...
Aman Deep's user avatar
0 votes
1 answer
57 views

Could not contact DNS servers (fluent bit)

I am configuring the fluent bit connection with elasticsearch, I have 3 elasticsearch nodes and I want to have high availability, according to the following documentation it is done like this text, ...
Augusto Marega's user avatar
-1 votes
1 answer
80 views

Kubernetes homelab local storage options [closed]

I think I have an XY problem, if you can identify it as one, please answer accordingly! Background My primary goal is to learn Kubernetes, with a closely-followed secondary goal of doing homelab stuff ...
Bryan Boettcher's user avatar
0 votes
0 answers
53 views

kubernetes: bind to a specific node network interface

In the case of (non-managed) k8s nodes having 2 interfaces, one for mgmt one for app traffic, is it possible to restrict all k8s traffic including k8s services to listen to one interface? I.e. k8s ...
sivann's user avatar
  • 583
0 votes
0 answers
28 views

K3s - Two pods in the same CIDR subnet doing SNAT in a cluster

We have a multi master k3s cluster with etcd. We have launched 2 pods in deployment and both get the IPs from the same CIDR i.e., 10.244.0.xx. cni0 interface ip is 10.244.1.1 on node 1 and 10.244.0.1 ...
syedtoah's user avatar
0 votes
1 answer
54 views

Meilisearch filtering by date doesn't work in production, but does locally

I have setup Meilisearch on Kubernetes in production following this: https://github.com/meilisearch/meilisearch-kubernetes On my local I am using Laravel Sail (but not Scout). The major differences ...
Rudolf Vavruch's user avatar

1
2 3 4 5
49