Questions tagged [ingress]

86 questions
2
votes
1 answer

Kubernetes Nginx Ingress Controllers log to Stackdriver

I'm using Nginx Ingress Controller on GKE and I want to send its logs to Stackdriver with the following format https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry#HttpRequest. At the moment it’s just sending the plain text payload.…
john
  • 151
  • 5
2
votes
1 answer

Ingress returns 'default backend - 404' on Minikube

I'm trying to set up a very simple Kubernetes cluster with frontend, backend and db services. Here is part of the Frontend service definition file: apiVersion: v1 kind: Service metadata: name: frontend labels: tier: frontend spec: …
zmbq
  • 675
  • 1
  • 7
  • 9
2
votes
0 answers

How do you route to a mix of HTTP and HTTPS backends from an ALB Ingress?

I have a Kubernetes cluster running in EKS (on AWS.) In the cluster I have Elasticsearch, Kibana and various other web services. I would like to set up a single ALB loadbalancer such that: Requests to /_kibana/* is routed to service:…
Zorlack
  • 395
  • 1
  • 5
  • 13
2
votes
1 answer

Kubernetes not regenerating SSL Certificate

I have tried and tried many different things, and I'm unable to land into a solution. The certificate was issued once using letsencrypt, but was never refreshed. Could you people give me a hint on what I'm doing wrong? This is my current setup: …
fceruti
  • 225
  • 1
  • 4
  • 12
2
votes
2 answers

GCP Kubernetes engine - crash of nginx-ingress-controller after large file upload

I'm trying luck here to solve my problem happening on Google Cloud Kubernetes Engine. Problem in short: When I upload file via my PHP application of 15-20MB, nginx ingress controller crashes, disk IO goes rapidly UP, then CPU goes up and takes about…
1
vote
0 answers

Axios in a Node.js container on Kubernetes is returning “ECONNREFUSED 127.0.0.1:30561”?

Full error message: connect ECONNREFUSED 127.0.0.1:30561 at TCPConnectWrap.afterConnect The axios request is running in a Node.js environment (Next.js), which is where the error occurs, strangely the axios request works perfectly fine when it is…
thatguyjono
  • 111
  • 2
1
vote
1 answer

Exposing application which enforces https using ingress

I've been setting up a kubernetes cluster as a PoC, but currently struggle to find a solution for my problem. A proprietary software that I need to deploy does only expose one port which is https. I tested the service and was able to use the…
Timo
  • 113
  • 3
1
vote
2 answers

Kubernetes: horizontal auto-scaling based on metrics in another namespace

I'd like to set up horizontal auto-scaling for a deployment based on the metrics of the ingress-controller deployed in another namespace. I have a deployment (petclinic) deployed in a certain namespace (petclinic). I have an ingress controller…
Volodymyr Melnyk
  • 577
  • 1
  • 5
  • 19
1
vote
1 answer

GCP - GKE: Every Ingress configuration keeps resetting automatically. How to set an HTTPS health check?

I know that Ingress requires a service in an healthy state in order to serve its contents through HTTP(S) and to do so I configured a ReadinessProbe on my workload deployment: readinessProbe: failureThreshold: 10 …
sentenza
  • 115
  • 6
1
vote
0 answers

Why use ingress to expose a service when you have a LoadBalancer?

I have been researching how Kubernetes exposes services to the outside world and have found lots of articles explaining the differences between using NodePort, LoadBalancer, and Ingress. However not one seems to explain a very fundamental…
Ilsa
  • 11
  • 1
1
vote
1 answer

Nginx ingress to support ipv4 and ipv6 for kubernetes IPv4 cluster

I have installed K8S Cluster using 3 VMs (1 Master, 2 Workers). VM1: Eth0: IPv4-A1, Eth1: IPv4-B1, IPv6-C1 VM1: Eth0: IPv4-A2, Eth1: IPv4-B2, IPv6-C2 VM1: Eth0: IPv4-A3, Eth1: IPv4-B3, IPv6-C3 My K8S Cluster is all IPv4 - PodIp, serviceIP -…
1
vote
0 answers

Rancher 2.0 High Availability and Certificates

I replied to a similar question on the Rancher Forums with no luck: https://forums.rancher.com/t/rancher-2-x-ha-install-and-ssl-termination/12515/3 When following the Rancher Docs for a HA install, a sample nginx configuration is provided for the…
Brian
  • 131
  • 8
1
vote
2 answers

ingress google compute cloud ip

I'm trying to setup Ingress to serve from a static IP that I have created with gcloud. However it seems that Ingress does not take that configured one but picks a random new one. The name of that IP Address is homefully-ingress-root and it is…
1
vote
1 answer

GCE NGINX Ingress does not use controller

I've installed nginx ingress using helm on Google Cloud Kubernetes. The service, controller and default backend are up and running and I can perform a GET request on the /healthz endpoint. However, when I try to setup my Ingress, it shows a…
1
vote
2 answers

Need help on loadbalancer connection to nginx ingress controller

apiVersion: v1 kind: Service metadata: name: ingress-nginx namespace: ingress-nginx labels: app: ingress-nginx spec: type: LoadBalancer externalIPs: - {{ vip_address }} ports: - port: 80 targetPort: 80 selector: app:…
rufus
  • 61
  • 1
  • 7