Category "kubernetes"

ErrImagePull: Kubectl and Minikube when creating a pod

I'm new to Kubernetes and learning it these days. I'm trying to create a deployment with the help of kubectl and every time I create a deployment, the container

Using the kube-prometheus-stack helm chart, how can I see only the pods I want in a particular namespace as targets in Promethes?

Using the kube-prometheus-stack helm chart, I want to scrape the metrics of only 3 pods out of 6 pods in the app namespace in K8S with Prometheus. In this conte

Kubernetes deployment and replicaset keep reappearing

First time Kubernetes user here. I deployed a service using kubectl -n my_namespace apply -f new_service.yaml It failed, with the pod showing Warning -Back-off

microk8s configuration location (current vs x1)

I have a microk8s installed on a ubuntu EC2 instance. I have kubernetes 1.21 with calico cni installed. These are installed with snap. I am trying to enable dua

CoreDNS returning incorrect IP (mostly)

Having difficulties tracking down this issue. Have had my cluster running untouched for about 6 months with no issues. It reboots on the first of the month, eve

Kubernetes: how to set up communication between microservices

Recently, I’ve made a simple application with spring boot backends and an angular frontend. Here is the ‘architecture’: application setup The

Can't connect to etcd via etcdctl

I have deployed etcd server(3.5.0) as a container on Kubernetes and am able to access the /version and /metrics endpoints via the fqdn in HttpProxy on my local

Flink - Failed to get metadata for topics exception while consuming from kafka topic

I have setup flink operator and kafka on minikube (both are on different namespaces). I am trying to consume messages from a kafka topic in flink and do some tr

spark: exec: "executor": executable file not found in $PATH: unknown

I am trying to do some calculus by using petastorm v0.11.4 in a docker container and minikube v1.25.2 As long as I run the process locally, everything works as

Is Kubernetes Networking Smart Enough to Route ClusterIP Requests to Local Pod

I think the question has most of the information. If I have a Service that is a ClusterIP Service, and a Pod accesses that Service, since the load balancing is

Redis slave is not able to connect to the Master in AWS EC2 Kubernetes Cluster

When I allow particular port in AWS security Groups, Slaves are not connecting to the master but when I allow all traffic in security groups it's connecting and

GCK Preemptible Node AGE shows 6days

As per the GKE documentation, preemptible VMs only last for up to 24 hours after creation. However, in our GKE cluster where we have node-pool with preemtible i

Kafka working in Azure Kubernetes cluster, but not locally in minikube

I am using Kafka and facing a problem. Kafka doesn't seem to work locally using minikube. I get this erorr: org.apache.kafka.common.errors.InvalidReplicationFac

Rancher failed to launch with the error k3s exited with: exit status 1

I am running rancher latest docker image on Mac M1 laptop but the contact failed to start. The command I am using is sudo docker run -d -p 80:80 -p 443:443 --pr

CORS requests blocked when hitting k8s service exposing Spring Boot API

I currently have an Angular application trying to call a Spring Boot application with simple HTTP queries. Both of the applications are running on their own pod

AKS with Application gateway ingress controller configuration

I configured application gateway ingress controller for my Kubernetes cluster, but I can't access my pod container app named myapp running on port 8080/TCP. I c

AKS with Application gateway ingress controller configuration

I configured application gateway ingress controller for my Kubernetes cluster, but I can't access my pod container app named myapp running on port 8080/TCP. I c

kubectl substring match using go-template

I am trying to find a way to match a substring in the go-template in kubectl. I am only able to find operators like those listed below, however, none of them is

Grafana-Kubernetes Integration

I am having the following questions: Actually, I am using grafana open source service in Azure Virtual Machine. I would like to see the Kubernetes SLA Metrics o

Binding of volume to Docker Container via Kubernetes

I'm new to the area, sorry if my question sounds dumb. What I'm looking for: I have a containers pod, where one of the containers (alpine based) should read/wri