본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

트래픽 관리: Istio

원문 보기 위키 갱신

Istio는 웹 서비스로 흐르는 트래픽을 제어할 수 있는 풍부한 기능을 제공하는 서비스 메시입니다. Istio는 일련의 CRD를 통해 이러한 기능을 제공하며, Argo Rollouts는 업데이트 중인 Rollout의 서로 다른 버전에 고급 트래픽 분산(traffic shaping) 기능을 제공하기 위해 이러한 리소스의 관리를 자동화합니다. 이 문서에서는 호스트 레벨(host-level)과 서브셋 레벨(subset-level) 트래픽 분할, TCP 트래픽 분할, 멀티클러스터 설정, GitOps 연동까지 상세히 설명해 드립니다.

출처: Argo Rollouts 문서

본문

Istio는 웹 서비스로의 트래픽 흐름을 제어하기 위한 풍부한 기능 세트를 제공하는 서비스 메시입니다. Istio는 일련의 CRD를 통해 이 기능을 제공하며, Argo Rollouts는 업데이트 중에 Rollout의 서로 다른 버전에 고급 트래픽 분산 기능을 제공하기 위해 이러한 리소스의 관리를 자동화합니다.

어떻게 동작하나요 (How it works)

Istio에서 트래픽 분할은 Istio VirtualService에 정의된 트래픽 가중치를 조정하여 수행됩니다. Argo Rollouts를 Istio와 함께 사용할 때, 사용자는 두 개의 HTTP 라우트 대상을 포함하는 HTTP 라우트를 하나 이상 포함한 VirtualService를 배포합니다. 즉, canary ReplicaSet의 파드를 타깃으로 하는 라우트 대상과 stable ReplicaSet의 파드를 타깃으로 하는 라우트 대상으로 구성합니다. Istio는 가중치 기반 트래픽 분할을 위한 두 가지 접근 방식을 제공하며, 두 방식 모두 Argo Rollouts에서 옵션으로 사용할 수 있습니다.

  1. 호스트 레벨 트래픽 분할
  2. 서브셋 레벨 트래픽 분할

참고 (note)

Istio를 사용할 때는 서비스 메시 내부에 있는 트래픽만 롤아웃 전략을 따릅니다. 서비스 메시에서 제외된 파드(예: sidecar.istio.io/inject="false" 라벨 때문)는 기본 쿠버네티스 트래픽 라우팅을 따릅니다.

호스트 레벨 트래픽 분할 (Host-level Traffic Splitting)

Argo Rollouts와 Istio를 사용한 트래픽 분할의 첫 번째 접근 방식은 두 개의 호스트 이름, 즉 쿠버네티스 서비스(canary Service와 stable Service) 사이에서 분할하는 것입니다. 이 접근 방식은 다른 모든 Argo Rollouts 메시/인그레스 컨트롤러 통합(예: ALB, SMI, Nginx)과 동작 방식이 유사합니다. 이 방식을 사용하려면 다음 리소스를 배포해야 합니다.

  • Rollout
  • Service (canary)
  • Service (stable)
  • VirtualService

Rollout은 다음 필드를 정의해야 합니다.

apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  name: rollout-example
spec:
  ...
  strategy:
    canary:
      canaryService: canary-svc  # required
      stableService: stable-svc  # required
      trafficRouting:
        istio:
          virtualService:
            name: rollout-vsvc   # required
            routes:
            - primary            # optional if there is a single route in VirtualService, required otherwise
      steps:
      - setWeight: 5
      - pause:
          duration: 10m

VirtualService에는 Rollout에서 참조하는 이름을 가진 HTTP 라우트가 포함되어야 하며, 그 안의 두 라우트 대상의 host 값이 Rollout에서 참조하는 canaryService 및 stableService와 일치해야 합니다. VirtualService가 rollout과 다른 네임스페이스에 정의된 경우, 그 이름은 rollout-vsvc.<vsvc namespace name> 형식이어야 합니다. Istio는 모든 가중치의 합이 100이 되도록 요구하므로, 초기 가중치는 stable에 100%, canary에 0%로 설정할 수 있습니다.

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: rollout-vsvc
spec:
  gateways:
  - istio-rollout-gateway
  hosts:
  - istio-rollout.dev.argoproj.io
  http:
  - name: primary        # referenced in canary.trafficRouting.istio.virtualService.routes
    route:
    - destination:
        host: stable-svc # referenced in canary.stableService
      weight: 100
    - destination:
        host: canary-svc # referenced in canary.canaryService
      weight: 0

마지막으로 canary 및 stable Service를 배포해야 합니다. 이 Service들의 selector는 업데이트 중에 Rollout에 의해 수정되어 canary 및 stable ReplicaSet 파드를 타깃으로 합니다. VirtualService와 대상 호스트가 서로 다른 네임스페이스에 있는 경우(예: VirtualService와 Rollout이 같은 네임스페이스에 없는 경우), 대상 호스트에 네임스페이스를 포함해야 합니다(예: stable-svc.<namespace>).

apiVersion: v1
kind: Service
metadata:
  name: canary-svc
spec:
  ports:
  - port: 80
    targetPort: http
    protocol: TCP
    name: http
  selector:
    app: rollouts-demo
    # This selector will be updated with the pod-template-hash of the canary ReplicaSet. e.g.:
    # rollouts-pod-template-hash: 7bf84f9696
---
apiVersion: v1
kind: Service
metadata:
  name: stable-svc
spec:
  ports:
  - port: 80
    targetPort: http
    protocol: TCP
    name: http
  selector:
    app: rollouts-demo
    # This selector will be updated with the pod-template-hash of the stable ReplicaSet. e.g.:
    # rollouts-pod-template-hash: 123746c88d

Rollout 업데이트의 수명 주기 동안 Argo Rollouts는 지속적으로 다음을 수행합니다.

  • canary Service의 spec.selector를 수정하여 canary ReplicaSet의 rollouts-pod-template-hash 라벨을 포함하게 함
  • stable Service의 spec.selector를 수정하여 stable ReplicaSet의 rollouts-pod-template-hash 라벨을 포함하게 함
  • VirtualService의 spec.http[].route[].weight를 현재 원하는 canary 가중치와 일치하도록 수정함

참고 (note)

Rollout은 VirtualService 또는 Istio 메시 내의 다른 필드에 대해 어떤 가정도 하지 않습니다. 사용자는 기본 라우트 또는 다른 라우트에 URI 재작성 규칙과 같은 VirtualService에 대한 추가 구성을 지정할 수 있습니다. 또한 각 서비스에 대해 특정 DestinationRule을 만들 수도 있습니다.

서브셋 레벨 트래픽 분할 (Subset-level Traffic Splitting)

중요 (important)

v1.0부터 사용 가능

Argo Rollouts와 Istio를 사용한 트래픽 분할의 두 번째 접근 방식은 두 개의 Istio DestinationRule 서브셋(canary 서브셋과 stable 서브셋) 사이에서 분할하는 것입니다. 사용자는 추가 서브셋 DestinationRule을 지정하여 트래픽을 보낼 수도 있습니다. DestinationRule 서브셋으로 분할할 때는 다음 리소스를 배포해야 합니다.

  • Rollout
  • Service
  • VirtualService
  • DestinationRule

Rollout은 다음 필드를 정의해야 합니다.

apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  name: rollout-example
spec:
  ...
  strategy:
    canary:
      trafficRouting:
        istio:
          virtualService:
            name: rollout-vsvc        # required
            routes:
            - primary                 # optional if there is a single route in VirtualService, required otherwise
          destinationRule:
            name: rollout-destrule    # required
            canarySubsetName: canary  # required
            stableSubsetName: stable  # required
      steps:
      - setWeight: 5
      - pause:
          duration: 10m

Rollout 파드를 타깃으로 하는 단일 Service를 정의해야 합니다. 첫 번째 접근 방식(여러 Service를 대상으로 트래픽을 분할하고 해당 Service가 canary/stable ReplicaSet의 rollouts-pod-template-hash를 포함하도록 수정)과 달리, 이 Service는 롤아웃 컨트롤러에 의해 수정되지 않습니다.

apiVersion: v1
kind: Service
metadata:
  name: rollout-example
spec:
  ports:
  - port: 80
    targetPort: http
    protocol: TCP
    name: http
  selector:
    app: rollout-example

VirtualService에는 Rollout에서 참조하는 이름을 가진 HTTP 라우트가 포함되어야 하며, 그 안의 두 라우트 대상의 subset 값이 Rollout에서 참조하는 canarySubsetName 및 stableSubsetName과 일치해야 합니다. Istio는 모든 가중치의 합이 100이 되도록 요구하므로, 초기 가중치는 stable에 100%, canary에 0%로 설정할 수 있습니다.

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: rollout-vsvc
spec:
  gateways:
  - istio-rollout-gateway
  hosts:
  - istio-rollout.dev.argoproj.io
  http:
  - name: primary       # referenced in canary.trafficRouting.istio.virtualService.routes
    route:
    - destination:
        host: rollout-example
        subset: stable  # referenced in canary.trafficRouting.istio.destinationRule.stableSubsetName
      weight: 100
    - destination:
        host: rollout-example
        subset: canary  # referenced in canary.trafficRouting.istio.destinationRule.canarySubsetName
      weight: 0

마지막으로, Rollout에서 참조하는 canary와 stable 서브셋을 포함한 DestinationRule입니다.

apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: rollout-destrule
spec:
  host: rollout-example
  subsets:
  - name: canary   # referenced in canary.trafficRouting.istio.destinationRule.canarySubsetName
    labels:        # labels will be injected with canary rollouts-pod-template-hash value
      app: rollout-example
  - name: stable   # referenced in canary.trafficRouting.istio.destinationRule.stableSubsetName
    labels:        # labels will be injected with stable rollouts-pod-template-hash value
      app: rollout-example

Istio DestinationRule을 사용하는 Rollout의 수명 주기 동안 Argo Rollouts는 지속적으로 다음을 수행합니다.

  • VirtualService의 spec.http[].route[].weight를 현재 원하는 canary 가중치와 일치하도록 수정함
  • DestinationRule의 spec.subsets[].labels을 수정하여 canary 및 stable ReplicaSet의 rollouts-pod-template-hash 라벨을 포함하게 함

추가 서브셋 DestinationRule (Additional Subset DestinationRule's)

Argo Rollouts는 추가 서브셋 DestinationRule을 추가할 수 있게 해 줍니다. 한 가지 사용 사례로, API 경로(예: /api/mypath)로 제공되는 추가 트래픽을 Argo Rollouts가 처리하는 서비스(stable 및 canary DestinationRule 보유)와 실험 이미지를 사용하는 서비스로 보내는 경우가 있습니다.

예를 들어 다음과 같은 서브셋을 가질 수 있습니다.

  • canary - 테스트 중인 새 버전
  • stable - 현재 프로덕션 버전
  • legacy - 하위 호환성을 위한 이전 버전
  • experimental - 실험적 기능이 포함된 버전

이 기능을 활성화하려면 일반 서브셋 DestinationRule 배포에 대한 위 단계를 따르세요. 그 후, canary 및 서브셋 DestinationRule을 포함한 VirtualService를 수정하여 추가 서브셋 이름과 원하는 트래픽 가중치를 포함하세요.

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: rollout-vsvc
spec:
  ...
  http:
  - name: primary
    route:
    - destination:
        host: rollout-example # same as the steps above
        subset: stable
      weight: 100 # you can leave this as 100, Argo Rollouts will handle the adjusted total weight so that the weights add up to 100%
    - destination:
        host: rollout-example
        subset: canary
      weight: 0
    - destination:
        host: experiment-host # this references the host of the additional Service (or whatever is configured by the additional Service)
        subset: experiment # new and additional subset DestinationRule, referencing the spec.subsets.name of the DestinationRule
      weight: 20

또한 추가 DestinationRule(추가 DestinationRule이 의존하는 Service, Deployment 등과 함께)을 적절한 spec.host, spec.subsets.name, spec.subsets.labels.app 필드와 함께 배포해야 합니다.

apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: experimental-destrule
spec:
  host: experimental-host
  exportTo:
    - .
    - ingress-system
  subsets:
    - name: experiment
      labels:
        app: experimental-host

마지막으로 Rollout 스펙에 추가 DestinationRule의 이름을 다음과 같이 추가하세요.

...
destinationRule:
  name: rollout-destrule    # required
  canarySubsetName: canary  # required
  stableSubsetName: stable  # required
  additionalSubsetNames:    # not required, optional
    ...                     # any other additional DestinationRule's
    - "experiment"

Argo Rollouts 컨트롤러는 canary와 stable 서브셋 간의 트래픽 가중치를 관리하며, 추가 서브셋 DestinationRule로 보내는 가중치를 stable 트래픽에서 차감합니다. 예: Stable은 처음에 100%에서 시작하지만, 추가 DestinationRule이 트래픽 가중치의 20%를 차지하면 실제로는 80%에서 시작합니다.

TCP 트래픽 분할 (TCP Traffic Splitting)

중요 (important)

v1.2.2부터 사용 가능

TCP 트래픽 분할 지원이 도입되었으며, Rollout이 다음 필드를 정의해야 합니다.

apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
  name: rollout-example
spec:
  ...
  strategy:
    canary:
      canaryService: canary-svc  # required
      stableService: stable-svc  # required
      trafficRouting:
        istio:
          virtualService:
            name: rollout-vsvc   # required
            tcpRoutes:
              # Below fields are optional but if defined, they should match exactly with at least one of the TCP route match rules in your VirtualService
              - port: 3000 # Only required if you want to match any rule in your VirtualService which contains this port
      steps:
      - setWeight: 5
      - pause:
          duration: 10m

VirtualService에는 Rollout에서 참조하는 일치 포트를 가진 TCP 라우트가 포함되어야 합니다.

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: rollout-vsvc
spec:
  gateways:
    - istio-rollout-gateway
  hosts:
    - istio-rollout.dev.argoproj.io
  tcp:
    - match:
        - port: 3000
      route:
        - destination:
            host: stable-svc # referenced in canary.stableService
          weight: 100
        - destination:
            host: canary-svc # referenced in canary.canaryService
          weight: 0

멀티클러스터 설정 (Multicluster Setup)

Istio 멀티클러스터 설정에서 Istio 기본(primary) 클러스터가 Argo Rollout 컨트롤러가 실행되는 클러스터와 다른 경우, 다음 설정을 수행해야 합니다.

  1. Istio primary 클러스터에 ServiceAccount를 만듭니다.
apiVersion: v1
kind: ServiceAccount
metadata:
  name: argo-rollouts-istio-primary
  namespace: <any-namespace-preferrably-config-namespace>
  1. Istio primary 클러스터에서 Rollout 컨트롤러에 대한 접근을 제공하는 ClusterRole을 만듭니다.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: argo-rollouts-istio-primary
rules:
- apiGroups:
  - networking.istio.io
  resources:
  - virtualservices
  - destinationrules
  verbs:
  - get
  - list
  - watch
  - update
  - patch

참고: Argo Rollout 컨트롤러가 Istio primary 클러스터에도 설치되어 있다면 새로 만들지 않고 argo-rollouts-clusterrole ClusterRole을 재사용할 수 있습니다.

  1. Istio primary 클러스터에서 ClusterRole을 ServiceAccount와 연결합니다.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: argo-rollouts-istio-primary
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: argo-rollouts-istio-primary
subjects:
- kind: ServiceAccount
  name: argo-rollouts-istio-primary
  namespace: <namespace-of-the-service-account>
  1. 이제 Rollout 컨트롤러가 Istio primary 클러스터에 접근할 수 있도록 secret을 생성하는 다음 명령을 사용합니다. 이 secret은 Argo Rollout이 실행되는 클러스터(즉, Istio remote 클러스터)에 적용되지만, Istio primary 클러스터에서 생성됩니다. 이 secret은 1단계 직후에 생성할 수 있으며, ServiceAccount만 존재하면 됩니다. 명령 참조.
istioctl x create-remote-secret --type remote --name <cluster-name> \
    --namespace <namespace-of-the-service-account> \
    --service-account <service-account-created-in-step1> \
    --context="<ISTIO_PRIMARY_CLUSTER>" | \
    kubectl apply -f - --context="<ARGO_ROLLOUT_CLUSTER/ISTIO_REMOTE_CLUSTER>"
  1. secret에 라벨을 붙입니다.
kubectl label secret <istio-remote-secret> istio.argoproj.io/primary-cluster="true" -n <namespace-of-the-secret>

접근 방식 비교 (Comparison Between Approaches)

호스트 레벨 트래픽 분할과 서브셋 레벨 트래픽 분할에는 각각 장단점이 있습니다.

DNS 요구 사항

호스트 레벨 분할에서는 VirtualService가 두 대상 사이에서 분할하기 위해 서로 다른 host 값을 필요로 합니다. 그러나 두 개의 host 값을 사용한다는 것은 서로 다른 DNS 이름(canary용 하나, stable용 하나)을 사용한다는 뜻입니다. Istio Gateway를 통해 Service에 도달하는 north-south 트래픽의 경우, canary 파드와 stable 파드에 도달하기 위해 여러 DNS 이름을 사용하는 것은 문제가 되지 않을 수 있습니다. 그러나 east-west 또는 클러스터 내부 트래픽의 경우, 마이크로서비스 간 통신이 stable DNS 이름과 canary DNS 이름 중 무엇을 선택할지, 게이트웨이를 거칠지, 아니면 VirtualService에 대한 DNS 항목을 추가할지 결정해야 합니다. 이러한 상황에서는 DestinationRule 서브셋 트래픽 분할이 클러스터 내부 canary에 더 나은 선택입니다.

메트릭

호스트 레벨 분할과 서브셋 레벨 분할 중 어떤 것을 선택하느냐에 따라 사용 가능한 prometheus 메트릭 스타일이 달라집니다. 예를 들어 호스트 레벨 분할을 사용하면 canary와 stable의 메트릭이 Istio Service 메트릭 대시보드에 표시됩니다.

Istio Service Metrics

반면에 서브셋으로 분할할 때는 workload 이름과 같은 다른 파라미터를 사용하여 prometheus를 쿼리해야 합니다.

Istio Workload Metrics

GitOps와의 통합 (Integrating with GitOps)

앞서 VirtualService는 초기 canary 및 stable 가중치를 각각 0과 100으로 배포해야 한다고 설명했습니다. 예:

  http:
  - name: primary
    route:
    - destination:
        host: stable-svc
      weight: 100
    - destination:
        host: canary-svc
      weight: 0

이것은 GitOps를 수행하는 사용자에게 문제를 일으킵니다. Rollout이 단계를 진행하면서 이러한 VirtualService 가중치를 수정하므로, VirtualService가 git에 있는 버전과 OutOfSync가 되어 버리기 때문입니다. 또한 Rollout이 이 상태(서비스 간 트래픽 분할 중)에 있을 때 git의 VirtualService를 적용하면, 적용 과정에서 가중치가 git의 값(즉 stable 100, canary 0)으로 되돌아갑니다.

Argo Rollouts에 구현된 보호 장치 중 하나는 관리되는 VirtualService의 변경을 지속적으로 감시하는 것입니다. git의 VirtualService를 사용해 kubectl apply가 발생하면, 롤아웃 컨트롤러가 변경을 즉시 감지하고 VirtualService 가중치를 Rollout의 해당 단계에 맞는 canary 가중치로 즉시 다시 설정합니다. 그러나 순간적인 가중치 변동(flapping)이 있으므로 이 동작을 이해해야 합니다.

Argo CD와 Argo Rollouts를 함께 사용할 때 이 동작을 방지하기 위한 모범 사례는 Argo CD의 다음 기능을 활용하는 것입니다.

  1. 애플리케이션이 VirtualService의 차이를 무시하도록 구성합니다. 예:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: guestbook
spec:
  ignoreDifferences:
  - group: networking.istio.io
    kind: VirtualService
    jqPathExpressions:
    - .spec.http[].route[].weight

VirtualService HTTP 라우트 가중치의 차이를 무시하면, VirtualService HTTP 라우트 가중치의 GitOps 차이가 Argo CD 애플리케이션의 전체 동기화 상태에 기여하지 않게 됩니다. 이는 auto-sync 작업이 트리거되는 것을 방지하는 추가 이점도 제공합니다.

  1. Application이 OutOfSync 리소스만 적용하도록 구성합니다.
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: guestbook
spec:
  syncPolicy:
    syncOptions:
    - ApplyOutOfSyncOnly=true
    - RespectIgnoreDifferences=true

기본적으로 Argo CD가 애플리케이션을 동기화할 때, 애플리케이션의 일부인 git의 모든 리소스에 대해 kubectl apply를 실행합니다. ApplyOutOfSyncOnly=true 동기화 옵션은 Argo CD가 이미 Synced로 간주하는 리소스의 적용을 건너뛰고 OutOfSync인 리소스만 적용하도록 지시합니다. 이 옵션을 ignoreDifferences 기능과 함께 사용하면 Argo CD와 Argo Rollouts 사이의 VirtualService 원하는 상태 충돌을 관리할 수 있습니다.

Argo CD의 diffing 동작에 대한 자세한 내용은 Argo CD 버전 2.3에서 도입된 managedFieldsManagers 옵션도 참고하세요.

핑퐁 (Ping Pong)

중요 (important)

v1.7부터 사용 가능

Argo Rollouts는 Istio를 사용할 때 핑퐁(ping pong)도 지원합니다. 이는 ALB와 Istio 트래픽 라우터를 동시에 구성하는 것을 지원하기 위해 추가되었습니다. ALB를 사용할 때, 특히 ALB readiness gate를 활성화한 경우 핑퐁은 일반적으로 모범 사례입니다. 그러나 rollout이 중단(abort)되었을 때 서비스 selector를 stable pod hash로 되돌리면, 라벨 변경으로 인해 ALB 컨트롤러가 잠시 동안 파드 readiness gate를 false로 설정하므로 트래픽 중단(blip)이 발생합니다. ALB와 Istio를 모두 핑퐁으로 구성하면 이 selector 변경이 발생하지 않으므로 어떤 중단도 발생하지 않습니다.

고려된 대안 (Alternatives Considered)

Virtual Service에 대한 Rollout 소유권

초기 설계 대안은 컨트롤러가 참조된 VirtualService를 수정하는 대신, Rollout 컨트롤러가 Virtual Service를 생성, 관리, 소유하는 것이었습니다. 이 접근 방식은 GitOps 친화적이지만 다른 문제점을 도입합니다.

  • Rollout 내에서 VirtualService를 참조하는 것과 동일한 유연성을 제공하려면 Rollout이 Istio 스펙의 많은 부분을 인라인해야 합니다. 그러나 네트워킹은 Rollout의 책임 범위 밖이므로 Rollout 스펙이 불필요하게 복잡해집니다.
  • Istio가 새 기능을 도입하면, Argo Rollouts 내에서 구현되기 전까지는 그 기능을 Argo Rollouts에서 사용할 수 없습니다.

이 두 문제 모두 Virtual Service를 참조하는 것에 비해 사용자와 Argo Rollouts 개발자에게 더 많은 복잡성을 더합니다.

SMI Adapter for Istio를 통한 Istio 지원

SMI는 Service Mesh Interface로, 서비스 메시의 모든 공통 기능에 대한 표준 인터페이스 역할을 합니다. 이 기능은 GitOps 친화적이지만, 네이티브 Istio는 SMI가 현재 제공하지 않는 추가 기능을 가지고 있습니다.

더 알아보기 (Learn more)

  • Argo Rollouts 트래픽 관리 개요와 라우터 종류 이해하기
  • ALB 트래픽 라우터를 사용한 getting-started 따라 해보기
  • Canary 배포 전략과 단계(step) 구성 익히기
  • Kubernetes Service, Ingress, Istio 네트워킹 리소스의 관계 이해하기