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
0
votes
0 answers

Clean install of Kubernetes on Raspberry Pi doesn't work

I'm trying to do a clean install of Kubernetes 1.23.x on a cluster of four Raspberry Pis, each running the x64 version of Raspberry Pi OS, however I am running into a major snag as soon as I try and run kubeadm init on the master node (before even…
soapergem
  • 719
  • 4
  • 13
  • 29
0
votes
1 answer

Pod running kubectl trying to reach external cluster

I am using a pod (image bitnami/kubectl) in a kubernetes cluster (clusterA) but kubeconfig is set to point to another cluster (clusterB). Using on premises kubernetes 1.21.7 (on VMs) installed via kubeadm. kubeconfig used: apiVersion: v1 kind:…
brgsousa
  • 215
  • 1
  • 4
  • 11
0
votes
0 answers

AWS ssn "PutParameter" not authorized

I am trying to set a JWT secret in AWS's "parameter store" but appear to be unauthorized to do so. I am using a lab account so there would be no way for me to get authorization, but I have been assured that extra authorization isn't needed. When I…
0
votes
1 answer

how do you check load balancer method "algorithm" for a nginx ingress controller?

I do have an ingress controller load balancer in my Kubernetes Cluster, how do I know if my load balancer run which algorithm? and what happens if my load balancer is not working or the algorithm is not working properly. Nb: install ingress…
newcomers
  • 1
  • 3
0
votes
1 answer

ClusterRoleBinding does not apply

rbac.yaml: apiVersion: v1 kind: ServiceAccount metadata: name: my-account namespace: default --- apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: namespace: default name: my-role rules: - apiGroups: [""] resources:…
guettli
  • 3,113
  • 14
  • 59
  • 110
0
votes
1 answer

kubernetes duplicate pod ip addresses - are pod ips supposed to be unique cluster wide?

I read this in the doc: Every Pod gets its own IP address ... pods on a node can communicate with all pods on all nodes without NAT. Should I read that as "every pod gets its own unique cluster wide IP address"? I assumed this was the case, but…
spinkus
  • 158
  • 1
  • 15
0
votes
0 answers

Load balancer algorithm of bitnami nginx ingress

I do install the ingress controller via helm and the Nginx ingress controller from bitnami, I pretty sure the bitnami use the kubernetes/ingress-nginx from here https://github.com/kubernetes/ingress-nginx i read an article that said that the default…
0
votes
1 answer

RabbitMQ quorum queues - have node automatically rejoin

I am exploring RabbitMQ quorum queues to improve HA for some services in a Kubernetes cluster. As I am reading, they are designed with data safety in mind. However, the chapter "Managing Replicas" states: Replicas of a quorum queue are explicitly…
matpen
  • 387
  • 2
  • 4
  • 10
0
votes
2 answers

Connecting NodePort in Minikube

I created a Service and a Deployment but I am unable to access the service with minikube service --url accounts-service or minikube service accounts-service. While the second one opens the browser but never connects, the first one just remains in my…
King
  • 101
  • 1
0
votes
1 answer

K8s nodeLocalDns pod times out connecting to coreDns after upgrading base os to ubuntu20.04 ConnectX-4 card

Team, I have Mellanox Nic ConnectX-4 on a k8s worker node and it hosts a nodeLocal dns pod on it. The nodeLocalDns pod is timing out when trying to connect to coreDns service on k8s cluster. Same works on Ubuntu18. Versions failing with k8s v1.13.5…
AhmFM
  • 109
  • 3
0
votes
0 answers

Reset kubeadmin password in OKD 4.7

I tried to find password in .openshift_install.log file and I found something but it didn't work. I tried to oc get secrets kubeadmin -n kube-system -ojsonpath='{.data.kubeadmin}' | base64 --decode && echo "" and it didn't work neither. How can I…
0
votes
0 answers

Secure kubernetes monitoring in Prometheus using service discovery

I'm currently using Prometheus to scrape metrics from a /metrics endpoint on my pods. In order to identify the pods I'm using kubernetes service discovery which discovers the pods and targets them through their internal IP. The problem is I want to…
0
votes
1 answer

How do you mount a k8s service account token as an enviromnet variable?

When you associate a service account to a pod, it gets mounted in the /var/run/secrets/kubernetes.io/ folder, but I don't see a way to add the secret as an environment variable. The issue is that setting up a reference in the pod to a service…
Matt
  • 121
  • 5
0
votes
1 answer

How do I write a maintainable Terraform template

for my company I have been tasked with creating a standard configuration and template for an (EKS) Kubernetes cluster in Terraform that can be deployed using GitLab CI/CD. The deployment and configuration has been done for a while, but I have been…
0
votes
1 answer

Kubernetes volumeMount: can create/delete but can't read/write files

We've faced weird issue with one of volumeMounts of one of our deployments. Here are relevant manifests' snippets: apiVersion: v1 kind: PersistentVolumeClaim metadata: name: xxx-media-pv-resource-claim spec: accessModes: - ReadWriteMany …
1 2 3
99
100