Questions tagged [kubernetes-service]
429 questions
0
votes
1 answer
unable to access Azure kubernetes load balancer external ip from internet
i have created a K8s Cluster with multinode pool since i need to work with windows containers. the windows node pool has 1 node. i have created the deployment and the service with type Load Balancer which has got the external IP upon deployment. but…

RAnand
- 89
- 2
- 14
0
votes
2 answers
Kubernetes get ingress tls.hosts from pods
Using Kubernetes is there a way from other pods to get the ingress.spec.tls.hosts value without using kubectl (DNS, ENVVAR, OTHER)?
I know I can do:
# in other pod
dig +short my-app.default.svc.cluster.local
172.20.203.19
echo…

Justin
- 42,716
- 77
- 201
- 296
0
votes
2 answers
Can't to talk with other pods using Kubernetes Service
How I understand that I could be able to talk with other pods from a specific pod by sending from within the pod an HTTP request with the fully qualified domain name of the service (FQDN).
The system runs locally with minikube.
The service's YML -…

nirkov
- 697
- 10
- 25
0
votes
0 answers
service-to-pod communication is broken in Kubernetes
I have an in house 5 node cluster running on bare-metal and I am using Calico. The cluster was working for 22 days but suddenly it stopped working. After investigating the problem I found out that the service to pod communication is broken while all…

AVarf
- 4,481
- 9
- 47
- 74
0
votes
3 answers
Kubernetes check readinessProbe at Service/Deployment level
Is there a way to request the status of a readinessProbe by using a service name linked to a deployment ? In an initContainer for example ?
Imagine we have a deployment X, using a readinessProbe, a service linked to it so we can request for example…

Borhink
- 307
- 1
- 3
- 15
0
votes
0 answers
Unable to connect to Zalenium service
Unable to connect to Zalenium service from my Kubernetes cluster:
I am trying to get the external IP of the zalenium service that I have created via my Kubernetes cluster. I am getting the following :
$ kubectl get services --namespace zalenium
NAME…

Sayom
- 147
- 1
- 2
- 7
0
votes
1 answer
Kubernetes: How to link to internal services with different namespaces?
I am trying to link together two Kubernetes Services located in different namespaces like this. Linking them over DNS, with type ExternalName.
In namespace called "db" I wish to have a Deployment with a database. To be able to have 1 database that…

Espen Finnesand
- 475
- 7
- 22
0
votes
1 answer
Multiple services for same app:port in kubernetes
I am experimenting with a service discovery scheme on Kubernetes. I have 20+ GRPC services that can be grouped and deployed as applications on Kubernetes. Each application serves several of these services with a common GRPC server. There is a…

Burak Serdar
- 46,455
- 3
- 40
- 59
0
votes
2 answers
Wordpress Error establishing a database connection using kubernetes
I am new to Kubernetes and trying to deploying WordPress and MySQL using the Kubernetes pod containers but its throwing the error "Error establishing a database connection" while running the Kubernetes
Below are my pod and service definition…

Gaurav
- 3
- 2
0
votes
1 answer
2 Kubernetes pod communicating without knowing the exposed address
I plan to deploy 2 kubernetes pods with a NodePort service to expose them into the network. Now i want pod 1 be able to access the pod 2 by his service.
The Problem is i write the Deployment files and i don't know the ip address pod 2 will get…

Martin Mali
- 15
- 5
0
votes
1 answer
unable to access a service from another pod, using xmlhttprequest object
So, I wrote an API that is listening on the the path /api/v1/books and is deployed as a deployment on my k8s cluster, created service (restapi-service) so that we can call that from another pods.
Now I created another deployment…

viveksinghggits
- 661
- 14
- 35
0
votes
1 answer
Kubernetes service ports mapping
I noticed, and I cannot explain, that some services have
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
web NodePort 10.104.133.249 8080:31637/TCP 12m
the PORT(S) sections looks like…

Jeanluca Scaljeri
- 26,343
- 56
- 205
- 333
0
votes
3 answers
Load balancing to multiple containers of same app in a pod
I have a scenario where I need to have two instances of an app container run within the same pod.
I have them setup to listen on different ports. Below is how the Deployment manifest looks like.
The Pod launches just fine with the expected number…

Naga
- 11
- 1
- 3
0
votes
1 answer
Exposing and Connecting MongoDB ReplicaSet running as K8S Statefulset
I deployed a MongoDB ReplicaSet as StatefulSet in Kubernetes. I'm running a Bare Metal K8S Cluster and therefore I'm using MetalLB to expose Services of type LoadBalancer. In case of my MongoDB-RS Setup exposed Services look like this:
NAME …

Daniel Stefanovski
- 21
- 3
0
votes
1 answer
kubernetes service loadbalancing based on zone
Let us say I've two zones zone1 and zone2, having 2 apps deployed in each zone. Let us say App1 is a client which fetches information from App2, App1 connects to App2 using k8s service, Now how can I configure app1 of zone1 to connect to app2 of…

Karthik Prasad
- 9,662
- 10
- 64
- 112