Questions tagged [kubernetes-ingress]

Ingress gives you a way to route requests to services based on the request host or path, centralizing a number of services into a single entrypoint.

Services and Pods have IPs only routable by the cluster network. All traffic that ends up at an edge router is either dropped or forwarded elsewhere. An Ingress is a collection of rules that allow inbound connections to reach the cluster services.

3847 questions
1
vote
1 answer

GKE ingress pass cookie as header

I would like to use some kubernetes ingress (doesn't matter the ingress type) on google cloud GKE 1.19.7-gke.1302, and nginx ingress deployed by nginx-ingress-0.8.0 helm chart, and my need is to fetch a cookie and use it later to authenticate to…
1
vote
2 answers

How to set AWS ALB ingress default action for non ssl and ssl ports

I am using alb ingress controller and the ingress yaml file is pasted below. apiVersion: extensions/v1beta1 kind: Ingress metadata: namespace: default name: alb-ingress annotations: kubernetes.io/ingress.class: alb …
1
vote
0 answers

Not able to create valid route53 entries with kubernetes Ingress in case of a failover routing.?

I created a kubernetes deployments scripts which will create two different deployments with associated services and the associated Ingress objects. The creation of all the kubernetes objects (like deployments, services and ingress) are…
1
vote
3 answers

K8S NGINX ingress reverse proxy rules for kibana etc

I know there are lots of questions on this topic but none so far have helped. The #1 issue is my own understanding. I've set up an Nginx Ingress Controller in K8S and am now trying to add the ingress rules for a Kibana cluster service, which is…
GrahamB
  • 1,368
  • 15
  • 35
1
vote
2 answers

Use Azure CLI to obtain Kubernetes Load Balancer's public IP

I have Kubernetes running on Azure, and it uses a load balancer. Azure has assigned a public IP address to this load balancer, and for the purposes of setting up an Application Gateway via the Azure CLI I wish to obtain the IP address of the k8s…
awj
  • 7,482
  • 10
  • 66
  • 120
1
vote
1 answer

nginx-ingress path based angular application

I have an angular application which is dockerized using nginx-alpine as base image. My infra is hosted on AKS cluster version 1.18.14 . And nginx-ingress to route traffic to pods k8s.gcr.io/ingress-nginx/controller:v0.44.0 . Below is my…
1
vote
1 answer

HTTPS is not working with TLS enabled in GKE Ingress

I have deployed jenkins in GKE using helm, now i am trying to configure DNS for jenkins. I am using cloudflare for DNS and also created TLS secret using my cloudflare certificates. The ingress that i have created works fine for http but HTTPS is not…
1
vote
1 answer

Why ingress always return 502 Error to specific service nodeport only?

I have an alpine docker image to run my raw PHP website on an apache server(PHP 7.4) EXPOSE 80. I want to run the image on Kubernetes(GKE) with an ingress controller. I'm pushing the image with gcloud command to the google container registry. Both…
1
vote
2 answers

Kubernetes - how to switch from "internal Load Balancer" to "ingress controller"

We deployed our app, Pod and Service in Azure Kubernetes Service but we cannot connect to our container app from the VM from another Virtual Network. It seems that Service Type internal load balancer cannot be used for those purpose when we want to…
vel
  • 1,000
  • 1
  • 13
  • 35
1
vote
1 answer

Traefik v2 in Kubernetes. fail to deploy. do not see other services

I have been trying to run traefik v2.x in minikube to check it and how it routes request to needed service. I am failing to get access to my services at all. would be good to understand what I am doing wrong. minikube is running in VirtualBox…
1
vote
1 answer

Ingress - How to dispath with base URLs?

I have two services with the names svc1 and svc2. Can I make ingress dispatch the same domain with different base URLs to each service, i.e.: ingress.domain/svc1/path-here -> svc1 gets this request, with path rewritten as…
Romulus Urakagi Ts'ai
  • 3,699
  • 10
  • 42
  • 68
1
vote
1 answer

kubernetes ingress backend and frontend routing

I have an application backend and frontend and I want to separate the traffic using prefix /api I usually do this with Nginx and docker-compose using this configuration : upstream server { server backend:6969; } server { listen 80; …
1
vote
1 answer

How to display speedtester in kubernetes using ingress

I have a network speed tester service and deployment in my cluster. I would like to display the widget on a window in my frontend react app within my k8s cluster ... I used iframe as follows. const SpeedTest = (props) => { return (
Denn
  • 447
  • 1
  • 6
  • 27
1
vote
1 answer

How to route a substring of a path and service without path in ingress

I have three issues: 1 - How can I correctly implement regex to match the first part of a path in ingress? - path: /^search_[0-9A-Z]{9} backend: serviceName: global-search-service servicePort: 5050 I would like to match any path…
Denn
  • 447
  • 1
  • 6
  • 27
1
vote
1 answer

Ingress routing to different services and with different paths to same service

I have the following ingress config: apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: my-ingress annotations: kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/use-regex: "true" …
Denn
  • 447
  • 1
  • 6
  • 27