Trending questions in Kubernetes

0 votes
1 answer

The connection to the server localhost:8080 was refused - did you specify the right host or port?

Hi@akhtar, You may get this error if Kubectl ...READ MORE

Jun 6, 2020 in Kubernetes by MD
• 95,320 points
29,703 views
+3 votes
5 answers

Is accessing kubernetes dashboard remotely possible?

Yes it is possible by using NodePort ...READ MORE

Mar 9, 2020 in Kubernetes by Ali
• 160 points
38,538 views
0 votes
2 answers

Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error"

mkdir -p $HOME/.kube sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config sudo ...READ MORE

Sep 30, 2020 in Kubernetes by Muhammad Badi uz Zaman
12,756 views
0 votes
1 answer

How to uninstall Kubernetes completely?

Hi Akhtar, You can follow the below steps ...READ MORE

Oct 6, 2020 in Kubernetes by MD
• 95,320 points
9,657 views
0 votes
1 answer

How to install HELM in Windows?

Hi@akhtar, You can follow the below-given steps to ...READ MORE

Jul 6, 2020 in Kubernetes by MD
• 95,320 points
10,840 views
0 votes
1 answer
+2 votes
1 answer

error: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

Hi@akhtar, When you try to connect your kubernetes ...READ MORE

May 19, 2020 in Kubernetes by MD
• 95,320 points
11,202 views
0 votes
1 answer

Error: there is no need to specify a resource type as a separate argument when passing arguments in resource/name form

Hi, You don't need to pass any argument ...READ MORE

Oct 6, 2020 in Kubernetes by MD
• 95,320 points
4,796 views
0 votes
1 answer

How to share secret across namespaces in Kubernetes?

Hi@akhtar, You will have to create the secret ...READ MORE

Oct 21, 2020 in Kubernetes by MD
• 95,320 points
3,312 views
0 votes
1 answer

What is the difference between Apache Mesos and Kubernetes?

Hi@akhtar, Kubernetes and Apache Mesos are DevOps infrastructure ...READ MORE

Dec 16, 2020 in Kubernetes by MD
• 95,320 points
193 views
0 votes
1 answer

How to change default Namespace in Kubernetes?

Hi@akhtar, Kubernetes will automatically create one namespace named ...READ MORE

Jul 5, 2020 in Kubernetes by MD
• 95,320 points
6,729 views
0 votes
3 answers

Using multiple commands in a kubernetes yaml file

Try something like this: containers: - name: ...READ MORE

Apr 23, 2019 in Kubernetes by lyza
30,117 views
0 votes
1 answer

How to edit ConfigMap to add new data?

Hi@MD, You can edit your ConfigMap. Kubectl has ...READ MORE

Aug 31, 2020 in Kubernetes by akhtar
• 38,230 points
3,091 views
0 votes
1 answer

error: failed to run Kubelet: Running with swap on is not supported, please disable swap! or set --fail-swap-on flag to

Hi@akhtar, To configure Kubernetes Cluster you need to ...READ MORE

Sep 16, 2020 in Kubernetes by MD
• 95,320 points
2,193 views
0 votes
5 answers

Error saying "Unable to connect to the server: x509: certificate signed by unknown authority"

export KUBECONFIG=/etc/kubernetes/admin.conf READ MORE

Jul 27, 2019 in Kubernetes by aneesh ansari
26,431 views
0 votes
1 answer

How to deploy the pod in k8s connect to 3rd party server which using whitelist IP?

Hey, You can connect the pod and the ...READ MORE

Oct 29, 2020 in Kubernetes by Sam

edited Oct 6, 2021 by Sarfaraz 256 views
0 votes
1 answer

Is it necessary to create kubernetes cluster using minicube? Or how it happens in real time?

Minikube is a tool that lets you ...READ MORE

Oct 23, 2020 in Kubernetes by Hana

edited Oct 6, 2021 by Sarfaraz 238 views
0 votes
1 answer
0 votes
1 answer

How to solve the issue with crashloopbackoff in my kubernetes Pod?

If your image is completed and not ...READ MORE

Sep 21, 2020 in Kubernetes by Jai

edited Oct 6, 2021 by Sarfaraz 1,251 views
0 votes
1 answer

How to uninstall minikube in windows?

Hi@akhtar, You can use the below-given commands to ...READ MORE

Jul 27, 2020 in Kubernetes by MD
• 95,320 points
3,405 views
0 votes
1 answer

How to create token for worker node in Kubernetes Cluster?

Hi@akhtar, You will get your token when you ...READ MORE

Sep 16, 2020 in Kubernetes by MD
• 95,320 points

edited Oct 6, 2021 by Sarfaraz 936 views
0 votes
1 answer

How do we list all the pods which are using the same service?

Hi, If you want to manage your pods ...READ MORE

Oct 5, 2020 in Kubernetes by MD
• 95,320 points
114 views
0 votes
1 answer

Cannot access the MetalLB LoadBalancer IP from outside my kubernetes cluster.

Check the firewall config and What port ...READ MORE

Sep 17, 2020 in Kubernetes by Garama

edited Oct 6, 2021 by Sarfaraz 800 views
0 votes
1 answer

Any one know how to create certs under /etc/kubernetes/PKI path files ?

Use OpenSSL or CfSSL. Refer to https://kubernetes.io/docs/setup/best-practices/certificates/ Hope it helps! To ...READ MORE

Sep 30, 2020 in Kubernetes by Vishwanath Deshpande

edited Oct 6, 2021 by Sarfaraz 101 views
0 votes
1 answer

I am not able to set static IP for my ubuntu VM.... I am referring Kubernetes installation!

Hey, check this out for the steps ...READ MORE

Sep 28, 2020 in Kubernetes by Vishwanath Deshpande

edited Oct 6, 2021 by Sarfaraz 121 views
0 votes
1 answer

How to automate the rollback of deployment when it fails using helm and without timeout?

As it turns out, there is an ...READ MORE

Sep 18, 2020 in Kubernetes by Kim
460 views
0 votes
1 answer

I have added ceph storage as PV to Kubernetes. Can I create multiple volume claims from that?

Yes, you can do it. A Persistent ...READ MORE

Sep 24, 2020 in Kubernetes by Vishwanath

edited Oct 6, 2021 by Sarfaraz 218 views
+2 votes
2 answers

Difference between a replica set and replication controller

Olaaa Jinu! Replica set and replication controller - ...READ MORE

Dec 19, 2019 in Kubernetes by Kalgi
• 52,370 points
17,370 views
0 votes
1 answer

Whenever I open Kubernetes dashboard , it ask for token. How to fix it ?

This article will help you. https://www.google.co.in/amp/s/www.edureka.co/blog/install-kubernetes-on-ubuntu/amp/ You have to ...READ MORE

Sep 21, 2020 in Kubernetes by Jai

edited Oct 6, 2021 by Sarfaraz 133 views
+2 votes
4 answers

Kubernetes cluster pod status EVICTED

I learned this the hard way, but ...READ MORE

Jan 22, 2019 in Kubernetes by Lyndon
26,039 views
0 votes
1 answer

How to connect local kubernetes minikube cluster to jenkins pipeline...?

Hi@Moonty, To connect your Minikube, you have to ...READ MORE

Aug 26, 2020 in Kubernetes by MD
• 95,320 points
758 views
0 votes
1 answer

How to copy file inside a Pod in Kubernetes?

Hi@akhtar, You need to use the kubectl cp command ...READ MORE

Jul 5, 2020 in Kubernetes by MD
• 95,320 points
2,947 views
0 votes
1 answer

curl: (7) Failed connect to master-node:32602; Connection refused https://github.com/kubernetes/kubernetes/issues/37199

Hi@akhtar, I guess there is a problem with ...READ MORE

Aug 27, 2020 in Kubernetes by MD
• 95,320 points
567 views
0 votes
1 answer

Getting the below error while trying to run a Jenkins pipeline for deployment on a Kubernetes cluster.

Hi@Aryan, I have checked your Jenkins file in ...READ MORE

Aug 26, 2020 in Kubernetes by MD
• 95,320 points
524 views
0 votes
1 answer

How to add ConfigMap data to a Volume in a Pod?

Hi@akhtar, When you create a ConfigMap using --from-file, the ...READ MORE

Aug 31, 2020 in Kubernetes by MD
• 95,320 points
283 views
0 votes
1 answer

error: error parsing pod_pvc.yml: error converting YAML to JSON: yaml: line 11: could not find expected ':'

Hi@akhtar, In yml code, you can't use equals ...READ MORE

May 22, 2020 in Kubernetes by MD
• 95,320 points
4,630 views
0 votes
1 answer

How to create a ConfigMap from a file?

Hi@akhtar, You can pass in the --from-file argument multiple times ...READ MORE

Aug 31, 2020 in Kubernetes by MD
• 95,320 points
232 views
0 votes
1 answer

What is ConfigMap in Kubernetes?

Hi@akhtar, A ConfigMap is an API object used ...READ MORE

Aug 31, 2020 in Kubernetes by MD
• 95,320 points
226 views
0 votes
1 answer

How to create a ConfigMap from literals?

Hi@akhtar, You can use kubectl create configmap with the --from-literal argument to ...READ MORE

Aug 31, 2020 in Kubernetes by MD
• 95,320 points
224 views
0 votes
1 answer

Error from server (BadRequest): container "mysql-con" in pod "mysql" is waiting to start: CreateContainerConfigError

Hi@akhtar, In above code, you have used secret ...READ MORE

May 22, 2020 in Kubernetes by MD
• 95,320 points
4,401 views
0 votes
1 answer

error: the server doesn't have a resource type "svc"

Hi@akhtar, You need to update your cluster details ...READ MORE

Jul 9, 2020 in Kubernetes by MD
• 95,320 points
2,149 views
0 votes
1 answer

Kubernetes Igress controller not redirecting to the application

Hi@Abdul, I think there is nothing wrong with ...READ MORE

Aug 24, 2020 in Kubernetes by MD
• 95,320 points
174 views
+5 votes
4 answers

local docker image on minikube

I know this is an old question ...READ MORE

Feb 1, 2020 in Kubernetes by anonymous
19,841 views
+1 vote
3 answers

"400 bad request-The plain http request was sent to https port" nginx

If you check your config file, it ...READ MORE

Apr 30, 2019 in Kubernetes by Vaidya
24,520 views
0 votes
1 answer

Error from server (NotFound): the server could not find the requested resource

Hi@akhatr, The following error might indicate that something ...READ MORE

Jul 16, 2020 in Kubernetes by MD
• 95,320 points
1,416 views
0 votes
1 answer

How to deploy an Elasticsearch Cluster with Helm?

Hi@akhtar, You need to download the helm repo ...READ MORE

Jul 8, 2020 in Kubernetes by MD
• 95,320 points
1,695 views
0 votes
1 answer
0 votes
1 answer

[preflight] WARNING: ebtables not found in system path

Hi@akhtar, you may be missing ebtables, ethtool, or a similar ...READ MORE

Jul 16, 2020 in Kubernetes by MD
• 95,320 points
931 views
0 votes
1 answer

Error from server (BadRequest): error when creating "secret.yml": Secret in version "v1" cannot be handled as a Secret:

Hi@akhtar, In your secret you can't give data ...READ MORE

May 22, 2020 in Kubernetes by MD
• 95,320 points
3,166 views