Category "kubernetes"

What is the recommended number of Argo workflow-controller replicas in production? [closed]

In official document, the default replicas of argo-server and workflow-controller is set to 1. Should it be set to 3 in the production environ

kubernetes service load balancer auto change protocol

I create a service which type is loadbalancer, kubernetes create an ELB and listen protocol is tcp 80--->tcp 80, then I modified the ELB by changing the pro

How can I allow port-forwarding for a specific deployment in Kubernetes?

I am trying to allow some users in my org to forward ports to our production namespace in Kubernetes. However, I don't want them to be able to forward ports to

How to get number of pods (available or terminating) in kubernetes?

I need to find the number of pods currently NOT terminated (can be available, terminating, etc.) in order to prevent deployment from starting if there are still

Will BackgroundService play nicely on a Kubernetes cluster

I have a kubernetes cluster into which I'm intending to implement a service in a pod - the service will accept a grpc request, start a long running process but

Kubernetes Dashboard Installation giving x509: certificate signed by unknown authority error

Trying to install kubernetes dashboard in Ubuntu 16.04 resulting in x509: certificate signed by unknown authority error. Kubernetes cluster with a single node

how to pass environment variable in kubectl deployment?

I am setting up the kubernetes setup for django webapp. I am passing environment variable while creating deployment as below kubectl create -f deployment.yml

How to pass kubernetes namespaces dynamically to k8s cronjob

I have a cronjob that cleans some job since my kubernetes is on older version so cannot use ttlafterfinished. How can I fetch the namespaces that have this job

Required value: must specify a volume type when statically provisioning PV

Trying to statically provision a PV with GCP SSD storage. Errors out with the following message: The PersistentVolume "monitoring" is invalid: spec: Required v

How to create a tcp service in traefik 2.2.1

I am trying to create a tcp service like this in kubernetes cluster followed by official docs: apiVersion: traefik.containo.us/v1alpha1 kind: TraefikService met

automation alertmanager receivers

Good afternoon, maybe someone came across the automation of filling in receivers in alertmanager from custom pod annotations? I mean, i want alermanager take re

automation alertmanager receivers

Good afternoon, maybe someone came across the automation of filling in receivers in alertmanager from custom pod annotations? I mean, i want alermanager take re

Jaeger with spring boot is not working when both are deployed at kubernetes

I am trying to trace logs of my spring-boot-application with jaeger . Both spring-boot microservice and jaeger are running on kubernetes ( local set-up on docke

Jaeger with spring boot is not working when both are deployed at kubernetes

I am trying to trace logs of my spring-boot-application with jaeger . Both spring-boot microservice and jaeger are running on kubernetes ( local set-up on docke

How to switch namespace in kubernetes

Say, I have two namespaces k8s-app1 and k8s-app2 I can list all pods from specific namespace using the below command kubectl get pods -n <namespace> W

Kubernetes mountPropagation clarifications

I have a docker image A that contains a folder I need to share with another container B in the same K8s pod. At first I decided to use a shared volume (emptyDir

Kubernetes Operator in Airflow is not sharing the load across nodes. Why?

I have airflow 1.10.5 on a Kubernetes cluster. The DAGs are written with Kubernetes operator so that they can spin pods for each task inside the DAG on executio

Kubectl create multiline secret

I'm trying to put a Service Account into a secret - I did it previously a year ago and it works but now - no matter how I approach it, the application doesn't s

Local persistent Volume 1 node(s) didn't find available persistent volumes to bind

I'm getting started with persistent volumes and k8s. Im trying to use a local folder on my RH7 box w minikube installed. Im getting the error: 0/1 nodes are av

Helm template arithmetic division

Anyone tried to make an arithmetic division in Helm? According to sprig/Math Functions, the following should work: {{ .Values.myvalue | div 2 }} However, t