Category "kubernetes"

Using readiness probe to handle graceful shutdown

From Kubernetes document, when readiness probe fails, it removes the Pod's IP address from the endpoints of all services that match the pod. We are thinking abo

Error: wsl.exe exited with code 4294967295 on Installing Rancher Desktop

I am getting the below error when installing the latest stable Rancher Desktop in my Virtual Machine. Could someone please help? Error: Error: wsl.exe exited w

ingress-nginx: How to insert access_by_lua_block{} only for specific location?

I have multiple location blocks under a single host:, something like this: apiVersion: networking.k8s.io/v1 kind: ingress metadata: name: ingress-nginx anno

Unable to connect internet/google.com from pod. Docker and k8 are able to pull images

I am trying to learn Kubernetes. Create a single-node Kubernetes Cluster on Oracle Cloud using these steps here cat /etc/resolv.conf >> nameserver 169.254

OpenTelemetry Service Point not showing in Prometheus

I installed OpenTelemetry operator in Kubernets. Installed it using helm. helm install my-opentelemetry-collector open-telemetry/opentelemetry-collector Below

Kubernetes metrics-server not starting up locally

I'm trying to set up my metrics-server for HPA but I'm encountering some issues. This is my metrics-server.yaml: apiVersion: v1 kind: ServiceAccount metadata:

Iterate over a YAML complex map in helm

I am using Helm v3 and trying to iterate over a complex object/map in a YAML definition file for Kubernetes network policy with the following content:values.ya

Readiness probe issues on aks with helm elasticsearch installation

i am trying to install via helm elasticsearch on an azure aks this is the helm repo command : helm repo add elastic https://helm.elastic.co this is my values.y

Go create a mock for gcp compute sdk

I use the following function, and I need to raise the coverage of it (if possible to 100%), the problem is that typically I use interface to handle such cases i

Helm globally controlling values of dependencies from requirements

We have a set of Micro-Services (MS-a, MS-b, MS-c..) each has its own dependencies specified in requirements.yaml. Some have the same requirements, e.g mongodb.

Permission Denied when opening logs in minikube Nodes

When I am trying to access my logs inside minikube folder I am getting this permission denied error. docker@minikube:/var/log/containers$ cat ltservice-68d7dd45

Setting hostNetwork:true does not expose the host interfaces

I have a very simple program: package main import ( "fmt" "github.com/vishvananda/netlink" ) func main() { _, err := netlink.LinkByName("wlp16

Can not pull any image in minikube

Im on macOS and im using minikube with hyperkit driver: minikube start --driver=hyperkit and everything seems ok... with minikube status: minikube type: Control

How to create an API Gateway for AWS Eks services in private subnets?

I have an AWS EKS cluster running in a custom VPC with 2 public and 2 private subnets. The node groups (for my backend) run in the 2 private subnets so they can

ServiceNow as container based application

Can we run servicenow as a containerised application on a cluster or a VM rather than using it as SaaS or Paas?

Setup Pulsar transaction coordinator in Kubernetes setup

How to setup Apache Pulsar transaction coordinator in Kubernetes setup? I couldn't see much docs on this, though I could modify the broker.conf configmap unsure

Helm Loki Stack additional promtail config

I install loki and prometheus using helm. However, I would like to replace the logs in one place. I have used: helm show values grafana/loki-stack > loki-sta

Fake client behaviour when mocking k8s for testing

I am using the fake clientset to perform some mocking in a k8s cli tool I am creating. Therefore I am creating a Job resource jobs := clientset.BatchV1().Jobs(m

Micronaut application URL works locally but not in kubernetes

I have a Micronaut Application with the controller class like this: @Controller("/murugesso") public class Server { @Get("debug/loadVins") public MutableHt

How to Deploy a ClearML Agent in a k8s setting?

I want to deploy a ClearML agent in the kubernetes environment while using the ClearML's Free Tier Demo server. I was able to deploy the Agent pod in the k8s cl