본문 바로가기

분류 전체보기105

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 Lua 필터 # envoy 와 envoy lua 필터 오픈소스 프록시인 Envoy 는 클라우드 및 Kubernetes 환경에서 최근 몇 년 사이 가장 활발하게 사용되는 프록시 중 하나라고 생각한다. Envoy 의 강점은 xDS를 이용한 유연한 설정이라고 생각하는데, 다른 강점 중 하나는 다양한 Filter 를 제공하여 트래픽을 컨트롤하는 다양한 옵션을 제공한다는 것이 될 것 같다. envoy 에서 lua 필터를 사용하면 lua 스크립트를 작성하여 envoy 에서 cluster(백엔드)로 보내는 요청과 응답을 중간에서 조작할 수 있다. 단순히 요청/응답 헤더를 조작하는 것 뿐만 아니라 별도의 cluster(제 3의 엔드포인트)를 호출하여 응답에 따라 추가적인 분기(if 문)를 만들고, 직접 응답 혹은 클러스터로 요청 .. 2026. 4. 4.
Wireguard VPN 구성 시 클라이언트 사설 아이피를 식별하도록 구성하기 지난 "GCP VM(+UDP LB) 구성하여 Wireguard VPN 설치" 게시물에서 GCP 환경에서 UDP Passthrough LB와 GCE 인스턴스로 Wireguard VPN 환경을 구성한 예시가 있었다. https://engmisankim.tistory.com/99 GCP VM(+UDP LB) 구성하여 Wireguard VPN 설치GCP(Google Cloud Platform)에 GCE 인스턴스를 생성하여 오픈소스 VPN 인 wireguard 을 설치하고, UDP passthrough LB 를 추가하여 구성한다. # VPN VM 생성GCP 콘솔에서 생성하거나 gcloud 커맨드를 통해 생성해도 관engmisankim.tistory.com 이대로 사용해도 큰 문제는 없을 수 있겠으나 아래와 같이 .. 2025. 12. 28.
Argo Rollouts Analysis https://argoproj.github.io/argo-rollouts/features/analysis/ Overview - Argo Rollouts - Kubernetes Progressive Delivery ControllerAnalysis & Progressive Delivery Argo Rollouts provides several ways to perform analysis to drive progressive delivery. This document describes how to achieve various forms of progressive delivery, varying the point in time analysis is performed, its frequeargoproj.gith.. 2025. 12. 9.
Google Certificate Manager 로 Google Managed Cert 생성하기 https://cloud.google.com/load-balancing/docs/ssl-certificates?hl=ko SSL 인증서 개요 | Load Balancing | Google CloudSSL 인증서를 사용하여 Google Cloud 부하 분산기와 안전하게 통신하는 방법을 알아봅니다.cloud.google.com https://cloud.google.com/certificate-manager/docs/deploy?hl=ko 배포 개요 | Certificate Manager | Google Cloud의견 보내기 배포 개요 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. 이 페이지에서는 인증서 관리자를 사용하여 인증서를 배포하는 단계를 설명합니다.clo.. 2025. 8. 25.
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.
OPA Gatekeeper 와 Kyverno OPA(Open Policy Agent)https://www.openpolicyagent.org/ Open Policy AgentPolicy-based control for cloud native environmentswww.openpolicyagent.org 오픈 소스 범용 정책 엔진Kubernetes 에 정책을 적용하는 것 뿐만 아니라 더 넓은 사용 사례를 가지고 있음Kubernetes 는 OPA 를 통합/적용할 수 있는 대상 중 하나(with Gatekeeper)OPA 에서는 Rego 라는 자체적인 쿼리 언어를 사용 OPA Gatekeeperhttps://open-policy-agent.github.io/gatekeeper/website/docs/ Introduction | GatekeeperG.. 2025. 4. 29.
GCP VM(+UDP LB) 구성하여 Wireguard VPN 설치 GCP(Google Cloud Platform)에 GCE 인스턴스를 생성하여 오픈소스 VPN 인 wireguard 을 설치하고, UDP passthrough LB 를 추가하여 구성한다. # VPN VM 생성GCP 콘솔에서 생성하거나 gcloud 커맨드를 통해 생성해도 관계 없지만, 어떤 방법으로 생성하든 "IP forwarding"(terraform 에서는 "can_ip_forward") 옵션을 반드시 활성화해야한다. resource "google_compute_instance" "vpn" { name = "test-vpn" project = var.gcp_project machine_type = "e2-medium" zone = "asia-northeast3.. 2025. 3. 31.
Istio ambient mode https://istio.io/latest/docs/ambient/overview/ OverviewAn overview of Istio's ambient data plane mode.istio.iohttps://istio.io/latest/blog/2024/ambient-reaches-ga/ Fast, Secure, and Simple: Istio’s Ambient Mode Reaches General Availability in v1.24Our latest release signals ambient mode – service mesh without sidecars – is ready for everyone.istio.io # 앰비언트 모드-> 사이드카 모드(기존의 사이드카 프록시를 사용하는 방식)와 달.. 2025. 1. 4.