Category "kubernetes"

RBAC (Role Based Access Control) on K3s

after watching a view videos on RBAC (role based access control) on kubernetes (of which this one was the most transparent for me), I've followed the steps, how

How to trigger a rollout restart on deployment resource from controller-runtime

I have been using kubebuilder for writing custom controller, and aware of Get(), Update(), Delete() methods that it provides. But Now I am looking for a method

getting error "Invalid value" when trying to use secret value in flux Kustomization patchesStrategicMerge

I am getting the error dry-run failed, reason: Invalid, error: Deployment.apps "server" is invalid: spec.template.spec.containers[0].env[0].valueFrom: Invalid v

HPA Scaling even though Current CPU is below Target CPU

I am playing around with the Horizontal Pod Autoscaler in Kubernetes. I've set the HPA to start up new instances once the average CPU Utilization passes 35%. Ho

Why is my minikube metrics-server addon not reporting pod metrics (docker 20.x)?

My pod metrics stopped working on a local minikube deployment. It appears similar to an issue reported a while back, but I don't see the same error messages in

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)