Category "kubectl"

did you specify the right host or port? error on Kubernetes

I have followed the helloword tutorial on http://kubernetes.io/docs/hellonode/. When I run: kubectl run hello-node --image=gcr.io/PROJECT_ID/hello-node:v1 --por

virtctl works when executed via command line but not from php exec()

I am trying to run kubectl virt commands to manage my virtual machine via PHP. First, I log in to my server with phpseclib with the following code: $ssh = new S

Kubernetes sort pods by age

I can sort my Kubernetes pods by name using: kubectl get pods --sort-by=.metadata.name How can I sort them (or other resoures) by age using kubectl?

no endpoints available for service \"kubernetes-dashboard\"

I'm trying to follow GitHub - kubernetes/dashboard: General-purpose web UI for Kubernetes clusters. deploy/access: # export KUBECONFIG=/etc/kubernetes/admin.c

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

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

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

"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

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

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