Category "kubernetes"

How to create cronjob using open-shift UI to call shell script file

Can we create cronjob to make a simple shell script call without image, template information in the YAML file For example : I have simple shell script which jus

Determine Kubernetes cluster size

I am confused in finalize the cluster size for my QA kubernetes deployment which can be used by 150 people. Follwing are the services i need to deploy: 6 Spring

AKS error - Unable to connect to the server: x509: certificate signed by unknown authority

I have docker desktop and kubectl installed , I am trying to connect to cluster from my local pc and getting above error here is my kubeconfig file apiVersion:

how to scale the AKS Deployments using C#

I have tried using the Patch Class to scale the Deployments but unable to do so. Please let me know how to do it. i have researched a lot but no proper docs on

why i can not change nginx container and target port in k8s

I have below manifest file to deploy nginx pod in k8s with container port and target port 80. When I set these ports other than 80 say eg 8080, I am not able to

Why archived venv during azure pipelines created with venv-pack has corrupted python interpreter?

I want to use archived environment for spark-submit, but after unpacking on k8s cluster it has corrupted python interpreter

nginx ingress on kuberentes sees node ip address instead of the public internet resource requestor

I have a kubernetes cluster and a nginx ingress. I have deployed an ingress to route traffic from a domain example.org to a specific container. Now, I am trying

minikube pod ip and pod cidr

I setup minikube on my MAC. ~ $ kubectl describe node minikube Addresses: InternalIP: 192.168.64.2 Hostname: minikube PodCIDR: 10.

Cannot access deployed services when Minikube cluster is installed in WSL2

I have a Minikube cluster setup in WSL 2 of Windows 10 pro, where the docker-for-windows is used with WSL2 integration. Minikube was started with default docker

Distribute cache between Pods in Kubernetes with Hazelcast in Spring boot application

I have a Spring boot application with Hibernate L2 cache enabled. I integrated Hazelcast as cache provider for Hibernate. My application runs on Kubernetes and

How should Kubernetes controllers interleave spec and status updates?

I have a Kubernetes cluster with a hardware node that has a CD-ROM device attached. I want to describe the device with a custom resource. (I might buy a second

What is the recommended way to disable the automount of service account in kubernetes

We need to disable the automount of service account from our existing deployments in AKS cluster. There are 2 ways to do by adding the property "automountservic

What is the best approach for creating a controller in Kubernetes?

I'm not quite sure if which of the following approaches is the better approach to create a controller in kubernetes however I know that: I don't want to create

How to get specific appVersion of an Helm Chart from Helm Repository

Helm Chart has the concept of Version and appVersion. We are using the Version to document that a content of the Helm Chart changed or not (for ex, a template,

kubernetes config map - syntax error: unterminated quoted string

I am getting below error when trying to attach shell script as config map. I am not sure what's the issue because script work without adding in config map It sh

What is the cooldown period in K8s HPA

Below is the sample HPA configuration for the scaling pod but there is no time duration mentioned. So wanted to know what is the duration between the next scali

Nginx index.html is override With Shared Volume

I have a Pod with an emptyDir volume mounted in two containers: nginx at /usr/share/nginx/html/ busybox at /var/html/ If i create a file with html extension ins

Kubeflow Pipeline cannot communicate with S3 bucket

I am installing Kubeflow Pipeline on AWS from this official repository: github.com/kubeflow/manifests/tree/master/apps/pipeline/upstream/env/aws Kubeflow is con

MongoDB ReplicaSet in K8S -- can't connect via port forward

I have a k8s dev cluster (in aks). I previously used the bitnami chart for deployment of a single MongoDB pod and I never had the following problem. As I'm now

Would psutil.cpu_percentage depict a true CPU usage of a docker container running in Kubernetes?

I want to monitor CPU percentage usage of a Docker container and get alerted when it reaches a certain threshold. My application is running in a Docker containe