일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- kolla-ansible
- cephadm
- Arch
- repository
- kolla
- port open
- Kubeflow
- k8s
- OpenStack
- Octavia
- archlinux
- i3
- awx
- KVM
- ubuntu
- Docker
- Ansible
- terraform
- golang
- Kubernetes
- nfs-provisioner
- libvirt
- Linux
- cloud-init
- ceph-ansible
- grafana-loki
- HTML
- yum
- pacman
- ceph
- Today
- Total
목록60.Cloud/80.Kubernetes (45)
YJWANG

https://yjwang.tistory.com/entry/Prometheus-kube-prometheus-stack-Rule-%EC%B6%94%EA%B0%80-Prometheus-Opertaor 위 게시글과 동일하게 kube-prometheus-stack 혹은 prometheus-operator 설치할 때 사용한 vaules.yaml를 사용할 예정입니다. 1. Slack Alarm 추가 사전에 Slack App에서 Incomming WebHook을 설정해놓으셔야합니다. refer to https://grafana.com/blog/2020/02/25/step-by-step-guide-to-setting-up-prometheus-alertmanager-with-slack-pagerduty-and-gmail..

Helm Chart 설치 시 사용했던 values 파일을 이용하여 Rule을 설정한다. root@master01:~/kube-prometheus-stack# vim /root/kube-prometheus-stack/values.yaml annotation을 추가해보려했으나 값이 없다고 에러가 발생한다. 아직 지원을 하지 않는 것인지 내가 못하는 것인지는 모르겠다. additionalPrometheusRulesMap: rule-name: groups: - name: testRule rules: - alert: test-alert-1 expr: up{service="p1-grafana"} == 1 for : 1m - alert: test-alert-2 expr: up{service="p1-grafana"} ..

프로메테우스 타임존 설정은 변경 불가 합니다. 아래 공식 문서에서 볼 수 있듯이 여러 Timezone 변경으로 인한 Data 충돌 문제를 방지하고자 UTC를 기본적으로 사용합니다. https://prometheus.io/docs/introduction/faq/#can-i-change-the-timezone-why-is-everything-in-utc 따라서 모니터링 된 데이터를 현재 Timezone으로 확인해야 하는 경우 Grafana에서 변경하면 됩니다. Grafana > Configuration > Preferences 혹은 각 Dashboard에서 설정할 수도 있습니다. Dashboard > Dashboard Settings > Timezone

refer to https://docs.gitlab.com/omnibus/docker/ 구성 storage provisioner가 구축된 상태가 전제이다. 내용을 모르겠다면 아래 포스팅을 참고하여 provisioner를 구축하고 진행해야한다. https://yjwang.tistory.com/entry/Jenkins-on-Kubernetes-NFS-Dynamic-PV manifest volume 매핑은 위 참고 사이트에서보고 작성했다. Local locationContainer locationUsage $GITLAB_HOME/data /var/opt/gitlab For storing application data. $GITLAB_HOME/logs /var/log/gitlab For storing logs...

refer to https://hub.docker.com/r/sonatype/nexus3 구성 사전에 provisioner가 구축돼야합니다. manifest --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: nexus-pvc namespace: default spec: storageClassName: jenkins-nfs accessModes: - ReadWriteMany resources: requests: storage: 20Gi --- apiVersion: apps/v1 kind: Deployment metadata: name: nexus namespace: default spec: replicas: 1 selector: matchLab..

Refer to 2021/01/06 - [80.Kubernetes] - Jenkins on Kubernetes (NFS Dynamic PV) 2021/01/13 - [80.Kubernetes] - How to set Helm on Kubernetes (helm v3) 구성 위 글들을 참고하여 helm 설치와 nfs-provisioner는 구성이 됐다는 가정 하에 작업이 진행된다. 본 작업에서는 bitnami helm repository를 사용할 예정이다. helm repo 추가 # helm repo add bitnami https://charts.bitnami.com/bitnami [root@master01 ~]# helm repo list NAME URL stable https://charts.helm..