| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- jenkins
- 로드밸런서 컨트롤러
- 딥레이서
- helm
- blue-green
- grafana on kubernetes
- 메탈LB
- github action 사용법
- Kubernets on Jenkins
- Prometheus install
- 쿠버네티스
- Solution Architecture
- 깃허브 액션
- LoadBalancer Controller
- terraform
- 솔데스크
- headless service
- livenessPorbe
- AWS 딥레이서
- kubernetes 동작 원리
- 쿠버네티스 컴포넌트
- EFS CSI Driver
- Aurora cluster
- EKS 클러스터
- SAA 합격 후기
- Kubernetes
- Firelens
- 딥레이서 보상함수
- 그라파나 대시보드
- 그라파나 시각화
Archives
mingming
ELK on Kubernetes - Kibana 본문
Kibana
Kibana 설치
NAME CHART VERSION APP VERSION DESCRIPTION
elastic/apm-attacher 0.1.0 A Helm chart installing the Elastic APM mutatin...
elastic/apm-server 8.5.1 8.5.1 Official Elastic helm chart for Elastic APM Server
elastic/eck-agent 0.8.0 Elastic Agent managed by the ECK operator
elastic/eck-beats 0.8.0 Elastic Beats managed by the ECK operator
elastic/eck-elasticsearch 0.8.0 Elasticsearch managed by the ECK operator
elastic/eck-fleet-server 0.8.0 Elastic Fleet Server as an Agent managed by the...
elastic/eck-kibana 0.8.0 Kibana managed by the ECK operator
elastic/eck-logstash 0.8.0 Logstash managed by the ECK operator
elastic/eck-operator 2.10.0 2.10.0 Elastic Cloud on Kubernetes (ECK) operator
elastic/eck-operator-crds 2.10.0 2.10.0 ECK operator Custom Resource Definitions
elastic/eck-stack 0.8.0 Elastic Stack managed by the ECK Operator
elastic/elasticsearch 8.5.1 8.5.1 Official Elastic helm chart for Elasticsearch
elastic/filebeat 8.5.1 8.5.1 Official Elastic helm chart for Filebeat
elastic/kibana 8.5.1 8.5.1 Official Elastic helm chart for Kibana
elastic/logstash 8.5.1 8.5.1 Official Elastic helm chart for Logstash
elastic/metricbeat 8.5.1 8.5.1 Official Elastic helm chart for Metricbeat
elastic/pf-host-agent 8.11.1 8.11.1 Hyperscaler software efficiency. For everybody.
values 파일 가져오기
kibana를 설치할 때는 별도로 건드려줘야 하는 부분은 없지만 그래도 내용은 확인해보는 것이 좋을 것 같습니다.
helm show values elastic/kibana > kibana-values.yaml
values 파일을 열어서 확인해보면 제일 상단에 elasticsearch로의 접속을 위한 인증서정보가 포함되어 있습니다.
해당 부분의 값으로 키바나의 볼륨과 마운트 경로가 지정됩니다.
---
elasticsearchHosts: "https://elasticsearch-master:9200"
elasticsearchCertificateSecret: elasticsearch-master-certs
elasticsearchCertificateAuthoritiesFile: ca.crt
elasticsearchCredentialSecret: elasticsearch-master-credentials
환경변수를 설정하는 필드입니다. nodejs가 사용하는 최대 힙사이즈를 지정하고 있습니다.
extraEnvs:
- name: "NODE_OPTIONS"
value: "--max-old-space-size=1800"
serverHost는 "0.0.0.0": 이 부분은 서버가 바인딩되는 호스트 주소를 지정합니다. 여기서 "0.0.0.0"은 모든 네트워크 인터페이스에서 들어오는 연결을 수락하는 것을 의미합니다. 일반적으로 서버를 외부로 공개하려는 경우 "0.0.0.0"을 사용합니다.
serverHost: "0.0.0.0"
readiness probe에 사용될 헬스체크 경로 입니다. api/status 경로를 주로 사용하는 것 같습니다.
healthCheckPath: "/app/kibana"
kibana의 환경설정 파일을 정의하는 필드입니다.
kibanaConfig: {}
# kibana.yml: |
# key:
# nestedkey: value
생성될 kibana의 service 오브젝트를 정의하는 필드입니다. 외부접근을 위해 type을 LoadBanacler 로 수정했습니다.
service:
type: LoadBalancer
loadBalancerIP: ""
port: 5601
nodePort: ""
labels: {}
annotations: {}
helm install
helm install kibana elastic/kibana -f kibana-values.yaml
Kibana 접속 테스트
kubectl get svc | grep kibana-kibana
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kibana-kibana LoadBalancer 10.233.22.145 192.168.56.128 5601:30689/TCP 59m
생성된 키바나의 서비스 ip의 5601 포트로 접속테스트 합니다.
접속하게 되면 username과 password를 입력하는 페이지가 나오고 elasticsearch의 username과 password로 로그인 할 수 있습니다.

정상적으로 로그인이 되면 다음과 같은페이지로 접속됩니다.

'ELK' 카테고리의 다른 글
| ElasticSearch - REST API (1) | 2023.12.09 |
|---|---|
| ElaticSearch - cluster 설정 및 role (1) | 2023.12.09 |
| ELK on Kubernetes - Logstash (4) | 2023.12.07 |
| ELK on Kubernetes - ElasticSearch (2) | 2023.12.06 |
| Kibana 설치 및 기본설정 및 ElasticSearch 연동 (4) | 2023.12.05 |