Skip to main content

All Questions

Tagged with
658 votes
34 answers
432k views

How can I use local Docker images with Minikube?

I have several Docker images that I want to use with Minikube. I don't want to first have to upload and then download the same image instead of just using the local image directly. How do I do this? ...
Kapil Gupta's user avatar
  • 7,531
549 votes
27 answers
591k views

Pods stuck in Terminating status [closed]

I tried to delete a ReplicationController with 12 pods and I could see that some of the pods are stuck in Terminating status. My Kubernetes cluster consists of one control plane node and three ...
Dimuthu's user avatar
  • 8,336
539 votes
11 answers
312k views

Difference between ClusterIP, NodePort and LoadBalancer service types in Kubernetes?

Question 1 - I'm reading the documentation and I'm slightly confused with the wording. It says: ClusterIP: Exposes the service on a cluster-internal IP. Choosing this value makes the service only ...
AmazingBergkamp's user avatar
475 votes
11 answers
175k views

kubectl apply vs kubectl create?

What I understood by the documentation is that: kubectl create Creates a new k8s resource in the cluster kubectl replace Updates a resource in the live cluster kubectl apply If I want to do ...
Suresh Vishnoi's user avatar
459 votes
13 answers
171k views

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 internet to the services running in the cluster....
arunkjn's user avatar
  • 5,841
448 votes
5 answers
144k views

What's the difference between Docker Compose and Kubernetes?

While diving into Docker, Google Cloud and Kubernetes, and without clearly understanding all three of them yet, it seems to me these products are overlapping, yet they're not compatible. For example, ...
426 votes
7 answers
119k views

What's the difference between Apache's Mesos and Google's Kubernetes

What exactly is the difference between Apache's Mesos and Google's Kubernetes? I understand both are server cluster management software. Can anyone elaborate where the main differences are - when ...
binaryanomaly's user avatar
403 votes
11 answers
134k views

What is the difference between a pod and a deployment?

I have been creating pods with type:deployment but I see that some documentation uses type:pod, more specifically the documentation for multi-container pods: apiVersion: v1 kind: Pod metadata: name:...
Bjorn's user avatar
  • 71k
375 votes
21 answers
541k views

Command to delete all pods in all kubernetes namespaces

Upon looking at the docs, there is an API call to delete a single pod, but is there a way to delete all pods in all namespaces?
user_mda's user avatar
  • 19k
345 votes
21 answers
392k views

How do I force Kubernetes to re-pull an image?

I have the following replication controller in Kubernetes on GKE: apiVersion: v1 kind: ReplicationController metadata: name: myapp labels: app: myapp spec: replicas: 2 selector: app: ...
Torsten Bronger's user avatar
339 votes
1 answer
70k views

Where does the convention of using /healthz for application health checks come from?

In the Kubernetes/Docker ecosystem there is a convention of using /healthz as a health-check endpoint for applications. Where does the name 'healthz' come from, and are there any particular semantics ...
Andy Hume's user avatar
  • 41.3k
323 votes
32 answers
371k views

Kubernetes service external ip pending

I am trying to deploy nginx on kubernetes, kubernetes version is v1.5.2, I have deployed nginx with 3 replica, YAML file is below, apiVersion: extensions/v1beta1 kind: Deployment metadata: name: ...
Pankaj Jackson's user avatar
322 votes
21 answers
337k views

How do I get logs from all pods of a Kubernetes replication controller?

Running kubectl logs shows me the stderr/stdout of one Kubernetes container. How can I get the aggregated stderr/stdout of a set of pods, preferably those created by a certain replication ...
Torsten Bronger's user avatar
321 votes
17 answers
157k views

Difference between targetPort and port in Kubernetes Service definition

A Kubernetes Service can have a targetPort and port in the service definition: kind: Service apiVersion: v1 metadata: name: my-service spec: selector: app: MyApp ports: - protocol: TCP ...
Mr.DevEng's user avatar
  • 2,699
316 votes
9 answers
231k views

How can I trigger a Kubernetes Scheduled Job manually?

I've created a Kubernetes Scheduled Job, which runs twice a day according to its schedule. However, I would like to trigger it manually for testing purposes. How can I do this?
aknuds1's user avatar
  • 67.4k

15 30 50 per page
1
2 3 4 5
4021