Category "kubernetes"

nginx in Docker - returns "server" directive is not allowed here

I have dockerized an Angular application with the following Dockerfile and nginx.conf. The container works fine in Docker desktop. When deploying in Kubernetes

Deployment gaps at fast pace growing application [closed]

Some context: I have little experience with ci/CD and manage a fast paced growing application since it saw the light of the day for the first

Subdirectory of PV directory isn't mounted to persistent volume

I've got a PV that is backed by do-block-storage, and it's mounted to a stateful set, at /var/lib/postgresql, this is the full stateful set: apiVersion: apps/v1

SSE connection not established

I have implemented Server-Sent events with fastify. The client code: const url = `${server}/sse/events`; const connection = new EventSource(url);

how to use postgres.db.name for multiple databases in kubernetes configMaps

So I want to create multiple postgresql databases in the kubernetes deployment. I tried with the below configMaps configuration but the databases are not being

Kubernetes logs from kubectl logs command is different to /var/log/containers in GKE cluster

I have created a GKE cluster on GCP. Kubernetes logs from kubectl logs command is different to /var/log/containers kubectl {"method":"GET","path":"/healthz","fo

SharedInformerFactoryWithOptions - Not able to filter based on labels

I want to watch Kubernetes pod events for a certain application. I went with NewSharedInformerFactoryWithOptions. I have added appropriate labels selector, But

Use environment variable as default for another env variable in Kubernetes

Is there a way to use an environment variable as the default for another? For example: apiVersion: v1 kind: Pod metadata: name: Work spec: containers: - n

Airflow kubernetes architecture understanding

I'm trying to understand the Arch of Airflow on Kubernetes. Using the helm and Kubernetes executor, the installation mounts 3 pods called: Trigger, WebServer, a

Google Cloud Kubernetes GCE_STOCKOUT

i have a very serious problem. We have a google kubernetes engine running and were hosting on zone europe-west3-c, after trying to update the docker container I

How to expose kafka using istio ingress?

I use istio-ingress gateway and virtualservice to expose different microservices. So far all of them have been http services, so it was straight-forward to foll

GCP GKE Google Kubernetes Engine The connection to the server localhost:8080 was refused

i am trying GCP and GKE google kubernetes engine. 1-)i am create a cluster 2-)i opened cloud shell and used command "kubectl get nodes" i get this error: "The c

connection refused deploying elasticsearch on kubernetes

I'm trying to deploy elasticsearch on kubernetes. When I login to the docker container with kubectl exec -c elasticsearch -ti elasticsearch-0 -- bash and run c

ksqldb high disk usage problem(disk usage tends to increase indefinitely)

I am currently using Ksqldb in the k8s environment. I am using TABLE for aggregate operations. Since it is a stateful operation, ksqldb is expected to be using

GPU nodegroup in EKS

I am not able to create a nodegroup with GPU type using EKS, getting this error from cloud formation: [!] retryable error (Throttling: Rate exceeded status cod

Accessing minikube via the KubernetesPodOperator in airflow

I am trying to make the airflow KubernetesPodOperator work with minikube. But unfortunately, the operator does not find the kubernetes cluster. The dag returned

Getting Unkown target for HPA

Am actually new to kubernetes, but as now am good with the terms such as deployment, pods etc. Well i was trying an example of HPA (Horizontal pod autoscaler),

How To Solve Kibana Dashboard "404" display error?

I am trying to set up authentication with Okta for elastic stack on google cloud. The link from OKTA has the first step to route the cluster address through a c

Getting null pointer exception after deployment in GCP

I have a .NET application divided in microservices. One of the microservices is the orchestrator and authenticaticator: this microservice communicates to 3 othe

Patch container in overlays

I have use case to add some library (agent) base on the environment ├───k8s │ ├───base │ ├