Category "kubernetes"

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 │ ├

Why pod is the smallest unit?

In almost every article, it is mentioned that pod is the smallest unit of Kubernetes? What does it mean? What is the meaning of smallest? Thank you

In Minkube mulitple namespaces why NetworkPolicy is not working

I'm using minikube and created the following resources Two namespaces qa and prod Created curlpod in qa namespace, also curlpod and web pod in prod namespace. C

Ignite cluster runs within Kubernetes, but applications are outside of it

Is there a way to connect C# Thick Client running in the Windows Machine outside of the Kubernetes with Apache Ignite Cluster nodes are present in the Kubernete

etcd process is often in high cpu in k8s master

I setup a k8s master in centos7,but etcd process is often in CPU high situation. Docker version is 20.10.16,and kubelet is 1.23.

Amazon EKS on public subnets

This article from AWS states that recommended production setup for EKS is a mix of private and public subnets. Unfortunately it does not explain the 'why'. What