Category "kubernetes"

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

Kustomize using Strategic Merge patch on helmreleases

We keep in our Flux repo our HelmReleases. We use Kustomize to edit some of the keys in the HelmReleases. I tried using Strategic Merge patch in order to append

"kubectl get pods -A" command not working

I installed Kubernetes in virtual BOX previously it was working properly but not it is showing The connection to the server 192.168.42.141:6443 was refused - d

What's the easiest way to setup Spinnaker in lab?

I am new to Spinnaker. I want to setup Spinnaker in my lab to test some pipeline deployments to K8s. I read through a lot of videos and websites teaching how to

Ingress vs Load Balancer

I am quite confused about the roles of Ingress and Load Balancer in Kubernetes. As far as I understand Ingress is used to map incoming traffic from the interne

PrometheusOperator Helm Chart: adding labels to default rules

I need to add a label to all default rules that come with the Helm chart. I tried setting the label under commonLabels in the values file, to no avail. I also t

What kubernetes permissions does GitLab runner kubernetes executor need?

I've installed GitLab runner on a kubernetes cluster under a namespace gitlab-runner. Like so # cat <<EOF | kubectl create -f - { "apiVersion": "v1",

Docker Desktop Kubernetes Unable to connect to the server: EOF

Earlier today I had increased my Docker desktop resources, but when ever since it restarted Kubernetes has not been able to complete its startup. Whenever I tr

Kubernetes: Exclude Node from default scheduling

Is it possible to create a node-pool that the scheduler will ignore by default but that can be targeted by node-selector?

Spot Instance "frequency of interruption" ratio get as scheduled

AWS announces "frequency of interruption" on the page without API in here: https://aws.amazon.com/ec2/spot/instance-advisor/ I need to get all types(255 pieces

How I can add root CA to minikube?

My company uses it's own root CA and when I'm trying to pull images. Even from a private registry I'm getting error: 1h 3m 22 {kubelet minikube}

How to customize error pages served via the default backend of an nginx ingress controller?

I'm running an Nginx Ingress Controller installed via Helm on my Kubernetes cluster. I would like to change the HTML/CSS in the default backend service for some

Kubernetes cluster default timezone?

I had a question about the timezone used by my Kubernetes Cluster. I know I can adjust the timezone of the pods(https://evalle.xyz/posts/kubernetes-tz/). Howe

Why I cannot kill python3 process in k8s pod?

I tried to kill one python process: # ps aux | grep python root 1 12.6 2.1 2234740 1332316 ? Ssl 20:04 19:36 /usr/bin/python3 /batch/run.py ro

Terraform EKS specify node-role.kubernetes.io label on node group

In the terraform aws_eks_node_group resource I can't set : labels = { "node-role.kubernetes.io/others" = "other" } as AWS complains labels key should not c

How can I open port with wildcard?

I am going to install kubernetes on my VPS servers. The VPS servers based on Ubuntu 18.04 server and I am using Uncomplicated Firewall. I have to open several p

Please enter Username for - ServiceAccount deployment

I get Please enter Username when I try to deploy with a ServiceAccount, even I have set ClusterRole bindings - do you know why? kubectl: kubectl apply -f depl

Debug Alpine Image in K8s: No `netstat`, no `ip`, no `apk`

There is a container in my Kubernetes cluster which I want to debug. But there is nonetstat, no ip and no apk. Is there a way to upgrade this image, so that the

Nginx ingress controller not giving metrics for prometheus

I am trying to deploy an nginx ingress controller which can be monitored using prometheus however I am running into an issue that it seems no metrics pod(s) is

kubelet does not have ClusterDNS IP configured in Microk8s

I'm using microk8s in ubuntu I'm trying to run a simple hello world program but I got the error when pod created. kubelet does not have ClusterDNS IP co