Category "kubernetes"

Required value: must specify a volume type when statically provisioning PV

Trying to statically provision a PV with GCP SSD storage. Errors out with the following message: The PersistentVolume "monitoring" is invalid: spec: Required v

How to create a tcp service in traefik 2.2.1

I am trying to create a tcp service like this in kubernetes cluster followed by official docs: apiVersion: traefik.containo.us/v1alpha1 kind: TraefikService met

automation alertmanager receivers

Good afternoon, maybe someone came across the automation of filling in receivers in alertmanager from custom pod annotations? I mean, i want alermanager take re

automation alertmanager receivers

Good afternoon, maybe someone came across the automation of filling in receivers in alertmanager from custom pod annotations? I mean, i want alermanager take re

Jaeger with spring boot is not working when both are deployed at kubernetes

I am trying to trace logs of my spring-boot-application with jaeger . Both spring-boot microservice and jaeger are running on kubernetes ( local set-up on docke

Jaeger with spring boot is not working when both are deployed at kubernetes

I am trying to trace logs of my spring-boot-application with jaeger . Both spring-boot microservice and jaeger are running on kubernetes ( local set-up on docke

How to switch namespace in kubernetes

Say, I have two namespaces k8s-app1 and k8s-app2 I can list all pods from specific namespace using the below command kubectl get pods -n <namespace> W

Kubernetes mountPropagation clarifications

I have a docker image A that contains a folder I need to share with another container B in the same K8s pod. At first I decided to use a shared volume (emptyDir

Kubernetes Operator in Airflow is not sharing the load across nodes. Why?

I have airflow 1.10.5 on a Kubernetes cluster. The DAGs are written with Kubernetes operator so that they can spin pods for each task inside the DAG on executio

Kubectl create multiline secret

I'm trying to put a Service Account into a secret - I did it previously a year ago and it works but now - no matter how I approach it, the application doesn't s

Local persistent Volume 1 node(s) didn't find available persistent volumes to bind

I'm getting started with persistent volumes and k8s. Im trying to use a local folder on my RH7 box w minikube installed. Im getting the error: 0/1 nodes are av

Helm template arithmetic division

Anyone tried to make an arithmetic division in Helm? According to sprig/Math Functions, the following should work: {{ .Values.myvalue | div 2 }} However, t

WaitForFirstConsumer PersistentVolumeClaim waiting for first consumer to be created before binding

I setup a new k8s in a single node, which is tainted. But the PersistentVolume can not be created successfully, when I am trying to create a simple PostgreSQL.

Kafka infinite loop of error "SyncGroup failed: The group began another rebalance. Need to re-join the group. Sent generation was Generation"

I'm having Kafka Consumer group of applications (10 instances) written in Java which uses Spring Cloud Stream. Consumer application is deployed in AWS Kubernete

Spark executor metrics don't reach prometheus sink

Circumstances: I have read through these:https://spark.apache.org/docs/3.1.2/monitoring.html https://dzlab.github.io/bigdata/2020/07/03/spark3-monitoring-1/ ver

count k8s cluster cpu/memory usage with prometheus

I want to count k8s cluster cpu/memory usage (not k8s pod usage) with prometheus, so that i can show in grafana. I use sum (container_memory_usage_bytes{id="/"

Permission denied on Kubernetes InitContainer while running command

I'm trying to add a certificate bundle to an existing certificate bundle file in a container. But I'm getting the error permission denied. I'm aware this is due

Kubernetes: How do I delete PV in the correct manner

The stateful set es-data was failing on our test environment and I was asked to delete corresponding PV. So I deleted the following for es-data: 1) PVC 2) PV T

Is it possible to install curl into busybox in kubernetes pod

I am using busybox to detect my network problem in kubernetes v1.18 pods. I created the busybox like this: apiVersion: v1 kind: Pod metadata: name: busybox

no endpoints available for service for kubernetes dashboard

According to following information, kubernetes-dashboard is creaded. I start kubectl prox to access the dashboard [root@master ~]# kubectl create -f https://ra