Category "kubernetes"

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

Can we see transfer progress with kubectl cp?

Is it possible to know the progress of file transfer with kubectl cp for Google Cloud?

While using Harbor create 'New Registry Endpoint' unhealthy issue

While using harbor create 'New Registry Endpoint' unhealthy issue as below: I followed the https cert generation instruction as link: https://goharbor.io/docs/1

Combining multiple k8s secrets into an env variable

My k8s namespace contains a Secret which is created at deployment time (by svcat), so the values are not known in advance. apiVersion: v1 kind: Secret type: Op

How to use local docker images with Minikube?

I have several docker images that I want to use with minikube. I don't want to first have to upload and then download the same image instead of just using the l

Kubernetes Persistent Volume Mount not found

I am trying to create and mount a volume but getting stuck. This part creates the storage: apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pvclai

How to delete all the pods which are in Error/Init/CrashloopBckoff state at one shot

I have tried below command. but this command gets all the pods which are not running for some reason any other way to do this kubectl delete pods -A --field-s

Calling Kubernetes Spark Operator with Java api

There is a good of examples of creating Spark jobs using the Kubernetes Spark Operator and simply submitting a request with the following kubectl apply -f spa

creating a release pipeline, I am not able to create a release pipeline due to shell script failure in the tasks [closed]

cp /dockeragents/sw/ADOAgents/ADOAgent2/_work/r15/a/ws_ordermanagement_bookit_order_enrichment/manifest.yaml /dockeragents/sw/ADOAgents/ADOAg

kubernetes - Configmap - Existing files are removed

When using a ConfigMap as a mounted volume, all the existing files and folders inside the mounted location of the pod are deleted. The ConfigMap is created usi

How to ensure every kubernetes node running 2 or more pods?

I know that DaemonSets ensure only one pod running in every node. I know that ReplicaSets ensure the number of pod replicas defined are running but doesn't ensu

Applying ServiceAccount specific OPA policies through Gatekeeper in kubernetes

We are trying to replace our existing PSPs in kubernetes with OPA policies using Gatekeeper. I'm using the default templates provided by Gatekeeper https://gith