Skip to main content
1 vote
1 answer
29k views

How do I test a ClusterIssuer solver?

I'm attempting to deploy a Kubernetes cluster with an SSL certificate using LetsEncrypt on DigitalOcean. I followed these instructions, and everything works right up until the challenge order is ...
Nathaniel Ford's user avatar
332 votes
31 answers
396k 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
682 votes
36 answers
464k 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,791
102 votes
6 answers
189k views

Expose port in minikube [closed]

In minikube, how to expose a service using nodeport ? For example, I start a kubernetes cluster using the following command and create and expose a port like this: $ minikube start $ kubectl run ...
KarateKid's user avatar
  • 3,436
305 votes
18 answers
614k views

How can I keep a container running on Kubernetes?

I'm now trying to run a simple container with shell (/bin/bash) on a Kubernetes cluster. I thought that there was a way to keep a container running on a Docker container by using pseudo-tty and ...
springwell's user avatar
  • 3,161
181 votes
6 answers
321k views

pod has unbound PersistentVolumeClaims

When I push my deployments, for some reason, I'm getting the error on my pods: pod has unbound PersistentVolumeClaims Here are my YAML below: This is running locally, not on any cloud solution. ...
soniccool's user avatar
  • 6,068
550 votes
11 answers
325k views

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

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
229 votes
12 answers
360k views

How to set multiple commands in one yaml file with Kubernetes?

In this official document, it can run command in a yaml config file: https://kubernetes.io/docs/tasks/configure-pod-container/ apiVersion: v1 kind: Pod metadata: name: hello-world spec: # ...
scho's user avatar
  • 3,585
220 votes
25 answers
440k views

My kubernetes pods keep crashing with "CrashLoopBackOff" but I can't find any log

This is what I keep getting: [root@centos-master ~]# kubectl get pods NAME READY STATUS RESTARTS AGE nfs-server-h6nw8 1/1 Running 0 1h nfs-...
Lucifer's user avatar
  • 2,311
159 votes
13 answers
382k views

Kubernetes: how to set VolumeMount user group and file permissions

I'm running a Kubernetes cluster on AWS using kops. I've mounted an EBS volume onto a container and it is visible from my application but it's read only because my application does not run as root. ...
Mikhail Janowski's user avatar
288 votes
7 answers
364k views

Service located in another namespace

I have been trying to find a way to define a service in one namespace that links to a Pod running in another namespace. I know that containers in a Pod running in namespaceA can access serviceX ...
David McKinley's user avatar
269 votes
10 answers
402k views

Kubernetes how to make Deployment to update image

I do have deployment with single pod, with my custom docker image like: containers: - name: mycontainer image: myimage:latest During development I want to push new latest version and make ...
Andriy Kopachevskyy's user avatar
148 votes
8 answers
274k views

How to pull environment variables with Helm charts

I have my deployment.yaml file within the templates directory of Helm charts with several environment variables for the container I will be running using Helm. Now I want to be able to pull the ...
uberrebu's user avatar
  • 4,389
5 votes
1 answer
10k views

Why container memory usage is doubled in cAdvisor metrics?

I tested those queries. The first query was half the value of the second query: sum(container_memory_working_set_bytes{image!="",name=~"^k8s_.*",pod=~"$pod"}) by (pod) ...
redmagic0099's user avatar
244 votes
7 answers
356k views

How does kubectl port-forward create a connection?

kubectl exposes commands that can be used to create a Service for an application and assigns an IP address to access it from internet. As far as I understand, to access any application within ...
karthikeayan's user avatar
  • 5,042

15 30 50 per page
1
2 3 4 5
324