
Botkube는 Kubernetes 클러스터를 모니터링하고 관리하기 위한 오픈소스 도구




Scopes:
Bot Permissions
settings:
clusterName: practice
communications:
'default-group':
discord:
enabled: true
token: '' # 토큰 입력
botID: '' # botID 입력
channels:
'default':
id: '' # channel id 입력
executors:
k8s-default-tools:
botkube/kubectl:
displayName: "Kubectl"
enabled: true
rbac:
groups:
'botkube-plugins-default':
create: true
rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: ["*"]
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: botkube
namespace: argo
spec:
project: default
destination:
name: ''
namespace: botkube
server: https://kubernetes.default.svc
sources:
- path: ''
repoURL: https://charts.botkube.io
targetRevision: v1.14.0
chart: botkube
helm:
valueFiles:
- $values/values/botkube/values.yaml
- ref: values
repoURL: https://<GIT_HOST>/<YOUR_ACCOUNT>/cluster-gitops.git
targetRevision: HEAD
# 이 파일에 내용 복사
vim botkube.yaml
# 내용 복사 후 실행
helm repo add botkube https://charts.botkube.io
helm repo update
helm install botkube botkube/botkube -f botkube.yaml -n botkube --create-namespace
# 위 명령어 실행 후 아래 명령어 실행
helm upgrade --install botkube botkube/botkube -f botkube.yaml -n botkube --create-namespace
