Category "kubernetes"

How to get the argo workflow age in seconds using kubectl command

Is there a way to fetch a specific argo workflow age in seconds using kubectl command? I've a requirement for comparing the argo workflow age. If the workflow a

Unable to Copy data from POD to local using kubectl cp command

I need to copy dump data from pod to local. Below the commands I am trying but I am getting error: unexpected EOF kubectl cp device-database-79fc964c8-q7ncc:tmp

grep for a pattern "variable=value" and returning only matching entries having a value > threshold

I am searching a kubernetes pod logs for the pattern “variable=value” ( e.g., variable=10 or variable=500) using the command below: Kubectl logs -f

How to setup Letsencrypt with Kubernetes microk8s using default Ingress?

Recently, I tried to setup letsencrypt using microk8s and the default ingress controller on a bare-metal server. I found a few guides online that were very usef

Not able to use terraform command on OpenFaas Python 3 Function deployment

I am using a Openfaas Python3 function with terraform to create bucket in my AWS Account. I am trying it locally and created a local cluster using k3s and insta

Subscription not registered to use namespace "Microsoft.ContainerService" on Azure Kubernetes Service

When creating a Kubernetes Cluster in Azure Portal (referred to as Kubernetes Service some times), I'm getting an error message during rollout which says that t

deploying on eks via travis ci fails

i am trying to make a cicd pipeline github->travisci->aws eks everything works fine images are posted to dockerhub and all.but when travis is executing ku

Error deploying the apache:superset image on Kubernetes

I am trying to deploy the latest docker image apache:superset on Kubernetes. When I deploy the YAML I get below error: [2021-04-29 01:34:10 +0000] [8] [INFO] St

helmfile sync vs helmfile apply

sync sync all resources from state file (repos, releases and chart deps) apply apply all resources from state file only when there are changes sync

Spark on Kubernetes driver pod cleanup

I am running spark 3.1.1 on kubernetes 1.19. Once job finishes executor pods get cleaned up but driver pod remains in completed state. How to clean up driver po

how to update the etcd member list

my cluster have 3 master node, now I have shutdown 1 master node, then I check the member from etcd database: [root@fat001 bin]# ETCDCTL_API=3 /opt/k8s/bin/etcd

kubernetes flannel network is not working

network cant connected between (pod and pod) or (pod and node). enter image description here flannel.1 interface have same mac address: enter image description

Snowplow Collector on K8S does not use service account

It seems that we cannot make the Snowplow container (snowplow/scala-stream-collector-kinesis) use the service account we provide. It always uses the shared-eks-

Kubernetes pod unable to download from npm registry EAI_AGAIN

I have a minikube setup where a container needs to access npm registry when starting up. But the pod can not connect to npm registry. I was under the impression

how to replace or find correct path for kustomize

I have deployment and I want to replace "path" value in liveness probe section. What is correct path for this in kustomize? - patch: |- - op: replace

Cannot execute k8s module

My code in tasks/main.yml. - name: Check Istio services k8s_info: api_version: v1 kind: Service namespace: istio-system But it returns; An ex

How can I check cadvisor which is included in kubelet?

I have multiple kubernetes clusters, whose versions are 1.13, 1.16, 1.19. I'm trying to monitor the total number of threads so that I need the metric "container

Kubernetes ingress timeout annotations not getting applied to the Nginx ingress controller

Edit: Now working. We do not what caused it to not work before. We are trying to set a different timeout for one of our downstream services (location) for our n

Can I use a single elasticsearch/kibana for multiple k8 clusters?

Do you know of any gotcha's or requirements that would not allow using a single ES/kibana as a target for fluentd in multiple k8 clusters? We are engineering r

Condition if or "values" (not "values") in helm

i confuse with condition in helm, i set 2 deployment with 1 deployment create database, 1 deployment create application using range. {{ range $component := .Val