Category "kubernetes"

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

Mongo DB deployment not working in kubernetes because processor doesn't have AVX support

I am trying to deploy a mongo db deployment together with service, as follows: apiVersion: apps/v1 kind: Deployment metadata: name: mongo-deployment labels:

How to check what port a pod is listening on with kubectl and not looking at the dockerFile?

I have a pod running and want to port forward so i can access the pod from the internal network. I don't know what port it is listening on though, there is no s

How to check what port a pod is listening on with kubectl and not looking at the dockerFile?

I have a pod running and want to port forward so i can access the pod from the internal network. I don't know what port it is listening on though, there is no s

telepresence: error: connector.Connect: kubeconfig has no context definition

Unable to connect to k8s with telepresence. I using minikube as my util to manage k8s and using telepresence to develop my code with k8s. Sometimes it will work

How to have multiple object types in a single openshift yaml template?

Here is the sample template for single PersistentVolumeClaim with name : claim1 apiVersion: "v1" kind: "PersistentVolumeClaim" metadata: name: "claim1" spec:

How to access Kubernetes API when using minkube?

What is correct way to kubernetes cluster setup using minikube through the kubernetes api ? At the moment, I can't find a port through which the kubernetes clus

Get environment variable from kubernetes pod?

What's the best way to list out the environment variables in a kubernetes pod? (Similar to this, but for Kube, not Docker.)

Why is kubectl not asking for a password?

Why is kubectl not asking for a password? I have created a kubernetes cluster on my server with kubeadm than I installed kubectl on my local machine and copied

Alluxio on kubernetes(EKS) supports s3 connection without aws accessKey and secretKey? Is the s3 connection configurable with role arn alone?

We are installing Alluxio on EKS using s3 as a underlaying storage layer. Alluxio cluster is up and running with s3 storage when configurations are done like be

How to turn off autoscaling in Kubernetes with the kubectl command?

If I set to autoscale a deployment using the kubectl autoscale command (http://kubernetes.io/docs/user-guide/kubectl/kubectl_autoscale/), how can I turn it off