Questions tagged [kubernetes]

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of "labels" and "pods", it groups the containers which make up an application into logical units for easy management and discovery.

For more details, visit the official Kubernetes page.

2075 questions
5
votes
1 answer

Dynamically added Wordpress plugins on Kubernetes

If I'm running Wordpress in a Kubernetes environment, whereby the code is part of a Docker image and someone tries to add a plugin through the Wordpress admin, I don't expect that will work very well, as the plugin will only be installed on the…
quickshiftin
  • 2,025
  • 5
  • 27
  • 41
5
votes
8 answers

debug kubelet not starting

I'm using kubeadm to try to setup a dev master. I'm running into an issue where the healthcheck for kubelet is failing. I'm looking for direction on how to debug that. Running the command that's suggested for debugging (systemctl status kubelet)…
Ben
  • 3,630
  • 17
  • 62
  • 93
5
votes
3 answers

Schedule a disk snapshot on GKE

I'd like to schedule this command line to run every 12h on Google Container Engine: gcloud compute --project "qvitoo-com" disks snapshot \ "SPECIFIC_INSTANCE_ID" --zone "europe-west1-c" --snapshot-names \ "DB-staging-$(date -u…
Henrik
  • 386
  • 2
  • 4
  • 13
5
votes
0 answers

Heapster + InfluxDB on Google Container Engine (GKE)

I am trying to figure out what the best way to run Grafana/Heapster/InfluxDB on my GKE Kubernetes cluster. From what I understand I cannot modify the kube-system namespace unless I want google to overwrite these settings after a time. So changing…
Tigraine
  • 205
  • 1
  • 7
5
votes
3 answers

Resize kubernetes cluster with a different machine type?

I want to add a new node in existing kubernetes cluster, but with a different machine type. For the new node I will add label for it so that only some application will run on it. I tried the following command gcloud compute instance-groups managed…
5
votes
1 answer

enable ephemeral containers AWS EKS

I'm trying to debug a distroless POD by trying kubectl debug which uses ephemeral containers that are disabled by default in aws eks. I'm using aws eks 1.21 ✗ kubectl debug -it opentelemetry-collector-agent-6hqvf --image=busybox…
DmitrySemenov
  • 755
  • 2
  • 14
  • 27
5
votes
1 answer

How to find out PID of the container using crictl

Kubernetes is deprecating Docker as CRI engine. Now there is containerd and CRI-O, which can be used as an alternative to it. Both can be managed via crictl from cri-tools. I need some common way to find the PID of running container. Actually I need…
kvaps
  • 223
  • 3
  • 9
5
votes
3 answers

Unable to connect to minikube ingress via minikube ip

so I just got started digging into minikube after having problems with the docker-desktop here and there. I am following https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/, but I'm running into a problem. I did exactly…
nugetminer23
  • 53
  • 1
  • 4
5
votes
2 answers

How to setup Mosquitto MQTT Broker in Kubernetes

I have been trying to set up ChirpStack in a Kubernetes space, but it doesn't seem to be working for me, and I can't find any resources online that have been the solution. **chirpstack-application-server-6d6f8d699c-nlrmx 1/1 Running …
J M Smith
  • 51
  • 1
  • 3
5
votes
3 answers

Kubernetes nginx ingress: How to redirect foo.example.org to example.org?

My ingress currently looks like this: apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: ingress annotations: kubernetes.io/ingress.class: nginx cert-manager.io/cluster-issuer: letsencrypt-prod spec: tls: - hosts: …
mpen
  • 313
  • 5
  • 14
5
votes
1 answer

What is the difference between objects project and namespace in Openshift 4.x

In openshift 4.x, you have an API for project which seems to be totally similar to namespace in the sense that when you create a project there a namespace created and the other way around. I know namespace is a standard object in kubernetes and…
4
votes
2 answers

Pods stuck in 'Pending', no events being logged

I don't know where to look for hints. We have installed gitlab-runners using a helm chart in our development cluster. Most of the time this works, but in the last week or so we have experienced pods being stuck in Pending state without any further…
4
votes
1 answer

ERR_SSL_PROTOCOL_ERROR on otherwise working kubernetes ingress/service

I have a basic nginx deployment and an existing certificate issued by let's encrypt via cert-manager. I thought everything was in place to start using the certificate but I'm unable to connect on https. Connecting to the LoadBalancer IP and the…
Archonic
  • 314
  • 2
  • 5
  • 13
4
votes
2 answers

In a helm template how can i use items in 1 list to iterate over another list

i want to pre-populate a kubernetes cluster with namespaces and their respective secrets for our apps and services. For that i would like to be able to specify 2 lists, 1 list with secrets, and 1 list with namespaces. Each namespace in the list has…
rinini
  • 51
  • 1
  • 2
  • 6
4
votes
1 answer

Kubernetes Ingress whitelist-source-range for LAN

We have a kubernetes ingress on our cluster. We wanted to restrict access to it to only those accessing it from within our LAN (10.0.0.0/16). So in the ingress annotations, I have nginx.ingress.kubernetes.io/whitelist-source-range: "10.0.0.0/16". …
cclloyd
  • 583
  • 1
  • 13
  • 24