Questions tagged [ingress-controller]

173 questions
0
votes
1 answer

how to add content security policy (CSP) to nginxinc ingress controller or ingress rule

How to add content security policy (CSP) to nginxinc ingress controller or ingress rule. I tried both of the below annotation to ingress rule but neither worked. annotations: nginx.ingress.kubernetes.io/configuration-snippet: | …
0
votes
0 answers

Integrate Amazon API Gateway with Amazon EKS

I'm integrating the API Gate with EKS, using CDK Following this architecture as below I'm using the ALB Controller which provisions a NLB when I deploy an k8s service with type LoadBalancer The problem is, how can I aware when the NLB will be…
Luong To
  • 61
  • 7
0
votes
0 answers

How do I create two separate backend pool rules for my ingress.yaml file that has same hostname but different port using AGIC

I am working with azure gateway ingress controller, I am trying to create two separate backend pool rules for port 8084 and 8083 with the same host name, but when i try to create the backend pool rules only one rule get created which is 8084. But if…
0
votes
2 answers

ingress controller correct path

I have this yaml file and it works fine: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: some-ingress annotations: kubernetes.io/ingress.class: "nginx" nginx.ingress.kubernetes.io/service-upstream: "true" …
0
votes
0 answers

haw to deploy URL with ingress in kubernetes

I don't know why ingress does not work this my code : apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: node spec: ingressClassName: nginx rules: host: backend.io http: paths: path: / pathType:…
0
votes
0 answers

How to get client IP from HAProxy TCP passthrough

I've php applications hosting in the Kubernetes cluster and using HAProxy to do TCP passthrough the request to the ingress-controller. My problem is the HAProxy unable to passthrough the header like REMOTE_ADDR. I've tried follow the answer here to…
Deno
  • 434
  • 4
  • 16
0
votes
2 answers

How to forward client IP address from CloudFlare to Kubernetes NGINX ingress controller?

I'm using CloudFlare as DNS server for the system and need of whitelist IP for some domains of the system. I managed to do this but when I enable Proxy status feature for domain on CloudFlare I get 403 Forbidden error because CloudFlare forwards its…
quoc9x
  • 1,423
  • 2
  • 9
  • 26
0
votes
0 answers

GKE: GCE ingress, lets encrypt AND external-dns

Currently I'm doing my first steps with GKE (1.22.11-gke.400). 1.) I tried external-dns with static credentials as described in Setting up ExternalDNS on GKE. IT WORKS! 2.) I tried let's encrypt with GCE ingress using a static IP and manually…
0
votes
0 answers

Is it possible to specify a fanout Ingress pattern in multiple ingress resources?

I am using GKE, with the default GCP ingress controller For simplicities sake, there are many repositories but we can isolate this problem down to an example with 2 API micro service defined in source repository 1 UI service defined in source…
0
votes
0 answers

Kubernetes Ingress - Application login issue when terminating ssl

I'm using Nginx controller for terminating ssl at ingress level. The application pod is plain http according to the documentation. But during login process there is a 301 internal redirect from http to https. As a result login never succeeds. Login…
0
votes
2 answers

openshift ingress router has been stopped. Can you recover?

The default router pod was stopped while working on Taints and Tolerations. I am unable to log in. Can I change node config before login? Thank you.
ddakker
  • 55
  • 7
0
votes
1 answer

Kubernetes NGINX Ingress redirecting post requests to GET

I deployed a Ingress without certificate apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: api-dev-ingress spec: ingressClassName: nginx rules: - host: api.dev http: paths: - pathType: Prefix …
0
votes
1 answer

Unable to access AKS ingress public ip from browser or postman

I have tried to go through multiple searches on google however doesn't find anything why ingress controller's external ip is not accessible from browser. Its simple get request without any authentication or authorization. I have followed this…
0
votes
2 answers

LoadBalancing done by Service or IngressController in kubernetes?

As per my understanding Ingress maintains set of rules like which path to which service. IngressController handles the request to service based on rules specified in Ingress. Service is pointing to several pods by label selectors. The request is…
0
votes
1 answer

EKS ALB not attached to the Ingres with Service type ClusterIp and target-type = IP. Is NodePort Mandatory

I created with NodePort and target-type=instance for my-nginx server Created Ingress with alb annotation of aws. It got an Application Load Balancer attached. I also created once more service with ClusterIp and Ingress for it. No Load Balancer. In…