Questions tagged [kubernetes-pod]

Kubernetes-pod refers to Pods, the smallest deployable units of computing that can be created and managed in the cluster management software Kubernetes. Use this tag for questions related to this group of containers.

Kubernetes-pod refers to Pods, the smallest deployable units of computing that can be created and managed in the cluster management software Kubernetes. Use this tag for questions related to this group of containers.

2142 questions
0
votes
1 answer

Accessing pod port via kubernetes API proxy seems to no longer work in GKE

A few months back I was able to access a port on my pod using the url /api/v1/namespaces/namespace/pods/podname:port/proxy/path/ But after upgrading GKE I consistently get a 400 Bad Request with no further explanation. The same approach still works…
0
votes
1 answer

Getting Connection refused while trying to access service from kubernetes pod

I am new to kubernetes and I am trying to learn it by deploying a simple node server using AWS EKS. (kubernetes is alreay setup to talk to the created AWS EKS cluster) Here is code for my simple node file (server.js) const express =…
Ankit Arora
  • 110
  • 3
  • 16
0
votes
0 answers

K8s pod memory limitation aws

I had a pod with a request memory to 2 and a limit memory up to 3.5 We get some massive request rate and the pod stays up with 7.5 memory usage. How we can explain that?
0
votes
3 answers

Accessing environment variables from a pod

I wrote golang program which fetches values from environment variable set in my system using export var name = somevalue. cloudType = os.Getenv("CLOUD_TYPE") clusterRegion = os.Getenv("CLUSTER_REGION") clusterType =…
0
votes
0 answers

How do I get the latest pods using for labels using fabric8 kubernetes client after re-creating/replacing the deployment?

I keep getting the older pods while listing pods (pods in older deployment) for a deployment after recreating the deployment (either by replace or delete and create), using this code: List otelCollectorPods = client .pods() …
lprakashv
  • 1,121
  • 10
  • 19
0
votes
0 answers

Why deployment is removed from kubernetes cluster?

Recently I've developed a new application, a Kubernetes controller that runs in my cluster. Its purpose is to automatically refresh all the secrets in the cluster, and the way it performs this task is by retrieving the list of namespaces in the…
beni0888
  • 1,050
  • 1
  • 12
  • 40
0
votes
1 answer

How to get install path in YAML

I installed keycloak in Redhat openshift and the yaml file link is below: https://raw.githubusercontent.com/keycloak/keycloak-quickstarts/latest/openshift-examples/keycloak.yaml what I am confused is that I can not find the full path where the…
Matt
  • 115
  • 1
  • 11
0
votes
0 answers

CrashLoopBackOff on my pods when trying to write in my volume

I'm running minikube on my old macbook and i'm trying to get a irc server up. I have mounted a folder from my host into my node: minikube start --mount --mount-string="/Users/admin/Documents/ircd/conf:/ircd/conf" So, my local folder…
emboole
  • 501
  • 6
  • 23
0
votes
1 answer

SPRING_CLOUD_CONFIG_URI setting in Kubernetes

I have a simple setup of 2 containers, one for configuration and one for gateway. Below is the definitions of service and deployments. They get created fine but the gateway container isn't able to connect to the http://configuration:8888 and throws…
0
votes
1 answer

Kubernetes: creating permanent folders in pod

I have a pod in which I'm running a image. The pod is not mine but belongs to the company I work for. Each time I mount a new image in the pod it has access to some predefined "Permanent" folders. When I use the edit deployment command I see this: …
Mr.Gomer
  • 501
  • 5
  • 14
0
votes
1 answer

Scheduled restarts on kubernetes using terraform

I run a kubernetes cluster on aws managed by terraform. I'd like to automatically restart the pods in the cluster at some regular interval, maybe weekly. Since the entire cluster is managed by terraform, I'd like to run the auto restart command…
theahura
  • 353
  • 2
  • 19
0
votes
2 answers

How to map the guids under /var/lib/kubelet/pods to the actual pods

I was trying to debug some mount problems and the mount logs led me to paths under /var/lib/kubelet/pods, i.e /var/lib/kubelet/pods/f6affad1-941d-4df1-a0b7-38e3f2ab99d5/volumes/kubernetes.io~nfs/my-pv-e0dbe341a6fe475c9029fb372e How can I map the…
Mugen
  • 8,301
  • 10
  • 62
  • 140
0
votes
1 answer

How to increase load on stateful application in kubernetes cluster using a script

I have implemented horizontal pod autoscaler for my stateful application. How can I increase the load on this application do that my CPU utilisation goes up and pods are autoscaled
0
votes
2 answers

Why the pods running with a service account with needed permissions cannot list pods?

I have created a service account "serviceacc" in a namespace xyz and gave it needed permissions. Yet it could not list pods. Here are the steps I followed. $kubectl create namespace xyz $kubectl apply -f objects.yaml Where content of…
Nipun Talukdar
  • 4,975
  • 6
  • 30
  • 42
0
votes
0 answers

Accessing application running inside pod in browser

I want to access an application running inside pod from the browser. Yaml file of pod apiVersion: v1 kind: Pod metadata: name: app-pod6 labels: name: app-pod app: containerization spec: containers: - name: appimage1 image:…
Azkaban
  • 25
  • 7