Kubernetes and Authorization header stripped

11/12/2018

Project:

  • Deploy a staging API (Symfony) on a Kubernetes cluster on GCloud
  • With its services (MariaDB, RabbitMQ ...)

issue:

  1. All Pods and Services start correctly
  2. Access to the API from outside is problematic:
    • I deploy the API via a LoadBalancer service and the API is accessible but always removes the header "Authorization" which makes the API unusable.
    • I deploy the API via a Nginx-Ingress, the set of links to the correct air (the Ingress is well linked to the service and the pods of the API), I receive an external IP, but when I access this IP, the site is inaccessible (requests are lost and do not arrive at the servers).
-- PeterRoger
gcloud
kubernetes

0 Answers