# \#service

**URL:** https://discuss.kubernetes.io/tag/service/58.md

[Latest](https://discuss.kubernetes.io/latest.md) · [Categories](https://discuss.kubernetes.io/categories.md) · [Tags](https://discuss.kubernetes.io/tags.md)

---

## [Kubernetes: How traffic flows from internet to container via Istio](https://discuss.kubernetes.io/t/kubernetes-how-traffic-flows-from-internet-to-container-via-istio/30259)

<div class="topic-metadata">

**Author:** [@jayeshmahajan](https://discuss.kubernetes.io/u/jayeshmahajan)\
**Replies:** 3\
**Last updated:** [December 9, 2025, 1:50am UTC](https://discuss.kubernetes.io/t/kubernetes-how-traffic-flows-from-internet-to-container-via-istio/30259 "2025-12-09T01:50:17Z")

</div>

Sharing from one of my recent article I wrote exploring how the traffic flow from internet to container via istio Let’s walk through the traffic flow from the internet to your application containers in GKE using Istio. …

---

## [Understanding Service Without Selector and EndpointSlice Behavior in Kubernetes](https://discuss.kubernetes.io/t/understanding-service-without-selector-and-endpointslice-behavior-in-kubernetes/31416)

<div class="topic-metadata">

**Author:** [@SrimathiS14](https://discuss.kubernetes.io/u/SrimathiS14)\
**Replies:** 8\
**Last updated:** [September 12, 2025, 11:15am UTC](https://discuss.kubernetes.io/t/understanding-service-without-selector-and-endpointslice-behavior-in-kubernetes/31416 "2025-09-12T11:15:35Z")

</div>

Hi Team, I’m new to Kubernetes and have a question regarding the behavior of Endpoints and EndpointSlice in Kubernetes. After reviewing multiple pieces of documentation, I found that every Service in Kubernetes needs an…

---

## [Using Headless Service to Integrate External Database in Kubernetes Cluster](https://discuss.kubernetes.io/t/using-headless-service-to-integrate-external-database-in-kubernetes-cluster/31382)

<div class="topic-metadata">

**Author:** [@tjccwccwcc](https://discuss.kubernetes.io/u/tjccwccwcc)\
**Replies:** 0\
**Last updated:** [January 23, 2025, 7:05am UTC](https://discuss.kubernetes.io/t/using-headless-service-to-integrate-external-database-in-kubernetes-cluster/31382 "2025-01-23T07:05:13Z")

</div>

Description: I’m working on integrating an external database into my Kubernetes cluster using a Headless Service (without selectors). I manually created the Service and Endpoints. Here’s an example: apiVersion: v1 kind…

---

## [Pod running from the same worker node can not communicate each other via Service](https://discuss.kubernetes.io/t/pod-running-from-the-same-worker-node-can-not-communicate-each-other-via-service/30774)

<div class="topic-metadata">

**Author:** [@Enix\_Yu](https://discuss.kubernetes.io/u/Enix_Yu)\
**Replies:** 9\
**Last updated:** [December 30, 2024, 8:25am UTC](https://discuss.kubernetes.io/t/pod-running-from-the-same-worker-node-can-not-communicate-each-other-via-service/30774 "2024-12-30T08:25:34Z")

</div>

I have a cluster with 2 master nodes, and 3 worker nodes, one of the worker node (named orange) system got crash and reboot, after node reboot, the pods in that nodes have some network issues: Pods from node orange CAN…

---

## [Sticky sessions (not in ingress)](https://discuss.kubernetes.io/t/sticky-sessions-not-in-ingress/30839)

<div class="topic-metadata">

**Author:** [@azgetb](https://discuss.kubernetes.io/u/azgetb)\
**Replies:** 5\
**Last updated:** [December 18, 2024, 10:27am UTC](https://discuss.kubernetes.io/t/sticky-sessions-not-in-ingress/30839 "2024-12-18T10:27:10Z")

</div>

Can I connect to specific pod of deployment without using a service (clusterIP)? We have a deployment of nginx and an another deployment of backend. And we need to realize sticky sessions. For non-kubernetes deployments…

---

## [Kubernetes On Premise Expose using External IP](https://discuss.kubernetes.io/t/kubernetes-on-premise-expose-using-external-ip/2971)

<div class="topic-metadata">

**Author:** [@Sony\_Harianto](https://discuss.kubernetes.io/u/Sony_Harianto)\
**Replies:** 2\
**Last updated:** [December 6, 2024, 8:30am UTC](https://discuss.kubernetes.io/t/kubernetes-on-premise-expose-using-external-ip/2971 "2024-12-06T08:30:26Z")

</div>

Hi, I have an issue when try to expose my service to external. Ingress controller cannot get ip and load balancer external IP is pending.

---

## [Nodeport stopped working suddenly](https://discuss.kubernetes.io/t/nodeport-stopped-working-suddenly/30361)

<div class="topic-metadata">

**Author:** [@indirajith](https://discuss.kubernetes.io/u/indirajith)\
**Replies:** 1\
**Last updated:** [November 25, 2024, 3:13am UTC](https://discuss.kubernetes.io/t/nodeport-stopped-working-suddenly/30361 "2024-11-25T03:13:57Z")

</div>

I have set up an nginx ingress controller and ingress resource to expose kubernetes dashboard. I also have another very basic test service running without any ingress controller. Both this and kubernetes dashboard with i…

---

## [Waiting for the API server to be healthy couldn't initialize a Kubernetes cluster](https://discuss.kubernetes.io/t/waiting-for-the-api-server-to-be-healthy-couldnt-initialize-a-kubernetes-cluster/29446)

<div class="topic-metadata">

**Author:** [@IVK-Lucio](https://discuss.kubernetes.io/u/IVK-Lucio)\
**Replies:** 3\
**Last updated:** [October 23, 2024, 9:44am UTC](https://discuss.kubernetes.io/t/waiting-for-the-api-server-to-be-healthy-couldnt-initialize-a-kubernetes-cluster/29446 "2024-10-23T09:44:06Z")

</div>

Asking for help? Comment out what you need so we can get more information to help you! I am setting up a kudeadm on rhel8 vms on prem using ansible playbooks, however, when i run the kube init am getting the following e…

---

## [Automation for DNS and Connection Check by using APIs at k8s layer](https://discuss.kubernetes.io/t/automation-for-dns-and-connection-check-by-using-apis-at-k8s-layer/29829)

<div class="topic-metadata">

**Author:** [@jayeshmahajan](https://discuss.kubernetes.io/u/jayeshmahajan)\
**Replies:** 1\
**Last updated:** [September 22, 2024, 7:33pm UTC](https://discuss.kubernetes.io/t/automation-for-dns-and-connection-check-by-using-apis-at-k8s-layer/29829 "2024-09-22T19:33:59Z")

</div>

In my experience here and while working in different organization due to compliance, trust, team structure the permissions to network layer devices as well as for k8s admin the permissions are restricted. Developer do no…

---

## [Pods can't communicate in Kubernetes](https://discuss.kubernetes.io/t/pods-cant-communicate-in-kubernetes/21972)

<div class="topic-metadata">

**Author:** [@HARSH\_RAJ](https://discuss.kubernetes.io/u/HARSH_RAJ)\
**Replies:** 7\
**Last updated:** [September 13, 2024, 8:25pm UTC](https://discuss.kubernetes.io/t/pods-cant-communicate-in-kubernetes/21972 "2024-09-13T20:25:16Z")

</div>

I have two pods. One pod (main) has an endpoint that queries other pod(other) to get the result. Both pods have services of type ClusterIP, and the main pod also has an ingress. The main pod is not able to connect to oth…

---

## [Node Grpc Microservice Deployment to AKS using Azure devops and ACR](https://discuss.kubernetes.io/t/node-grpc-microservice-deployment-to-aks-using-azure-devops-and-acr/28725)

<div class="topic-metadata">

**Author:** [@shuchita](https://discuss.kubernetes.io/u/shuchita)\
**Replies:** 0\
**Last updated:** [June 20, 2024, 5:20am UTC](https://discuss.kubernetes.io/t/node-grpc-microservice-deployment-to-aks-using-azure-devops-and-acr/28725 "2024-06-20T05:20:28Z")

</div>

We are deploying a microservice to AKS and we have used ACR to store the docker images. But we are not able to connect to the service. Does microservice using grpc require different configurations for deployment and serv…

---

## [Regarding redirect request from service to pod](https://discuss.kubernetes.io/t/regarding-redirect-request-from-service-to-pod/28672)

<div class="topic-metadata">

**Author:** [@shreyas\_shetty](https://discuss.kubernetes.io/u/shreyas_shetty)\
**Replies:** 1\
**Last updated:** [June 16, 2024, 3:24pm UTC](https://discuss.kubernetes.io/t/regarding-redirect-request-from-service-to-pod/28672 "2024-06-16T15:24:57Z")

</div>

I have 3 replicas for my pod whenever there is a traffic received the service might select any of the pod to redirect the request (round robin) instead of randomly selecting the pod I want to re redirect the traffic to t…

---

## [Load Balancing not working properly](https://discuss.kubernetes.io/t/load-balancing-not-working-properly/28519)

<div class="topic-metadata">

**Author:** [@random](https://discuss.kubernetes.io/u/random)\
**Replies:** 11\
**Last updated:** [June 15, 2024, 12:47am UTC](https://discuss.kubernetes.io/t/load-balancing-not-working-properly/28519 "2024-06-15T00:47:50Z")

</div>

I have a golang server running as load balancer and listening on udp ports, when i’m putting load on it ,it is directing the load only to one pod and not balancing it, and with less load creating multiple replicas, and r…

---

## [All the traffic is going to only single pod](https://discuss.kubernetes.io/t/all-the-traffic-is-going-to-only-single-pod/27901)

<div class="topic-metadata">

**Author:** [@dayakar](https://discuss.kubernetes.io/u/dayakar)\
**Replies:** 1\
**Last updated:** [April 22, 2024, 8:31pm UTC](https://discuss.kubernetes.io/t/all-the-traffic-is-going-to-only-single-pod/27901 "2024-04-22T20:31:53Z")

</div>

Query I have configured the Kubernetes service with the LoadBalancer type. I have four pods running. All the requests are routed to a single pod. Once a new connection is established, then k8s service is routing the tra…

---

## [Why don't we consider adding namespace attributes to the selector to associate cross-namespace applications?](https://discuss.kubernetes.io/t/why-dont-we-consider-adding-namespace-attributes-to-the-selector-to-associate-cross-namespace-applications/26374)

<div class="topic-metadata">

**Author:** [@njuptlzf](https://discuss.kubernetes.io/u/njuptlzf)\
**Replies:** 3\
**Last updated:** [December 13, 2023, 6:22am UTC](https://discuss.kubernetes.io/t/why-dont-we-consider-adding-namespace-attributes-to-the-selector-to-associate-cross-namespace-applications/26374 "2023-12-13T06:22:40Z")

</div>

As thought at Name+label+selector scoping for configuration composition · Issue #1698 · kubernetes/kubernetes · GitHub. My specific scenario is that I have the domain name gateway in namespace=ingress-nginx, and the ip …

---

## [One service manages multiple deployment instances. Service uses nodePort type. Upstream traffic is distributed unevenly through different deployment through nodePort](https://discuss.kubernetes.io/t/one-service-manages-multiple-deployment-instances-service-uses-nodeport-type-upstream-traffic-is-distributed-unevenly-through-different-deployment-through-nodeport/26176)

<div class="topic-metadata">

**Author:** [@ljian6530](https://discuss.kubernetes.io/u/ljian6530)\
**Replies:** 0\
**Last updated:** [November 23, 2023, 1:28am UTC](https://discuss.kubernetes.io/t/one-service-manages-multiple-deployment-instances-service-uses-nodeport-type-upstream-traffic-is-distributed-unevenly-through-different-deployment-through-nodeport/26176 "2023-11-23T01:28:34Z")

</div>

Asking for help? Comment out what you need so we can get more information to help you! Cluster information: Kubernetes version: v1.17.16 Cloud being used: (put bare-metal if not on a public cloud) Installation method:…

---

## [How does a service choose which pod to send request to? The inner workings](https://discuss.kubernetes.io/t/how-does-a-service-choose-which-pod-to-send-request-to-the-inner-workings/25310)

<div class="topic-metadata">

**Author:** [@jssteeele89](https://discuss.kubernetes.io/u/jssteeele89)\
**Replies:** 0\
**Last updated:** [September 4, 2023, 8:26pm UTC](https://discuss.kubernetes.io/t/how-does-a-service-choose-which-pod-to-send-request-to-the-inner-workings/25310 "2023-09-04T20:26:21Z")

</div>

How does a service choose which pod to send request to? The inner workings. I understand what a Cluster IP service is and everything, I just don’t understand the ‘behind the scenes’ and routing. Can someone PLEASE expla…

---

## [Warning : port is not allocated](https://discuss.kubernetes.io/t/warning-port-is-not-allocated/25227)

<div class="topic-metadata">

**Author:** [@choyoung\_kim](https://discuss.kubernetes.io/u/choyoung_kim)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 2:42am UTC](https://discuss.kubernetes.io/t/warning-port-is-not-allocated/25227 "2023-08-25T02:42:40Z")

</div>

Kubernetes version: Installation method: kubeadm Host OS: RHEL CNI and version: Flannel Hi I’m using NodePort Service on Pod and the configuration is like below port : 8006 targetPort :8006 nodePort : 8006 I kn…

---

## [Is a Pod can running multi different app containers?](https://discuss.kubernetes.io/t/is-a-pod-can-running-multi-different-app-containers/17740)

<div class="topic-metadata">

**Author:** [@markdocker07](https://discuss.kubernetes.io/u/markdocker07)\
**Replies:** 2\
**Last updated:** [August 21, 2023, 3:59am UTC](https://discuss.kubernetes.io/t/is-a-pod-can-running-multi-different-app-containers/17740 "2023-08-21T03:59:01Z")

</div>

I am watching a video of service. I see the Pod have several containers running, and use the different ports. whether a Pod can expose multi port for different app containers?

---

## [How to set hostname for Service spec.externalIPs](https://discuss.kubernetes.io/t/how-to-set-hostname-for-service-spec-externalips/25085)

<div class="topic-metadata">

**Author:** [@ncecsc](https://discuss.kubernetes.io/u/ncecsc)\
**Replies:** 7\
**Last updated:** [August 16, 2023, 5:24pm UTC](https://discuss.kubernetes.io/t/how-to-set-hostname-for-service-spec-externalips/25085 "2023-08-16T17:24:47Z")

</div>

Cluster information: Kubernetes version: v1.26.0 Cloud being used: bare-metal Installation method: k8s Host OS: RHEL9 CNI and version: Calico v3.26.1 CRI and version: containerd v1.6.20 I’m designing a bare-metal c…

---

## [Why I should use Ingress instead of simple reverse proxy?](https://discuss.kubernetes.io/t/why-i-should-use-ingress-instead-of-simple-reverse-proxy/24997)

<div class="topic-metadata">

**Author:** [@MaxDXDX](https://discuss.kubernetes.io/u/MaxDXDX)\
**Replies:** 1\
**Last updated:** [August 4, 2023, 8:10pm UTC](https://discuss.kubernetes.io/t/why-i-should-use-ingress-instead-of-simple-reverse-proxy/24997 "2023-08-04T20:10:00Z")

</div>

Kubernetes version: 1.27 (on Bare Metal) I’m migrating our small infrastructure from the “docker compose” approach to K8s. I launched the Cluster and deployed Pods with Services. And now it’s time to make proxy things f…

---

## [Operator managed service type change](https://discuss.kubernetes.io/t/operator-managed-service-type-change/24659)

<div class="topic-metadata">

**Author:** [@Vijay\_Chandra\_007](https://discuss.kubernetes.io/u/Vijay_Chandra_007)\
**Replies:** 0\
**Last updated:** [June 30, 2023, 9:28am UTC](https://discuss.kubernetes.io/t/operator-managed-service-type-change/24659 "2023-06-30T09:28:01Z")

</div>

Kubernetes version: v1.26.0 Installation method: on-premises Host OS: Centos 7 CNI and version: v3.23.3 CRI and version: Calico Hi Team, I have Deployed Keycloak operator in k8s, after that deployed keycloak instanc…

---

## [Not able to access public IP created for my load balancer service](https://discuss.kubernetes.io/t/not-able-to-access-public-ip-created-for-my-load-balancer-service/24449)

<div class="topic-metadata">

**Author:** [@nagaraj.mmu](https://discuss.kubernetes.io/u/nagaraj.mmu)\
**Replies:** 0\
**Last updated:** [June 6, 2023, 7:52pm UTC](https://discuss.kubernetes.io/t/not-able-to-access-public-ip-created-for-my-load-balancer-service/24449 "2023-06-06T19:52:54Z")

</div>

Hi I am using Kubernetes with Azure cloud, I have once application deployed along with service and ingress configured in helm file, Deployment is working fine, when I access pod IP and port, application is working fine…

---

## [Is service endpoint deregistered synchronously when my pod is terminating? Just similar with other like nacos](https://discuss.kubernetes.io/t/is-service-endpoint-deregistered-synchronously-when-my-pod-is-terminating-just-similar-with-other-like-nacos/24229)

<div class="topic-metadata">

**Author:** [@675987273](https://discuss.kubernetes.io/u/675987273)\
**Replies:** 2\
**Last updated:** [May 17, 2023, 2:37pm UTC](https://discuss.kubernetes.io/t/is-service-endpoint-deregistered-synchronously-when-my-pod-is-terminating-just-similar-with-other-like-nacos/24229 "2023-05-17T14:37:10Z")

</div>

As an istio developer, we need to build a lot of enhance to keep service stable when pods down. Because we got a broken connect some time. I hope that K8s could cover that job like immediately deregistering when pods dow…

---

## [Why kubernetes services do not support matchExpressions?](https://discuss.kubernetes.io/t/why-kubernetes-services-do-not-support-matchexpressions/23971)

<div class="topic-metadata">

**Author:** [@Aref\_Riant](https://discuss.kubernetes.io/u/Aref_Riant)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 2:51pm UTC](https://discuss.kubernetes.io/t/why-kubernetes-services-do-not-support-matchexpressions/23971 "2023-04-24T14:51:00Z")

</div>

I already asked this on Stack Overflow: https://stackoverflow.com/questions/76089571/why-kubernetes-services-do-not-support-matchexpressions In Kuberntes, resources, such as Job, Deployment, ReplicaSet, and DaemonSet,…

---

## [Service does not distribute traffic in a balanced manner](https://discuss.kubernetes.io/t/service-does-not-distribute-traffic-in-a-balanced-manner/23975)

<div class="topic-metadata">

**Author:** [@tntruong](https://discuss.kubernetes.io/u/tntruong)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 2:48pm UTC](https://discuss.kubernetes.io/t/service-does-not-distribute-traffic-in-a-balanced-manner/23975 "2023-04-24T14:48:20Z")

</div>

My K8S cluster has 14 Fluentd pods (DaemonSet) and 1 Fluentd service (NodePort). That means there are 14 Fluentd endpoints for processing inputs. Also, there are about 100 pods using the Fluentd service. I’ve found tha…

---

## [Service: label mapping does not work](https://discuss.kubernetes.io/t/service-label-mapping-does-not-work/23939)

<div class="topic-metadata">

**Author:** [@mag1](https://discuss.kubernetes.io/u/mag1)\
**Replies:** 4\
**Last updated:** [April 20, 2023, 3:05pm UTC](https://discuss.kubernetes.io/t/service-label-mapping-does-not-work/23939 "2023-04-20T15:05:01Z")

</div>

Hi all, I’m running: Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.1", GitCommit:"4c9411232e10168d7b050c49a1b59f6df9d7ea4b", GitTreeState:"clean", BuildDate:"2023-04-14T13:21:19Z", GoVersion:"go…

---

## [Nodeport Question](https://discuss.kubernetes.io/t/nodeport-question/23533)

<div class="topic-metadata">

**Author:** [@mag1](https://discuss.kubernetes.io/u/mag1)\
**Replies:** 0\
**Last updated:** [March 20, 2023, 8:08am UTC](https://discuss.kubernetes.io/t/nodeport-question/23533 "2023-03-20T08:08:43Z")

</div>

I run three VM’s with Ubuntu 22.04 and Kubernetes: v1.26.2 I’ve created a nginx service as follow: apiVersion: v1 kind: Service metadata: creationTimestamp: "2023-03-13T12:42:03Z" labels: app: nginx name: ngi…

---

## [Selector does not match template labels](https://discuss.kubernetes.io/t/selector-does-not-match-template-labels/23393)

<div class="topic-metadata">

**Author:** [@mag1](https://discuss.kubernetes.io/u/mag1)\
**Replies:** 3\
**Last updated:** [March 13, 2023, 9:29am UTC](https://discuss.kubernetes.io/t/selector-does-not-match-template-labels/23393 "2023-03-13T09:29:40Z")

</div>

Hi all I’m running a k8s-cluster with one CN and two Workers: Client Version: version.Info{Major:“1”, Minor:“26”, GitVersion:“v1.26.2”, GitCommit:“fc04e732bb3e7198d2fa44efa5457c7c6f8c0f5b”, GitTreeState:“clean”, BuildD…

---

## [How do I expose my Web API to the public net?](https://discuss.kubernetes.io/t/how-do-i-expose-my-web-api-to-the-public-net/23106)

<div class="topic-metadata">

**Author:** [@AdilRahman](https://discuss.kubernetes.io/u/AdilRahman)\
**Replies:** 1\
**Last updated:** [February 28, 2023, 3:25pm UTC](https://discuss.kubernetes.io/t/how-do-i-expose-my-web-api-to-the-public-net/23106 "2023-02-28T15:25:42Z")

</div>

Hello Folks, I am trying to host a WebApi on K8s using deployments and service. I want my API to be publicly accessible from the public net using the Public IP of the node. I have this cluster on a Cloud provider’s VM. …

[Next page](https://discuss.kubernetes.io/tag/service/58.md?match_all_tags=true&page=1&tags%5B%5D=service)
