Category "kubernetes"

Kubernetes Prometheus CrashLoopBackOff / OOMKilled Puzzle

Periodically I see the container Status: terminated - OOMKilled (exit code: 137) But it's scheduled to the node with plenty of memory $ k get statefulset -n met

How to obtain the Kubeflow pipeline run name from within a component?

I'm working with Kubeflow pipelines. I would like to access the "Run name" from inside the a task component. For example in the below image the run name is "My

How to know the replica count of a Spring Boot application in Kubernetes

I have a Spring Boot 2.2.x backend deployed in kubernetes. I want to split a workload in this backend by the number of replicas of this application. If I have o

Terminate istio sidecar istio-proxy for a kubernetes job / cronjob

We recently started using istio Istio to establish a service-mesh within out Kubernetes landscape. We now have the problem that jobs and cronjobs do not termin

Install reportportal on kube get error : starting Tomcat context. Exception: org...message: Error creating bean with name 'servletEndpointRegistrar'

I've installed reportportal 5.7.0 to kubernetes cluster. I've implemented it from doc:https://github.com/reportportal/kubernetes/tree/develop/reportportal. From

Customizing kubernetes dashboard with company name and environment

Problem statement: Currently we are running k8s in multiple environments e.g. dev, uat,staging. It becomes very difficult to identify for us just by looking at

Suddenly getting "Unable to connect to the server: net/http: TLS handshake timeout" from kubectl

My vanilla kubernetes cluster running on 'Docker for Mac' was running fine without any real load. Now, I deployed a few services and istio. Now, I am getting th

Pods are not rescheduling to failure node ,when node come alive

My situation is ,I have 5 nodes having K8 cluster .Initially pods are distributed across the 5 node. Sometime we need to restart particular node server. Then th

Prometheus many-to-many problem for kube cronjobs

Hy there, I'm trying to configure Kubernetes Cronjobs monitoring & alerts with Prometheus. I found this helpful guide But I always get a many-to-many matc

error: resource mapping not found || make sure CRDs are installed first

error: resource mapping not found for name: "ingress-srv" namespace: "" from "ingress-srv.yaml": no matches for kind "Ingress" in version "networking.k8s.io/v1

docker desktop kubernetes can't pull from private registry

I'm running docker desktop with the built-in kubernetes cluster. I've got an image in an on-prem gitlab instance. I create a project API key and on the local ma

Inject cronjob once namespace created

This mainly for GKE cluster with preemptible nodes. Google Cloud would shutdown any node without warning, which leaves lots of pods with Terminated and / or Nod

k3d tries to pull Docker image instead of using the local one

Just study the core of K8S on local machine (Linux Mint 20.2). Created one node cluster locally with: k3d cluster create mycluster And now I want to run sprin

how to list full url about helm search url in v3.2.1

When I use this command to search hub's avaliable chart: helm search hub kubernetes-dashboard it only show part of the url like this: [miaoyou@MeowK8SMaster1 ~

Security group inbound rules wiped out and added 0.0.0.0/0 by eksclusterrole automatically

I have deployed AWS EKS 2 node cluster(Version 1.18). It contains some ELBs, microservices and a UI hosted on Kubernetes. ELB's have their own security group. I

Unable to pull docker image from local registry for Kubernetes deployment

I've a K8s cluster on Linode and another VM for operating. I've installed Docker & K8s on operating VM to build images and do deployment on cluster. Note: I

How can I mount Pv on one node and use that same PV for pods in another anode

I have attached an EBS volume to one of the nodes in my cluster and I want that whatever pod are coming up, irrespective of the nodes they are scheduled onto, s

Rendered manifests contain a resource that already exists. Could not get information about the resource: resource name may not be empty

I Installed Helm 3 on my windows laptop where i have kube config configured as well. But when i try to install my local helm chart, i;m getting the below error.

GitLab CI in GKE private cluster can't connect to master

So far we have been using GKE public cluster for all our workloads. We have created a second, private cluster (still GKE) with improved security and availabilit

How To Reduce Prometheus(Federation) Scrape Duration

I have a Prometheus federation with 2 prometheus' servers - one per Kubernetes cluster and a central to rule them all. Over time the scrape durations increase.