Category "kubernetes"

Are the whole nodes redundant in EKS Availability Zones?

Amazon EKS requires subnets in at least two Availability Zone. Is applied this redundancy to the whole nodes or only the control plane? If the whole nodes are r

Apache server runs with docker run but kubernetes pod fails with CrashLoopBackOff

My application uses apache2 web server. Due to restrictions in the kubernetes cluster, I do not have root previliges inside pod. So I have changed default port

How to use dynamic/variable image tag in a Kubernetes deployment?

In our project, which also uses Kustomize, our base deployment.yaml file looks like this: apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deploymen

Using RestSharp to aend files between to API's on Kubernetes

So I have to API's running on Kubernetes. One has a controller function as such: string filePath = "/blobs/data/runsession/" + folderName; if (!Directory.Exists

Move or change a volume namespace

We re-organise our namespaces in Kubernetes. We want to move our Persistent volume Claims created by a storageclass from one namespace to another. (Our backup t

Curator disconnects from zookeeper when IPs change even when using DNS names in connection string

We are using the curator service discovery in docker and kubernetes environments. We setup the connection string using the DNS names of the containers/pods.

How to reset k8s cronjob schedule?

Kubernetes have cronjob which can be used to schedule jobs periodically https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/ Is there a way to r

How can i remove an element in Deployment volumeMounts with kubectl Patch command?

I have a Deployment like this: apiVersion: apps/v1 kind: Deployment spec: template: volumeMounts: - mountPath: /home name: john-webos-vol

Terraform fails to create ingress (could not find the requested resource ingresses.extensions)

I'm using minikube locally. The following is the .tf file I use to create my kubernetes cluster: provider "kubernetes" { config_path = "~/.kube/config" } res

Multiple installations of application with ClusterRole fails

I'm creating a small application which will listen for changes on various resources through the API. For such an task it needs permissions. So I thought I'd cre

How to disable Spring Cloud Kubernetes in a Maven build

Running Spring Boot 2.6.6 and Spring Cloud 2021.0.1 I'm attempting to migrate an existing service to Kubernetes so I added a dependency on spring-cloud-starter-

docker desktop Preferences settings page is not loading and state is docker desktop is starting from forever

Main issue is docker desktop is not starting in mac & The status bar is showing docker desktop is starting but this process is not ending I tried system reb

Connect CLaaS container to CosmosDB

I have a application running on a AKS Container and would like to use the Azure Cosmos DB for storage. How can i set this up? I think i just need to specify th

Container deployment with self-managed kubernetes in AWS

I am relatively new to AWS and kubernetes. I have created a self-managed kubernetes cluster running in AWS (not using EKS). I have successfully created a pipeli

How to reload a container in kubernetes

I have a pod named 'sample_pod' and a container named 'sample_container' running inside the pod. sample_container's entry point is a python bin file (sample.py)

Letsencrypt certificate READY is False and the STATUS is 'Issuing certificate as Secret does not exist'

I am trying to configure tls for my Kubernetes cluster using cert-manager and lets encrypt but seems to be running into a problem that I cannot seem to resolve.

Docker-Desktop for MAC Kubernetes not creating secrets or token for serviceaccounts

I'm just trying to create a simple service account. Theoretically, kubectl automatically creates the secret and token for service accounts... But, not in my cas

Track API requests to each pod on my kubernetes cluster

I am trying to track all API requests to my kubernetes cluster running on some ec2 instances. How do I go about doing this? I am basically trying to check which

Install Elasticsearch with HELM on EKS Cluster got Error unknown setting [node.data] please check that any required plugins are installed

Can u help me about elasticsearch, I'm using helm chart to install elasticsearch on EKS Cluster (AWS). this error log: {"@timestamp":"2022-04-04T06:51:37.598Z",

"No appropriate python interpreter found. command terminated with exit code 1"

I am trying to perform replication in Cassandra. The cassandra nodes are setup in kubernetes. I am running it locally. I am just a beginner. I am unable to run