Questions tagged [kubernetes-service]

429 questions
-1
votes
1 answer

Keep same loadbalancer when redeploying pods

I deployed a web server on a pod and created a load balancing service like this kubectl expose deployment api --port=80 --target-port=8080 --name api-LB --type=LoadBalancer However when I re-deployed the pod, let's say with some updates, it seems…
Ioan Kats
  • 523
  • 1
  • 7
  • 19
-1
votes
1 answer

Kubernetes Best Practices - Exposing arbitrary number of pods to the internet

My application requires an arbitrary number of pods to expose their services to the internet. I'm not sure what the best approach is to allow discoverability of these pods from an external server (let's call it the client). The workflow consists of…
-1
votes
3 answers

Monitoring - Kubernetes Cluster

Let’s say I just got a Kubernetes cluster provisioned and every second hour I want to check that all my cluster services are healthy and running as expected. Is there a framework/configuration that supports testing for kubernetes cluster and…
-1
votes
1 answer

Kubernetes LoadBalancer service with hostNetwork binding

I have a query regarding the usage of a LoadBalancer service with hostNetwork If we set hostNetwork: true, then the pods bind on the host network - to which the external services connect to. If we need only one instance of the pod running - then I…
Chillax
  • 4,418
  • 21
  • 56
  • 91
-1
votes
2 answers

How to create a kubernetes service for a container without a port

I am bringing an application which consists of different components to Kubernetes. Now I faced with some components that their compose file doesn't have any port and I don't know how to create a service for them. I checked those components and their…
AVarf
  • 4,481
  • 9
  • 47
  • 74
-2
votes
2 answers

Why is the service endpoint empty? Is it a bug in the official tutorial?

I am trying to learn k8s and following along in the official tutorials https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-interactive/ Why is the endpoint empty? The tutorial says that We have now a running Service called…
likejudo
  • 3,396
  • 6
  • 52
  • 107
-2
votes
1 answer

How do I route/forward RESTful localhost calls from one specific replica set to another, without globally exposing a port?

Basically, what I am trying to do is imagine you have one replica set. This replica set called A contain pods that 'post' to localhost:9000, now I have another replica set B whose pods listen to localhost:8080. I want to divert the calls made to…
-2
votes
2 answers

Expose every replica pods in a deployment/replicaset with nodeport service

I have 2 bare metal worker nodes and a replicaset with 10 pod replicas. How can I expose each pod using nodeport?
rraj gautam
  • 125
  • 1
  • 1
  • 10
-4
votes
1 answer

Different Pods using same socket

I need to have two kubernetes pods podA and podB which are used for receiving inTraffic and sending outTraffic respectively. The end customer who is a client uses a single socket for both sending and receiving traffic from my application (which has…
1 2 3
28
29