본문 바로가기

Envoy4

Envoy internal redirect # 요약envoy 는 기본적으로 cluster 로부터의 302 응답이 오면 그대로 클라이언트에게 전달하지만, route action 에 internal redirection 옵션(internal_redirect_policy)을 설정한 경우 cluster 로부터 리디렉션 응답을 받는 경우 location 헤더의 url 을 프록시하여 클라이언트에게 응답한다. # 일반적인 리버스 프록시의 동작 구조는envoy 뿐만 아니라 nginx, apache, haproxy 등 리버스 프록시로 사용할 수 있는 많은 프록시들은 백엔드에서 3xx 리디렉션 응답이 발생하는 경우 해당 응답을 그대로 클라이언트에게 전달한다. 예를 들면 아래와 같을 것이다. 1. Client 가 Proxy(https://www.example.co.. 2026. 4. 11.
Envoy Gateway Kubernetes Gateway APIKubernetes Ingress 의 뒤를 잇는 인그레스 트래픽 컨트롤 표준!https://gateway-api.sigs.k8s.io/ Introduction - Kubernetes Gateway APIIntroduction Gateway API is an official Kubernetes project focused on L4 and L7 routing in Kubernetes. This project represents the next generation of Kubernetes Ingress, Load Balancing, and Service Mesh APIs. From the outset, it has been designed to be gengateway.. 2025. 7. 11.
istio envoy access log istio envoy access log # istio 를 설치한 경우 -> istio-system 네임스페이스에 Telemetry 를 생성하는 경우 전역적으로 envoy 액세스 로그가 활성화됨 -> 개별 네임스페이스에 생성하면 해당 네임스페이스만 envoy 액세스 로그가 활성화됨 https://istio.io/latest/docs/tasks/observability/logs/access-log/ vim istio-access-log.yaml apiVersion: telemetry.istio.io/v1alpha1 kind: Telemetry metadata: name: mesh-default namespace: istio-system spec: accessLogging: - providers: - nam.. 2023. 3. 8.
istio 배포 istio 배포 공식 가이드 https://istio.io/latest/docs/setup/getting-started/ # 설치 ## istioctl 로 설치 https://istio.io/latest/docs/setup/install/istioctl/ curl -L https://istio.io/downloadIstio | sh - cd istio-* export PATH=$PWD/bin:$PATH istioctl install --set profile=demo -y 배포된 istio 관련 리소스 확인 kubectl get all -n istio-system 설치된 istio profile 확인 https://istio.io/latest/docs/setup/additional-setup/config-.. 2023. 3. 8.