Category "kubernetes"

Kubernetes: expired certificate

Our Kubernetes 1.6 cluster had certificates generated when the cluster was built on April 13th, 2017. On December 13th, 2017, our cluster was upgraded to versi

How to parse json format output of : kubectl get pods using jsonpath

How to parse the json to retrieve a field from output of kubectl get pods -o json From the command line I need to obtain the system generated container name

How can I configure NGINX ingress controller to work with Cloudflare and Digital Ocean Load Balancer?

I have tried the answers in this question. This is my current configuration: apiVersion: v1 kind: ConfigMap metadata: labels: helm.sh/chart: ingress-nginx

Kubernetes: Error from server (NotFound): deployments.apps "kube-verify" not found

I set up a Kubernetes cluster in my private network and managed to deploy a test pods: now I want to expose an external ip for the service: but when I run: kube

kubernetes ingress service annotations

I am setting up an ingress service following some k8s documentation, but I am not able to understand the following annotations: kubernetes.ip/ingress.class: ngi

microk8s Connection to port 16443 was refused

I'm getting following error message: root@master-1:~# microk8s.kubectl get no The connection to the server 127.0.0.1:16443 was refused - did you specify the rig

Where can I get a list of Kubernetes API resources and subresources?

I am trying to configure Kubernetes RBAC in the least-permissive way possible and I want to scope my roles to specific resources and subresouces. I've dug thr

How do I avoid data loss when using Kafka over Kubernetes and one of the nodes fail?

My application runs over a Kubernetes cluster of 3 nodes and uses Kafka to stream data. I am trying to check my system's ability to recover from node failure, s

Container runtime network not ready: cni config uninitialized

I'm installing kubernetes(kubeadm) on centos VM running inside Virtualbox, so with yum I installed kubeadm, kubelet and docker. Now while trying to setup clus

How to fix issue of 'Unable to connect to the server: EOF' Kubernetes - Kubectl

When I try any kubectl command, it always returns: Unable to connect to the server: EOF I followed these tutorials: https://kubernetes.io/docs/tasks/tools/ins

Kubernetes and Wildcard DNS records

Is it possible to setup my ingress with a wildcard so I can fetch images with repositoryname.hostname where repositoryname is the wildcard? I have Artifactory r

Unable to connect to the server: dial tcp: lookup <Server Location>: no such host

I'm beginning to build out a kubernetes cluster for our applications. We are using Azure for cloud services, so my K8s cluster is built using AKS. The AKs clust

Unable to export traces to OpenTelemetry Collector on Kubernetes

I am using the opentelemetry-ruby otlp exporter for auto instrumentation: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/otlp The otel

Zeppelin+Spark+Kubernetes: Let Zeppelin Job run on existing Spark Cluster

In a k8s cluster. How do you configure zeppelin to run spark jobs in an existing spark cluster instead of spinning up a new pod? I've got a k8s cluster up and r

Can a single kubernetes job contain multiple pods with different parallelism definitions?

I have a batch job which breaks down in 3 tasks that each depend on the previous finishing before they can start: Run a single pod Run N pods in parallel (.spec

airflow kubernetes default setup ERROR: relation "log" does not exist at character 13

I deployed the default helm chart for airflow 2. The postgres pod is reporting an error: ERROR: relation "log" does not exist at character 13 This appears af

cannot mount NFS share on my Mac PC to minikube cluster

Problem To make k8s multinodes dev env, I was trying to use NFS persistent volume in minikube with multi-nodes and cannot run pods properly. It seems there's so

How to perform custom authentication with kubernetes Ingress

I have deployed few services in kubernetes and using NGINX ingress to access outside.(Using EC2 instance for all cluster setup). Able to access service through

How to merge kubectl config file with ~/.kube/config?

Is there a simple kubectl command to take a kubeconfig file (that contains a cluster+context+user) and merge it into the ~/.kube/config file as an additional co

Whats the brief factual difference between Kubernetes, Helm and Rancher (and others) [closed]

As a new starter in the world of DevOps, I've tried to find a one-pager that explains side by side what each of the following technologies do