Questions tagged [kubernetes-service]

429 questions
0
votes
0 answers

Assign external ip to kubernetes pod

Context: We're working on an integration with one of our clients In order to get access to their systems, we need to establish a VPN connection For security reasons, we need to bind this VPN connection to a static IP on our side (basically, layer 4…
Silver Dragon
  • 5,480
  • 6
  • 41
  • 73
0
votes
2 answers

kubernetes: Role of selector in service vs deployment

From the official example of Kubernetes documentation site on deploying a Wordpress application with mysql: The service definition of mysql: apiVersion: v1 kind: Service metadata: name: wordpress-mysql labels: app: wordpress spec: ports: …
pkaramol
  • 16,451
  • 43
  • 149
  • 324
0
votes
1 answer

Accessing app on kubernetes using nodeport

Dear all I have deployed a sample service such as this: kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE kubernetes ClusterIP 10.233.0.1 443/TCP 1d mynodejsapp NodePort …
Adam
  • 1,157
  • 6
  • 19
  • 40
0
votes
1 answer

Send log-data from fluentd in kubernetes cluster to elasticsearch in remote standalone server outside cluster BUT IN HOST NETWORK?

As a further question of this question I want to know how I can reach my external service (elasticsearch) from inside a kubernetes pod (fluentd) if the external service is not reachable via internet but only from the host-network where also my…
0
votes
1 answer

Kubernetes service not exposed when ClusterIp is set

I have the following YAML file - apiVersion: v1 kind: Service metadata: labels: name: mariadb name: mariadb spec: ports: - port: 3306 selector: name: mariadb When this service is created, a ClusterIP is automatically set. My…
jdoe
  • 3
  • 4
0
votes
2 answers

Random characters when describing kubernetes namespaces

I'm trying to connect my Kubernetes deployments together via DNS. I have a Java (Spring Boot) deployment and a javascript (node.js) deployment, both exposed via a default ClusterIP Service. I need websocket and REST communication between both…
0
votes
1 answer

Access an application running on kubernetes from the internet

I'm pretty sure that this is a basic use case when running apps on kubernetes, but till now I wasn't able to find a tutorial, nor understand from the documentation, how to make it work. I have an application, which is listening on a port 9000. So…
Martin Dvoracek
  • 1,714
  • 6
  • 27
  • 55
0
votes
1 answer

Kubernetes Services Architecture

I'm trying to connect have NGINX direct traffic to different parts of my app through the config file, but I can't figure it out for the life of me. Here is my current setup: http-service (loadbalancer) NGINX (port 80) website-service…
-1
votes
1 answer

Kubernetes Create service to Expose Individual Pods via NodePort on Nodes they are scheduled

I have created Deployment using Below Command kubectl create deployment nginx --image=nginx --port=80 --replicas=3 I am looking for answer on how to Create Service to expose Individual Pods via NodePort on Nodes they are scheduled. THIS COMMAND…
Abhi
  • 1
-1
votes
1 answer

Confused by the port names in k8s manifest

I am confused by port name in manifest, for example, I see a manifest containing the following section: ports: - name: web nodePort: 32003 port: 80 protocol: TCP targetPort: web - name: websecure nodePort: 30554 port:…
user842225
  • 5,445
  • 15
  • 69
  • 119
-1
votes
1 answer

Kubernetes - Does IP Address of Service Object change?

I want to make use of NetworkPolicy for Egress Traffic from one set of Pods to another set of Pods. So, I want to allow egress traffic from pods with label foo:bar only to pods with label foo:beer Currently all Pods with label are behind one Service…
-1
votes
2 answers

Kubernetes - Reconfiguring a Service to point to a new Deployment (blue/green)

I'm following along with a video explaining blue/green Deployments in Kubernetes. They have a simple example with a Deployment named blue-nginx and another named green-nginx. The blue Deployment is exposed via a Service named bgnginx. To transfer…
-1
votes
1 answer

How do I expose my WebAPI using NodePort (or other method) so that the public net can hit it?

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. Like bare metal but on cloud VMs. I have…
-1
votes
1 answer

Allow EC2 Instances to communicate with the Services of Kubernetes deployments

I am trying to get a Windows Server EC2 instance to communicate with a running Kubernetes Service. I do not want to have to route through the internet, as both the EC2 Instance and Service are sitting within a private subnet. I am able to get…
-1
votes
1 answer

Accessing application inside a kubernetes pod from an another application in a different pod

I have a kubernetes cluster having two deployments ui-service-app and user-service-app. Both of the deployments are exposed through Cluster IP services namely ui-service-svc and user-service-svc. In addition there is a Ingress for accessing both of…
1 2 3
28
29