728x90
설치 요소
- istio
- kiali
- prometheus
Istio 를 Bastion Host에 설치한다.
$ curl -L https://istio.io/downloadIstio | sh -
$ cp istio-1.18.1/bin/istioctl /usr/local/bin/
$ istioctl profile list
$ istioctl install --set profile=demo -y
istio 사이드카를 붙이고 싶은 namespace에 라벨링을 한다.
$ kubectl label namespace development istio-injection=enabled
이제 Kiali 를 Operator로 설치해보자.
$ wget https://raw.githubusercontent.com/istio/istio/release-1.18/samples/addons/kiali.yaml
Ingress를 세팅하여 Kiali에 접근할 수 있도록 한다.(istio Gateway를 사용해도 된다.)
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: kiali
namespace: istio-system
spec:
rules:
- host: kiali.armyost.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: kiali
port:
number: 20001
Aggregate를 할 수 있도록 Prometheus를 설치하자.
$ wget https://raw.githubusercontent.com/istio/istio/release-1.8/samples/addons/prometheus.yaml
$ kubectl apply -f prometheus.yaml
설치 완료
'PaaS > 모니터링·로깅' 카테고리의 다른 글
(DataDog) Service Catalog 란? (1) | 2023.11.14 |
---|---|
(DataDog) Dashboard 메뉴 설명 (0) | 2023.11.14 |
(DataDog) Infrastructure 메뉴 설명 (0) | 2023.11.14 |
DataDog 오류 : Unable to detect the kubelet URL automatically: impossible to reach Kubelet with host (1) | 2023.11.13 |
DataDog 오류 : unable to reliably determine the host name (0) | 2023.11.13 |