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
2 answers

Why Kubernetes Services are created before Deployment/Pods?

If I have to deploy a workload on Kubernetes and also have to expose it as a service, I have to create a Deployment/Pod and a Service. If the Kubernetes offering is from Cloud and we are creating a LoadBalancer service, it makes sense to create the…
0
votes
0 answers

Kubernetes: Fetch system IP:PORT on which our pod is running

We have a setup where a single pod is running inside a node in our machine. In normal Java application when we use the java.net.InetAddress.getLocalHost().getHostAddress(), it would give the system hostAddress where the server is running. But if the…
Shreyas Holla P
  • 145
  • 2
  • 14
0
votes
1 answer

Kubernetes cluster become unresponsive after one node goes down

We did setup of k8s cluster on datacenter with 2 master and 5 worker node by using kubeadm for initialization of cluster .Added Cluster config for reference. kind: InitConfiguration apiVersion:…
0
votes
1 answer

kubernetes queued worker with autoscaling

I have a job queue in sqs/rabbitMQ that has messages arriving infrequently Each time a message arrives in the queue I would like to spin up a new pod in my kubernetes cluster All pods will have the exact same configuration, they just perform…
Arran Duff
  • 1,214
  • 2
  • 11
  • 23
0
votes
0 answers

Intercluster Communication in Kubernetes

I have 2 clusters. Cluster A which runs my main pods. Using ClusterIP as Service type. Cluster B which runs additional pods. Also using ClusterIP as Service Type I was wondering if there is anyway we can establish communication between one of the…
GCPDB
  • 11
  • 3
0
votes
1 answer

Deploying stateful application as master slave (replicas) in kubernetes

I want to deploy my application (stateful) in kubernetes as 3 replicas just for high availability. Therefore only one instance of my application should get all the request. Other replicas are just for HA (in case master is down). I know things like…
Rahul
  • 326
  • 2
  • 10
0
votes
1 answer

GKE | Statefulset gets deleted along with a service when deployed in the kube-system namespace

I have a GKE cluster of 5 nodes in the same zone. I'm trying to deploy an Elasticsearch statefulset of 3 nodes on the kube-system namespace, but every time I do the statefulset gets deleted and the pods get into the Terminating state immediately…
0
votes
1 answer

How to assign VPC subnet(GCP) to kubernetes cluster?

I have VPC setup on Google Cloud which has 192.0.0.0/24 as subnet in which I am trying to setup k8s cluster for following servers , VM : VM NAME : Internal IP VM 1 : k8s-master : 192.24.1.4 VM 2 : my-machine-1 : 192.24.1.1 VM 3 :…
0
votes
1 answer

what is Minimum Viable Pod (MVP)

What is Minimum Viable Pod (MVP) in kubernetes? i've tried to google it but nothing useful was there... i've heard about the MVP consept when i saw this yaml file and couldn't get what is MVP and why this pod is a MVP!
Ali
  • 922
  • 1
  • 9
  • 24
0
votes
0 answers

Kubernetes pods only responding every N calls

I've "successfully" deployed a REST API in AKS. The idea is to have up to 50 replicas of it. However, the REST API responds depending on how many replicas there are. For example, if I have 2 replicas, I get a response of the REST API every two…
0
votes
1 answer

Get Externally accessible IP address of Pod in Kubernetes

I need to create two instances using the same Ubuntu Image in Kubernetes. Each instance used two ports i.e. 8080 and 9090. How can I access these two ports externally? Can we use the IP address of the worker in this case?
0
votes
1 answer

Why is Kubernetes pod failing to start?

I was trying to test one scenario where pod will mount a volume and it will try to write one file to it. Below mentioned yaml works fine when I exclude command and args. However with command and args it fails with "crashloopbackoff". The describe…
harsh
  • 3
  • 2
0
votes
0 answers

http: unexpected EOF reading trailer while reading large files

I am trying to read uploaded files from Go endpoint. func UploadFile(w http.ResponseWriter, r *http.Request) { file, header, err := r.FormFile("file") if err != nil { logger.LLogger.Errorf(err.Error()) return } } The…
0
votes
1 answer

How to measure throttling due to cpu.shares in Kubernetes

Throttling stats are available in /sys/fs/cgroup/cpu/cpu.stat As per documentation of k8s CPU requests, the number is translated into a value that goes into /sys/fs/cgroup/cpu/cpu.shares If container A on a node has cpu.shares value twice that…
Sameer Naik
  • 1,326
  • 1
  • 13
  • 28
0
votes
0 answers

How to enable ports on post deploy stage Kubernates

We are trying to deploy 2 images in post deploy 1 is our app and second kafka(on postdeply job) - name: MYNAME - job: name: "MYIMAGE" action: create async: true …
Vipul Pandey
  • 1,507
  • 11
  • 20