Questions tagged [ingress-controller]

173 questions
0
votes
1 answer

How to disable TLS in nginx ingress controller?

I was trying to enable TLS in nginx ingress controller. I followed below link and I am able to access my service through https. https://devopscube.com/configure-ingress-tls-kubernetes/ There are only two extra configuration is needed: Create a…
0
votes
1 answer

I have a problem with deploy rancher on aws eks

Greeting Everyone: I have a problem with deploy rancher on aws eks. Please help me why I can't deploy rancher . This is my step to deploy rancher. create aws eks ❯ cat eksctl-install.sh #!/bin/bash # Debug 20220618 set -ex #…
0
votes
0 answers

Ingress rule same path but different backend, depending on http or https request

Is there any way with Ingress to control the service and port destination depending on whether the request is http or https? I'm trying to do something similar to this: http://localhost/my_path ->…
0
votes
1 answer

GKE Ingress: missing network endpoints / backends with certain pods

I've been using GKE for a little over a month now. I successfully deployed the hello-app example in the GCP docs [1] with a Cloud DNS + static external IP and everything worked seamlessly: deployment, pods, services, backends, ingress, URL maps,…
0
votes
1 answer

Reason for service need to be nodeport to be routed by ingress

As I am following the Kubernetes website regarding setting up ingress on minikube, it's all the more confusing... (https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/) However, here I am summarizing what I have understood…
swcraft
  • 2,014
  • 3
  • 22
  • 43
0
votes
0 answers

Deny access from everyone but one IP address/range through to Nginx path. Nginx VirtualServer resource

I have created an Nginx VirtualServer ingress resource which has multiple paths: apiVersion: k8s.nginx.org/v1 kind: VirtualServer metadata: name: web-server-ingress-vs namespace: web spec: host: somehost.com upstreams: - name: web-test …
0
votes
2 answers

Routing through nginx to service based off entered path

I deployed a test service that's called "web-server-service". That is connected to a container which when working just displayed a message on the screen (like a browser, etc): "It works!". Purley as a connectivity test. Ingress controller =…
0
votes
1 answer

Deploy Docker-Registry in Kubenetes with Traefik Ingress

I have tried to deploy a Docker-Registry in a Kubernetes Cluster using Traefik as Ingress-Controller. On the way I found out that Traefik blocks non GET Requests by default. So I have added a Middleware to let non GET Requests as well trought. The…
0
votes
1 answer

Why can't 1 cloud run service (client) connect to another (backend) cloud run service when ingress is controlled?

I'm currently running two Cloud Run services (static web + web server). The web server is connected to AlloyDB instance, which is all through a VPC. I have also set up Ingress Control to allow traffic from the vpc. However, when I do set this…
0
votes
0 answers

Kubernetes ingress prefix path issue

I have nginx ingress controller deployed using helm, a simple nginx pod, service and ingress: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: all-app-ingress annotations: nginx.ingress.kubernetes.io/rewrite-target: / spec: …
0
votes
0 answers

ELB doesn't add the new instances after scaling up

I am doing some tests with ingress-nginx load balancer. When I initially deployed it, it automaticaly creates an ELB and works perfectly fine. However, when I scale down the node group and then scale it back up. I don't see ELB registering the new…
0
votes
0 answers

External requests to nodeport ingress nginx ends with 404

Im trying to run K8S cluster on bare metal servers and I have a problem accessing the apps (PODs) from the outside of cluster. Just to sumarize my setup nodeported ingress nginx controller with ports for HTTP (30255) and HTTPS (32673) runnin on one…
0
votes
1 answer

Ingress-nginx is in CrashLoopBackOff after K8s upgrade

After upgrading Kubernetes node pool from 1.21 to 1.22, ingress-nginx-controller pods started crashing. The same deployment has been working fine in EKS. I'm just having this issue in GKE. Does anyone have any ideas about the root cause? $ kubectl…
0
votes
0 answers

.Net core microservice with HTTPS on AWS EKS

We have lunched .Net microservice on container and published it on EKS Cluster. It's working fine on http. We follow the link to deploy .Net microservice as deploy as a…
kgcwc09
  • 39
  • 6
0
votes
0 answers

nginx ingress server-snippet annotation in ALB ingress

` nginx.ingress.kubernetes.io/server-snippet: | location ~/(blog)(/|$)(.*) { proxy_set_header X-Forwarded-Proto "https"; if ($request_uri ~ "^/blog(/|$)(.*)"){ proxy_pass http://{{ .Values.deploy.name }}-service.{{…