Questions tagged [kubernetes-service]

429 questions
0
votes
1 answer

Expose deployment via service type Node Port on digital Ocean Kubernetes

I'm implementing a solution in Kubernetes for several clients, and I want to monitoring my cluster with Prometheus. However, because this can scale quickly, and I want to reduce costs, I will use Federation for Prometheus, to scrape different…
0
votes
1 answer

How to create Kubernetes endpoints if it depends on another service endpoint

I am creating a pod in kubernetes that has two containers. One container tries to find the endpoint of a running service. If it does not find it, it will exit, causing it to restart, cause the pod #1 container to not configure an endpoint ip. Pod #2…
0
votes
1 answer

Access to exposed service in Kubernetes

For the setup details: Kubernetes Cluster (1 Master with ip .222 - 2 Nodes) in a VMWare environment Installed Ingress Controller, sample app from NGINXINC REPO Problem & Question: Unable to access the application from outside the Kubernetes…
0
votes
1 answer

Can't access to Dashboard from my desktop in LAN

I installed a raspberry pi Kubernetes cluster at home. I wanted to access to a dashboard to monitor things in my private network. So I installed the arm version of k8s dashboard. The service is up and running : NAMESPACE NAME …
Baptiste Arnaud
  • 2,522
  • 3
  • 25
  • 55
0
votes
0 answers

Kubernetes cannot access Cassandra within same namespace

I get All host(s) tried for query failed (tried: 10.244.0.72/10.244.0.72:9042 (com.datastax.driver.core.exceptions.TransportException: [10.244.0.72/10.244.0.72:9042] Channel has been closed)) when trying to access Cassandra within the same…
rigby
  • 1,280
  • 3
  • 13
  • 21
0
votes
1 answer

Pods not connecting with service having same labels -Kubernetes

I create one pod with label:appenv and one service of type node port with a selector as appenv. But when I use kubectl get ep service-name it's showing "no endpoints"(means service is not connecting with that pod). Here are my pod.yaml and…
AATHITH RAJENDRAN
  • 4,689
  • 8
  • 34
  • 58
0
votes
0 answers

Kubernetes Dashboard service not accessible

I have created "helloworld" application in python and dockerised it and pushed my image in docker hub repository. Then deployed it in kubernetes dashboard. This is my yaml file { "kind": "Service", "apiVersion": "v1", "metadata": { …
0
votes
0 answers

ExternalIP for service is always pending

I have local multi machine vagrant kubernetes cluster which is created using code here. I have created kubernetes replication controller created using kubia-rc.yaml. vagrant@k8s-head:~$ kubectl get rc NAME DESIRED CURRENT READY AGE …
user51
  • 8,843
  • 21
  • 79
  • 158
0
votes
1 answer

Service not finding endpoint

I'm trying to map an external Postgres box into my Kubernetes cluster using the Service and Endpoint resources but the service is not detecting the endpoint. terraform $ kubectl describe services postgres -n infrastructure Name: …
Jacob Lambert
  • 7,449
  • 8
  • 27
  • 47
0
votes
5 answers

How to access pod from outside of my cluster in kubernetes? I exposed it as node port service but can't access it with that node port

I've created a pod for my java application and exposed it as a node-port service.I'm able to access it using curl master address:nodeport only inside the cluster and not from the outside(say my browser).The purpose of node-port service is to allow…
AATHITH RAJENDRAN
  • 4,689
  • 8
  • 34
  • 58
0
votes
2 answers

No prompt for client-side certificate when deploying nginx server on k8s with load balancer service

My web server backend enforces a client-side certificate. This worked great until I moved my deployment to a Kubernetes cluster. My guess is that the forwarding rules are not passing on the certificate request from the server to the browser. I'm…
Mugen
  • 8,301
  • 10
  • 62
  • 140
0
votes
1 answer

postgreSQL kubernetes helm installation - reading from slaves

I've gone ahead and used the postgres helm release to install a small "cluster" on an on premise kubernetes cluster. the installation went smoothly - we have an master instance and two slaves to which the data is being replicated (the single…
0
votes
1 answer

Kubernetes service not accessible on IPv4

we currently have following Kubernetes setup (v1.13.1, setup with kubeadm) with connectivity set up between them: Master node (bare metal) 5 worker nodes (bare metal) 2 worker nodes (cloud) There is no proxy in between to access cluster, currently…
Bostjan
  • 1,455
  • 3
  • 14
  • 22
0
votes
2 answers

How do I access a service on a kubernetes node from another node on the same cluster?

My service description: kubernetes describe service app-checklot --namespace=app-test-gl Name: app-checklot Namespace: app-test-gl Labels: app=app-checklot chart=app-checklot-0.1.0 …
Chillax
  • 4,418
  • 21
  • 56
  • 91
0
votes
0 answers

Kubernetes services are not accessible through nodeport

we have set up a Kubernetes cluster version 1.13 using Kubespray on Baremetal. Currently, there are 3 masters and 3 workers. We have deployed some services with 3 replicas. We are using NodePort to expose services. Now the issue is that some of the…