• /
  • EnglishEspaΓ±olFranΓ§aisζ—₯本θͺžν•œκ΅­μ–΄PortuguΓͺs
  • λ‘œκ·ΈμΈμ§€κΈˆ μ‹œμž‘ν•˜κΈ°

μ‚¬μš©μžμ˜ 편의λ₯Ό μœ„ν•΄ μ œκ³΅λ˜λŠ” 기계 λ²ˆμ—­μž…λ‹ˆλ‹€.

영문본과 λ²ˆμ—­λ³Έμ΄ μΌμΉ˜ν•˜μ§€ μ•ŠλŠ” 경우 영문본이 μš°μ„ ν•©λ‹ˆλ‹€. 보닀 μžμ„Έν•œ λ‚΄μš©μ€ 이 νŽ˜μ΄μ§€λ₯Ό λ°©λ¬Έν•˜μ‹œκΈ° λ°”λžλ‹ˆλ‹€.

문제 μ‹ κ³ 

Istio κ΄€λ ¨ 문제

ν™˜κ²½μ— Istio와 Kubernetes 톡합이 λͺ¨λ‘ μ„€μΉ˜λ˜μ–΄ ν™œμ„±ν™”λ˜μ–΄ μžˆλŠ” 경우 λ¬Έμ œκ°€ λ°œμƒν•  수 μžˆμŠ΅λ‹ˆλ‹€. 이 νŽ˜μ΄μ§€μ—μ„œλŠ” Kubernetes 톡합이 μ„€μΉ˜λ  λ•Œ Istioμ—μ„œ λ°œμƒν•˜λŠ” μ΄λŸ¬ν•œ λ¬Έμ œμ— λŒ€ν•΄ μ„€λͺ…ν•©λ‹ˆλ‹€.

Istio ν΄λŸ¬μŠ€ν„°μ˜ xds_grpc μ§€ν‘œ

문제

ν΄λŸ¬μŠ€ν„°μ—μ„œ Istioκ°€ ν™œμ„±ν™”λ˜λ©΄ Istio 배포 Envoy ν”„λ‘μ‹œμ—λŠ” Prometheus μΈ‘μ •ν•­λͺ©μ„ λ…ΈμΆœν•˜λŠ” Prometheus μΈ‘μ •ν•­λͺ© μ—”λ“œν¬μΈνŠΈκ°€ μžˆμŠ΅λ‹ˆλ‹€.

μ΄λŸ¬ν•œ μΈ‘μ •ν•­λͺ©μ€ μ „μš© cluster_name κ³Ό xds-grpc둜 μ—°κ²°λ©λ‹ˆλ‹€. λ˜ν•œ New Relic Kubernetes ν†΅ν•©μ—μ„œ Prometheus μ—μ΄μ „νŠΈλ₯Ό ν™œμ„±ν™”ν•˜λ©΄ μ—μ΄μ „νŠΈλŠ” global.clusterλ₯Ό 톡해 μ •μ˜λœ cluster_name κ°€ μžˆλŠ” λ©”νŠΈλ¦­ 외에도 cluster_name κ°€ xds_grpc 인 μ΄λŸ¬ν•œ Envoy κ΄€λ ¨ λ©”νŠΈλ¦­μ„ μˆ˜μ§‘ν•©λ‹ˆλ‹€.

ν•΄κ²°μ±…

λ‹€μŒ 쿼리λ₯Ό μ‹€ν–‰ν•˜μ—¬ Envoy ν”„λ‘μ‹œ μΈ‘μ •ν•­λͺ©μ˜ 전체 λͺ©λ‘μ„ κ°€μ Έμ˜΅λ‹ˆλ‹€.

FROM `Metric`
SELECT uniques(metricName)
WHERE cluster_name = 'xds-grpc' SINCE 1 week ago

메타데이터 μ‚½μž… ν¬λ“œμ— λŒ€ν•΄ Istio λΉ„ν™œμ„±ν™”

문제

Istioκ°€ newrelic λ„€μž„μŠ€νŽ˜μ΄μŠ€μ—μ„œ ν™œμ„±ν™”λ˜λ©΄ 잠재적으둜 ν•΄λ‹Ή λ„€μž„μŠ€νŽ˜μ΄μŠ€ 내에 μžˆλŠ” New Relic Kubernetes 톡합 ν¬λ“œμ— λ¬Έμ œκ°€ λ°œμƒν•  수 μžˆμŠ΅λ‹ˆλ‹€. μ΄λŸ¬ν•œ λ¬Έμ œλŠ” ν¬λ“œκ°€ μ „ν˜€ μƒμ„±λ˜μ§€ μ•Šμ„ μ •λ„λ‘œ 심각할 수 μžˆμŠ΅λ‹ˆλ‹€.

μ΄λŸ¬ν•œ 문제의 μ˜ˆλŠ” Kubernetes 톡합 μ„€μΉ˜ 쀑에 λ°œμƒν•  수 μžˆμŠ΅λ‹ˆλ‹€. 이 였λ₯˜ λ©”μ‹œμ§€κ°€ ν‘œμ‹œλ˜λŠ” 경우:

bash
$
W0518 02:00:14.984463 1 client_config.go:615] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
$
{"err":"secrets \"newrelic-bundle-nri-metadata-injection-admission\" not found","level":"info","msg":"no secret found","source":"k8s/k8s.go:229","time":"2023-05-18T02:00:15Z"} {"level":"info","msg":"creating new secret","source":"cmd/create.go:28","time":"2023-05-18T02:00:15Z"} ...

μ΄λŠ” Istioκ°€ newrelic λ„€μž„μŠ€νŽ˜μ΄μŠ€μ—μ„œ ν™œμ„±ν™”λ  수 μžˆμŒμ„ λ‚˜νƒ€λƒ…λ‹ˆλ‹€. 이 경우 newrelic-bundle-nri-metadata-injection-admission-create μž‘μ—…μ΄ 비밀을 μ„±κ³΅μ μœΌλ‘œ μƒμ„±ν•œ 후에 envoy ν”„λ‘μ‹œκ°€ μ’…λ£Œλ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€. 결과적으둜 Kubernetes μž‘μ—…μ΄ μ§„ν–‰ 쀑 μ€‘λ‹¨λ˜κ³  μ™„λ£Œλ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

ν•΄κ²°μ±…

newrelic 라벨슀페이슀 λ‚΄ nri-metadata-injection νŒŒλ“œμ— λŒ€ν•œ Istio μ‚¬μ΄λ“œμΉ΄λ₯Ό λΉ„ν™œμ„±ν™”ν•˜λŠ” 것이 μ’‹μŠ΅λ‹ˆλ‹€. 이λ₯Ό λ‹¬μ„±ν•˜λ €λ©΄ nri-bundle 을 μ„€μΉ˜ν•  λ•Œ helm λͺ…령에 --set-string nri-metadata-injection.labels."sidecar\.istio\.io/inject"=false ν¬ν•¨ν•˜μ„Έμš”.

Copyright Β© 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.