Questions tagged [kubernetes]

205 questions
14
votes
1 answer

Metallb vs Nginx Ingress in Kubernetes

From what I understand, Metallb is a load balancer that assigns IP address to a service, which can be exposed to the outside world. Nginx Ingress is just like normal nginx, but it resides in kubernetes and provides routing to different routes. My…
Tahnik Mustasin
  • 241
  • 2
  • 4
8
votes
5 answers

How to get the admin-user token from kubectl

New to Kubernetes I struggle to log into kubernetes dashboard. I followed: https://github.com/kubernetes/dashboard/wiki/Creating-sample-user and kubectl get clusterrolebinding admin-user -n kube-system -o yaml shows: apiVersion:…
tim
  • 81
  • 1
  • 1
  • 3
4
votes
1 answer

Minikube fails to pull any images in MacOS

Trying to run any Pod in Minikube will fail with an ErrImagePull error: $ kubectl get pods utils 0/1 ErrImagePull 0 8m57s Looking at the pod's logs, it shows that HTTP request timed out: $ kubectl logs utils shows something…
Marco Massenzio
  • 478
  • 4
  • 12
4
votes
1 answer

Disk configuration on Ubuntu server for rook-ceph in kubernetes cluster

I recently set up my Kubernetes cluster with three worker and one master node, as storage service I'm using rook-ceph. As I know the rook pods require a raw disk in order to run the osd-pods. Last time I managed to create them as well within a disk…
XH_P
  • 41
  • 4
4
votes
1 answer

Where do Docker containers and Kubernetes pods write to disk in absence of a volume?

General question about the internals of Docker and containers running in Kubernetes when using the Docker engine. Docker containers are ephemeral, meaning that if a container is destroyed, any data that was written to the internals of that container…
John Stone
  • 43
  • 3
3
votes
0 answers

Kubernetes Rancher download logs with timestamp

I am using Rancher server and on individual pods I can check the logs. Is there a way to get the logs from individual pods with the associated timestamp?
magladde
  • 141
  • 3
3
votes
3 answers

How pods communicate in Kubernetes

I have a question regarding Kubernetes networking. I know that in Docker swarm if I want to run different containers on different servers, I need to create an overlay network, and then all the containers (from all the servers) will be attached to…
user990631
  • 31
  • 1
2
votes
1 answer

can't find a newly created secret in a kubernetes cluster

First I create a namespace "foo" using this .yaml file : apiVersion: v1 kind: Namespace metadata: name: foo …
Tomas.R
  • 195
  • 1
  • 9
2
votes
1 answer

Kubernetes wont run after "make release"

I downloaded Kubernetes and hit make release. From the handbook thats all for installation. Unfortunately if I enter kuberctl linux tells me kuberctl: command not found I downloaded kubernetes into /root/kubernetes. I noticed that there is a…
Grim
  • 193
  • 1
  • 16
2
votes
0 answers

Unable to deploy custom helm chart in GKE, no pods created

I have Helm 3 and gcloud installed on my local (Windows) machine, and I am able to access my GKE clusters using kubectl command. I have gone through several tutorials and I am able to install Helm charts from public repository, but when I try to…
Arko
  • 121
  • 2
2
votes
2 answers

Intermittent network timeout in docker

I am experiencing a network/http timeout issue with a docker-in-docker app that's running in a Kubernetes cluster and I need help in figuring out what may be happening. I am running a docker container within docker (it's a build tool). In the…
Sushil
  • 141
  • 3
2
votes
0 answers

How can I create DNS A records in CoreDNS manually?

My question is how can I create DNS A records in CoreDNS manually?
Win32Sector
  • 31
  • 1
  • 4
2
votes
1 answer

How do you make minikube ssh work with kitty

If you use minikube ssh with kitty backspace and other characters do not work properly. The problem is that the terminfo is not copied across, however, it's not possible to do kitty +kitten ssh as suggested in the kitty FAQ because tic is not…
freshnewpage
  • 131
  • 4
2
votes
2 answers

Helm chart nginx-ingress controller TCP redirect http to https

My environment is hosted in AWS. I had deployed the helm chart stable/nginx-ingress in TCP mode (I need an AWS ELB in TCP mode for WebSocket. I need exactly ELB classic!), also I need to use AWS ACM certificate and my backend without it. So, it…
2
votes
0 answers

PVC is mounted as read only file system

I am using Kubernetes and i have found an issue with the PVCs. Steps to reproduce: Create resources using Helm, deployment, configMap, PVCs On the PVC, accessMode is set to ReadWriteOnce Mount PVC into at a specific path in the container image:…
1
2 3
13 14