Skip to content

wilump-labs/jaeger-in-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jaeger in action

What is Jaeger?

https://github.com/ruthetum/study/tree/main/jaeger

Installation

Jaeger를 운영환경에 적용할 때에는 all-in-one 보다는 Collector + Query + Agent 방식으로 적용

[Prerequisite] cert manager 설치 및 적용

cert-manager 미설치 시 operator 작동 시 에러 발생 (cert-manager 1.6.1 이상 필요)

install guide: https://cert-manager.io/v1.8-docs/installation/#default-static-install

install

curl -LJ kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.8.2/cert-manager.yaml >> cert-manager.yaml

apply

kubectl apply -f cert-manager.yaml

[Prerequisite] namespace 생성

kubectl create namespace observability

operator 설치 및 적용

install

curl -LJ https://github.com/jaegertracing/jaeger-operator/releases/download/v1.43.0/jaeger-operator.yaml >> operator.yaml

apply

CRD(Custom Resource Definition) 설치 (apiVersion: jaegertracing.io/v1)

kubectl create -f operator.yaml -n observability

storage 세팅

ElasticSearch 활용 (or Cassandra)

jaeger 적용

production strategy: https://www.jaegertracing.io/docs/1.43/operator/#production-strategy

kubectl apply -f jaeger.yaml -n observability

Deployment Strategy

  • AllInOne(default)

    This strategy is intended for development, testing, and demo purposes.

    The main backend components, agent, collector and query service, are all packaged into a single executable which is configured (by default) to use in-memory storage. This strategy cannot be scaled beyond one replica.

    • 메모리 내 저장소를 사용하여 올인원 이미지(jaeger-agent , jaeger-collector , jaeger-query 및 Jaeger-UI 결합)를 단일 포드에 배포
    • 운영용이 아닌 개발/테스트/데모용
  • Production

    The production strategy is intended (as the name suggests) for production environments, where long term storage of trace data is important, as well as a more scalable and highly available architecture is required. Each of the backend components is therefore separately deployed.

    • 운영용 배포 전략
  • Streaming

    The streaming strategy is designed to augment the production strategy by providing a streaming capability that effectively sits between the collector and the backend storage (Cassandra or Elasticsearch). This provides the benefit of reducing the pressure on the backend storage, under high load situations, and enables other trace post-processing capabilities to tap into the real time span data directly from the streaming platform (Kafka).

cluster role, cluster role binding 적용

sidecar 적용 시

kubectl create -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/cluster_role.yaml

kubectl create -f https://raw.githubusercontent.com/jaegertracing/jaeger-operator/master/deploy/cluster_role_binding.yaml

Reference

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published