Questions tagged [kubernetes-service]
429 questions
0
votes
1 answer
Kubernetes LoadBalancer type service's external IP is unreachable from pods within the cluster when externalTrafficPolicy is set to Local in GCE
The external IP is perfectly reachable from outside the cluster. It's perfectly reachable from all nodes within the cluster. However, when I try to telnet to the URL from a pod within the cluster that is not on the same node as a pod that is part of…

Jatinshravan
- 435
- 3
- 16
0
votes
1 answer
kubernetes - container busy with request, then request should route to another container
I am very new to k8s and docker. But I have task on k8s. Now I stuck with a use case. That is:
If a container is busy with requests. Then incoming request should redirect to another container.
deployment.yaml
apiVersion: apps/v1
kind:…

Pugal
- 539
- 5
- 20
0
votes
3 answers
Use https protocol for endpoints in Kubernetes Services
Tried creating a Kubernetes endpoints service to invoke resource hosted outside the cluster via static IP's over HTTPS protocol.
Below is the endpoint code
kind: Service
apiVersion: v1
metadata:
name: serviceRequest
spec:
ports:
- port:…

pri
- 49
- 2
- 5
0
votes
2 answers
What is the different between ingress route connection into ClusterIP and Headless service in Kubernetes?
I know the basic concept of ClusterIP and Headless services.
I think the key different is ClusterIP do some sort of load balancing between underlying pods by applying some iptable rules.
Then Headless just a list of ip addresses of pods registered…

btwear
- 23
- 5
0
votes
0 answers
Readiness probe failing when second pod gets scheduled to the same container in k8s
I have a k8s service which maps to pod deployment with 2 replicas and is exposed as clusterIp service. I am seeing an issue when the 2nd pod gets scheduled to the same node the readiness probe (http call to an api in container port) is failing with…

deepak
- 45
- 4
0
votes
0 answers
Simple way to expose a Python app over a public IP on Azure Kubernetes Cluster
I have a deployed a K8s cluster on AKS using Terraform. I am unable to expose the Python service I used with a LoadBalancer. Below are my files;
Cluster information:
Kubernetes version: 1.19.0
Cloud being used: Azure
Installation method:…

Mert Alnuaimi
- 342
- 8
- 17
0
votes
1 answer
How can I resolve each pod in a daemonset?
With a Service called "myservice" backed onto a Statefulset called "mypods" you can curl
mypods-0.myservice to direct traffic to the first pod in the Statefulset.
How can I accomplish something similar with a Daemonset?

GDev
- 428
- 1
- 5
- 14
0
votes
0 answers
Unable to connect Pod using minikube IP and NodePort
I have to communicate with the same POD in minikube using the minikubeip and nodeport.
Operating System : Ubuntu 18.0 5
Minikube Version : v1.13.1
Problem here is: when ever i try to connect to the same pod by using the Minikube ip and the…

Umesh
- 71
- 1
- 6
0
votes
1 answer
Ingress-controller localcluster
It is possible to create ingress-controller with external-IP, on local cluster?
After many tries, I m not able to have external-IP, still status .
I already try many ingress-controllers, config maps, external deployments for cluster.
External-IP…

Samuel Stanislav
- 31
- 1
- 3
0
votes
2 answers
Disable Kubernetes replica set load balancing
I have a Kubernetes cluster of 3 nodes.
A sample deployment
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
…

Yuki
- 3,857
- 5
- 25
- 43
0
votes
1 answer
How to connect Redis with service in NodeJS in K8s cluster?
I am developing an application (car-app) which uses socket.io. and now I am going to deploy it to kubernetes cluster. Then I use Redis pub/sub function to communicate.
My app structure:
Backend: NodeJS
Frontend: ReactJS
Mongodb
Then I am…

potato
- 203
- 2
- 15
0
votes
1 answer
Access spring security through kubernetes ingress
I enabled in my backend tls. So every traffic needs to go through "https://.....".
I am able to access it locally or with Port-Forwarding in Kubernetes.
But I cannot access it through the DNS (e.g. https://hostname.net/backend/....).
I get as…

goku736
- 372
- 2
- 16
0
votes
2 answers
How does cross namespace communication works in minkube
I am using Kubernetes in minikube on Ubuntu 18.04 with ingress add-on enabled.
I want my NextJS service to communicate to my Express Service connected via ingress server by making request only via Ingress controller. So when I use cross namespace…

Pramod Choudhary
- 35
- 5
0
votes
1 answer
Kubernetes ClusterIP versus headless service scenario
I understand the concepts of a Kubernetes service ClusterIP and Headless service but when would I use one over the other?

Wunderbread
- 898
- 2
- 14
- 34
0
votes
1 answer
Ok to Include Both alpha and beta Annotations in OpenShift Service?
In my Kubernetes Service, running on OpenShift, I have an annotation like this:
annotations:
service.beta.openshift.io/serving-cert-secret-name: "..."
which works fine on OpenShift 4.x.
However I also want to support OpenShift 3.11, which…

Dave L.
- 9,595
- 7
- 43
- 69