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

What is the default value for request and limit for both CPU and memory while creating pods in kubernetes?

First As describe here Kubernetes: Pods and cpu limits when we do not specify the limit of CPU a pod can use all the CPUs of the node. Is this also apply for memory? Means does pod starts using the all memory when it required when we do not specify…
0
votes
0 answers

I have setup EFK stack with Xpack security enabled it worked great until one of the Elasticsearch pods restarted

When one of the elasticsearch pods restarts for any reason, in kibana logs I was getting error that the elastic user was not able to authenticate . I could not able to find any relevant documentation. Any help would be appreciated. my kibana…
balu
  • 11
  • 2
0
votes
0 answers

Can't connect to proxy from within the pod [ Connection reset by peer ]

I get "Connection reset by peer" every time I try to use proxy from the Kubernetes pod. Here is the log when from the curl: >>>> curl -x http://5.188.62.223:15624 -L http://google.com -vvv * Trying 5.188.62.223:15624... * Connected to…
Jack Klimov
  • 378
  • 2
  • 10
0
votes
2 answers

How to check if I have enough permission to start a cron job

I have two applications running in K8s, 1 application run as deployment, the other application run as cronjob. Suppose that this application will trigger the cronjob run in some situation. However, it works before but now it fails. I suspect may…
Micheal
  • 119
  • 2
0
votes
2 answers

store tcpdump output in another POD - kubernetes

I'm using kubernetes, and I want to create tool which have the ability to do tcpdump on some interfaces. The problem is that this tool is controlled from container container_A in POD_A which doesn't have tcpdump installed in it (and I can't change…
ms_stud
  • 361
  • 4
  • 18
0
votes
0 answers

dpdk-devbind execute failed in pod container

I am trying to bind vfio-pci driver to sriov vfs in k8s pod container,but got an error print #./dpdk-devbind.py -b vfio-pci 0000:19:02.1 Error: unbind failed for 0000:19:02.1 - Cannot open /sys/bus/pci/drivers/iavf/unbind. # echo "0000:19:02.1" >…
happy
  • 37
  • 7
0
votes
1 answer

Kubernetes Pod env with one single quotes became three after created by Kubernetes

This Kubernetes Pod object has an Env whose value is a string with one single quote '"0.0.0.0/0"'. clientSet, err := initClientSet() if err != nil { klog.ErrorS(err, "failed to init clientSet") return err } ctx :=…
zzxwill
  • 536
  • 2
  • 6
  • 16
0
votes
1 answer

Auto joining newly created VM/Servers as kubernetes node to master

Hi I am working on Google Cloud platform where I am not using GKE. Rather I am creating k8s cluster manually. Following is my setup, Total 11 server Out of these 5 servers would be static servers and don't need any scaling remaining 5 server would…
0
votes
0 answers

Kubernetes: not able to access outside service from my kubernetes pod

I have a gateway running as a pod and accessing it via NodePort service on port 3XXXX on a server. I am able to send traffic to this gateway. But I am not able to forward traffic from this gateway pod to a service that is on a different and…
0
votes
1 answer

How to use Shared Drive as multiple Kubernetes PV in Homelab

I have homelab. Window Host and Vmware workstation 1 Master Node 3 Worker Nodes All nodes have the windows drive mounted and available /external I want to run multiple tools like jenkins, nexus, nessus, etc and want to use persistent volumes in…
kgill
  • 5
  • 1
0
votes
1 answer

NodeSelector does not work for multiple node pools?

TL;DR: NodeSelector ignores nodes from another NodePool. How to distribute pods across more NodePools using a label nodeSelector or other technique? I have two nodePools like this: ... # Spot node pool resource…
rudolfdobias
  • 1,778
  • 3
  • 17
  • 40
0
votes
1 answer

kubernetes volumes not visible

I have pod definition file apiVersion: v1 kind: Pod metadata: name: ubuntu-docker-soc spec: containers: - name: ubuntu-docker-soc image: rajendarre/ubuntu-docker command: [ "/bin/sh", "-c", "--" ] args: [ "while true; do sleep 30;…
Rajendar Talatam
  • 250
  • 1
  • 12
0
votes
1 answer

How do i directly know the root parent workload that a Pod belongs to

Problem Statement: I have a Pod which belongs to a workload, now I want to know the workload that initiated that Pod. One way of doing it right now is going through the ownerReference and then going up the chain recursively finding for the root…
0
votes
1 answer

kubectl - How to retrieve values of default labels in kubernetes?

As mentioned here: "Currently namespace, pod are default labels provided in the metrics." kubectl -n mynamespace get pods --show-labels show the label values that are defined in deployment yaml for Kubernetes Goal is to use default label(namespace…
overexchange
  • 15,768
  • 30
  • 152
  • 347
0
votes
1 answer

How to list pods and nodes using AWS API?

I have a cluster in AWS EKS and 1 node group which has 1 node, how to display node and pods using aws api? I have credentials for service account, how to use these credentials in an API and get list of available nodes and pods? when I try to execute…