Category "kubernetes"

pods logs in .txt file need topush these logs to cloudwatch

The pods have been successfully created and it is running but I am unable to get the logs from the pods. I even checked in Lens and 'kubectl logs pod' its not s

Kubernetes (Google) insufficient CPU and memory during deployment, autopilot cluster

Any idea why I just started getting "Insufficient CPU" and Insufficient memory" when deploying containers (nodejs api and cloud sql proxy) to Kubernetes. This h

Can a Kubernetes autoscaler scale based on disk usage?

Im looking to scale my pods/nodes based on disk space. Is it possible? I see that i can scale based on cpu or memory, but how can i scale based on disk usage?

how to list the kubernetes pod which has CharDevice in it?

how to list the Kubernetes pod which has CharDevice in it ? I could able to get the pod with CharDevice, but need to print the pod name only kubectl get pod -o

How does Kubernetes and Terraform work seamlessly together and what role do they each undertake?

I am a bit confused about the individual roles of Kubernetes and Terraform when using them both on a project. Until very recently, I had a very clear understand

Redis sentinel can not run in k8s with environment variables in config file

I try to run a redis sentinel in k8s pod and it show: *** FATAL CONFIG FILE ERROR *** Reading the configuration file, at line 27 >>> 'sentinel

Do GKE clusters need a bastion host?

I'm hosting my frontend & backend servers with GKE (Gcloud Kubernetes Engine) with private nodes in a default VPC network like this gcloud beta container cl

MicroK8S pods have no connectivity

No pods in newly created MicroK8S cluster on my Ubuntu have any connectivity, including coredns: $ k logs -f coredns-64c6478b6c-4pdnj -n kube-system ... E0429

Kubernetes pod went down

I am pretty new to Kubernetes so I don't have much idea. Last day a pod went down and I was thinking if I would be able to recover the tmp folder. So basically

deleting minikube cluster so I can create a larger cluster with more CPUs

I need to run sudo minikube start --memory=4096 --cpus=2 for my use case. However it is running with 1 cpu already. Somehow I started it w/o creating an entr

Replace contents of an item in a list using Kustomize

I'm having difficulty trying to get kustomize to replace contents of an item in a list. My kustomize file apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kust

Does anyone know the way to do this on a client-go or the API resources that kubectl describe pod uses

I cannot find the appropriate method to do this. Does anyone know the way to do this on a client-go or the API resources that kubectl describe pod uses?

fluentd indices not adding to elasticsearch and kibana

I've deployed EFK stack in IBM Kuberentes cloud by following the step by step guide from this article. Every deployment is done successfully, all EFK stack are

How are CPU resource units (millicore/millicpu) calculated under the hood?

Let's take this processor as an example: a CPU with 2 cores and 4 threads (2 threads per core). From what I've read, such a CPU has 2 physical cores but can pro

Since Fluentd Daemonset has access to the pod log locations why it needs to contact API server?

I have deployed Fluentd as DaemonSet on my cluster using fluentd-daemonset-elasticsearch. In the logs I can see this error start_pod_watch: Exception encountere

Kubernetes: Unable to mount a projected volume, no space on device when clearly there is

I have a local k3d cluster in stalled on Mac (Big Sur 12) that I am attempting to install calico (their default manifest https://k3d.io/v5.3.0/usage/advanced/ca

How to get all docker image layers in k8s masternode

I'm a beginner at Kubernetes and Docker. I want to receive the image layer of all the containers that are operating on the master node of k8s. (If there is any

helm harbor is not a valid chart repository or cannot be reached: object required

I've successfully pushed some locally built helm chart to harbor private helm registry using below commands: helm registry login private.harbor.com helm push ch

serviceaccount "grafana" not found

Getting the error pods "grafana-5d64697748-" is forbidden: error looking up service account project-dev-monitoring/grafana: serviceaccount "grafana" not

3 level Port forwarding (Kubernetes Pod -> Docker Container -> Local

I use a docker container to interact with my kubernetes cluster. I run kubectl from inside the container. All works fine except when I want to port forward. I c