三个 bucket 名字填写在 loki-helm-values.yaml 的 loki.storage.bucketNames 下的三个参数,admin,chunks 和 ruler;access key 则填写到 loki.storage.s3 下的 secretAccessKey 和 accessKeyId。配置位置如下图。完成了 MinIO 的预配置后,我们就可以使用 helm 部署 Loki,具体步骤参考loki/loki-onetime-setup.sh。
安装minio 用于存储loki的index和chunk helm install minio ./minio -n loki 通过如下命令获取admin密码 kubectlgetsecrets-n loki minio data.root-password}'|base64-d 访问k8sip:30086,k8sip为k8s节点的ip 输入admin,和上面获取的密码 然后先后点击identity,users,create user,输入access key,secret key,勾选所有...
$ helm template --name stable --namespaces<your_namespace>. - | kubectl apply -f - 1. 2. 服务清理 如果部署过程中遇到问题要清理环境的话,执行如下命令: $ helm template --name stable --namespaces<your_namespace>. - | kubectl delete -f - 1. 提示:部署完成后Minio S3的默认认证信息如下: ...
$ helm template --name stable --namespaces <your_namespace> . - | kubectl apply -f - 服务清理 如果部署过程中遇到问题要清理环境的话,执行如下命令: $ helm template --name stable --namespaces <your_namespace> . - | kubectl delete -f - 提示:部署完成后Minio S3的默认认证信息如下: ACCESS_K...
$ helm upgrade --install minio -n logging -f ci/loki-values.yaml . Release "minio" does not exist. Installing it now. NAME: minio LAST DEPLOYED: Sun Jun 19 16:56:28 2022 NAMESPACE: logging STATUS: deployed REVISION: 1 TEST SUITE: None ...
$helmupgrade--installloki-nlogging-fci/minio-values.yaml.Release"loki"doesnotexist.Installingitnow.NAME:lokiLASTDEPLOYED:FriJun1714:53:202022NAMESPACE:loggingSTATUS:deployedREVISION:1TESTSUITE:NoneNOTES: ***WelcometoGrafanaLokiChartversion:1.4.1Lokiversion:2.5.0***Installedcomponents: *gateway*read*write...
$helm repo add minio https://helm.min.io/$helm pull minio/minio --untar --version 8.0.10$cdminio 创建一个如下所示的 values 文件: # ci/loki-values.yamlaccessKey:"myaccessKey"secretKey:"mysecretKey"persistence:enabled:truestorageClass:"local-path"accessMode:ReadWriteOncesize:5Giservice:type:...
{{- if .Values.minio.enabled -}} s3: endpoint: {{ include "loki.minio" $ }} bucketnames: {{ $.Values.loki.storage.bucketNames.chunks }} bucketnames: chunks secret_access_key: {{ $.Values.minio.rootPassword }} access_key_id: {{ $.Values.minio.rootUser }} s3forcepathstyle: true...
通过helm部署 进入helm 目录 代码语言:javascript 复制 $ cd loki-cluster-deploy/demo/helm/loki-cluster-demo 声明StorageClass 代码语言:javascript 复制 $ cat values.yaml...loki-minio:persistence:-name:datastorageClass:"<your-StorageClass>"size:10GiaccessMode:ReadWriteOncemount_path:/data ...
deps: update module github.com/minio/minio-go/v7 to v7.0.80 (#14654) (eec2513) deps: update module github.com/ncw/swift/v2 to v2.0.3 (#14356) (c843288) deps: update module github.com/prometheus/client_golang to v1.20.5 (#14655) (e12f843) deps: update module github.com/scholl...