Category "kubectl"

Docker: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/ (Path here) /merged : too many levels of symbolic links

I am trying to run minikube with the following command: minikube start --driver=docker but it keeps giving me this error: docker: Error response from daemon: e

error parsing loadbalancer.yaml: error converting YAML to JSON: yaml: line 4: found character that cannot start any token

I ran this yaml file using kubectl apply -f loadbalancer.yaml command, but got "error parsing loadbalancer.yaml: error converting YAML to JSON: yaml: line 4: fo

Determine Kubernetes cluster size

I am confused in finalize the cluster size for my QA kubernetes deployment which can be used by 150 people. Follwing are the services i need to deploy: 6 Spring

AKS error - Unable to connect to the server: x509: certificate signed by unknown authority

I have docker desktop and kubectl installed , I am trying to connect to cluster from my local pc and getting above error here is my kubeconfig file apiVersion:

minikube cluster will not pull in images

I am having issues pulling in my images of my minihkube kubemaniest file for what ever reason. Here is how it looks: apiVersion: v1 items: - apiVersion: v1

Docker-Desktop for MAC Kubernetes not creating secrets or token for serviceaccounts

I'm just trying to create a simple service account. Theoretically, kubectl automatically creates the secret and token for service accounts... But, not in my cas

kubectl get service --all-namespace filter out by if Ready matches Available

Looking for query/filter to list only certain deployments: if AVAILABLE column matches READY Example: NAMESPACE NAME READY UP-TO-DATE AVAILABLE app1 app1 1

Is there an option to copy image between nodes in kubernetes cluster?

I have a case where we have to patch the docker image in k8s node and retag it to start over the old one. This process ain't so easy and obvious, because I have

Unable to connect to AWS EKS cluster

I am configuring an EKS cluster using terraform in a private subnet and trying to access it using a VPN in a public subnet. When I configured it, it works fine

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

How to display only positive change in Grafana graph?

I am using kube-stats-metrics with kube_pod_container_status_last_terminated_reason as a gauge. The gauge can be reporter for few minutes even hours. But I just

Get node status with kubectl custom-columns [closed]

I'm experimenting with kubectl -o=custom-columns and I wonder if there is a way to get node status. I'm can get the nodename with this k

Get node status with kubectl custom-columns [closed]

I'm experimenting with kubectl -o=custom-columns and I wonder if there is a way to get node status. I'm can get the nodename with this k

Error: getaddrinfo ENOTFOUND ingress-nginx.ingress-nginx-controller.svc.cluster.local

I am working with NextJS and I need for it to know when it's making a request on the server or on the browser. To do it on the server-side because I am building

User cannot get resource "services" in API group - Jenkins pipeline EKS deployment

I'm trying to deploy my docker image into the cluster using Jenkins. my Jenkins application is running in an EC2 ubuntu server. Initially, when I tried I was ge

Suddenly getting "Unable to connect to the server: net/http: TLS handshake timeout" from kubectl

My vanilla kubernetes cluster running on 'Docker for Mac' was running fine without any real load. Now, I deployed a few services and istio. Now, I am getting th

How can I mount Pv on one node and use that same PV for pods in another anode

I have attached an EBS volume to one of the nodes in my cluster and I want that whatever pod are coming up, irrespective of the nodes they are scheduled onto, s

How could I run kubectl -k in an Azure DevOps pipeline?

Currently the Azure kubectl task uses Kubectl version 1.13.xxx. Is there any way to run a newer version of kubectl that supports apply -k or kustomize?

minikube ip is not reachable

I have created one service called fleetman-webapp: apiVersion: v1 kind: Service metadata: name: fleetman-webapp spec: selector: app: webapp ports: - n