feat: add minio service monitor
This commit is contained in:
parent
eb5952912b
commit
abe2a50d5f
|
@ -39,6 +39,20 @@ spec:
|
|||
enabled: true
|
||||
port: &api-port 9000
|
||||
|
||||
serviceMonitor:
|
||||
main:
|
||||
enabled: true
|
||||
labels:
|
||||
release: kube-prometheus-stack
|
||||
endpoints:
|
||||
- port: http
|
||||
interval: 60s
|
||||
scrapeTimeout: 5s
|
||||
path: /minio/v2/metrics/cluster
|
||||
bearerTokenSecret:
|
||||
name: minio-metrics-token
|
||||
key: bearerToken
|
||||
|
||||
probes:
|
||||
liveness: &probes
|
||||
enabled: true
|
||||
|
|
|
@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./minio.sops.yaml
|
||||
- ./metrics-token.sops.yaml
|
||||
- ./helm-release.yaml
|
|
@ -0,0 +1,58 @@
|
|||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: minio-metrics-token
|
||||
namespace: database
|
||||
stringData:
|
||||
bearerToken: ENC[AES256_GCM,data:xzdO/l0rEeijc9aghhBjD8z10VF/Rr4GODlpMf/uNP0=,iv:nNWSOtq79yHyNt56z/LMVSRxBbNY0ELPKc0YQ7vSZy8=,tag:LTVJijv2ek66U8wRYbAKxA==,type:str]
|
||||
sops:
|
||||
kms: []
|
||||
gcp_kms: []
|
||||
azure_kv: []
|
||||
hc_vault: []
|
||||
age: []
|
||||
lastmodified: "2023-08-25T14:20:38Z"
|
||||
mac: ENC[AES256_GCM,data:nrUZjrtseBMo8f6ijdzkjZH5zKIduB3DJ49DFbCfY4apoHoWZMrs9PjDzOZqC9rFuimLuEu/XItFH4H/kdkDY/OVhvFTDfRPfzLofUbyBnYYc1TMS5EXnjMONADHzl3ArCRVf9d+wmqOYHKvomyJjH7o22uETrVUiU6pEl9y9TI=,iv:JspccWhQQV8hhaa46sFS84p/IHGLXPtWwHIOgXS6+q0=,tag:tnFUaedn1NZ+5E08JUcjxQ==,type:str]
|
||||
pgp:
|
||||
- created_at: "2023-08-25T14:20:37Z"
|
||||
enc: |
|
||||
-----BEGIN PGP MESSAGE-----
|
||||
|
||||
hQIMAzKleRwoSoixARAAjAIBmDQIR3Atzu3PN1Jfgf6ft0fu5NyyR7XRPws+ZW0o
|
||||
5eIxPPINhBqjQGI2+d835J1YQHSgptmCfXarlBWL5D4Eyp8HTySxzIP2Pdz3x+c0
|
||||
5+tBgSuRu0yDoDK0PFgGFfisdbKbWAGtuGRjaeMgPEUtT8M6HhF0eQmH6krotupM
|
||||
X5+Q4rrl4odkQOo2bwiH/M4AbHG6pEwfCFShPYotktUMwCkYRsAsASG3bCQXgBRb
|
||||
gvgBFsnKCppHekY/vVRbPZQ4G25YWl0N0dVP1V5xV3blIeZsT5/atXH9m+1as+OD
|
||||
8v7T90gDqeOcNqKNlIT70sf8KBBvMLP7P3hR6DsZJYqjDrpMwbUg+peztnZY5WYt
|
||||
zR+wxvCzafV/TNL9jHWHVp5YRgBUKP5sLE/tpSVX1C8NmctSr8aoRVLeG3yQHI13
|
||||
fGlm6EdM0safOpolBLr1kYCZ0XvIDBMGlZ53/G1909Fu6mZGLFbi5iGH4EQzXM/i
|
||||
dkzEa98HteQH/GDJ8wRG37czI5fIDBVj5LDMu6TFzjiboKrtAKCeblj+ZDm8Mpd9
|
||||
rhdWqB6uiPbDnHbGhy0BZgq+2jZ+23KxtGPOw0nEp4IR/XHIB5C7QFBYQ0irwtv9
|
||||
KnQ4RfP2VATwkgzO1eIzTQylVim5rbGfkRV+gBplI5HYg5peBR7ssQ6cakSkyWPS
|
||||
XgGJI1PRKqZloP8mNygkjrqYmFQkVjifN83FGA+Ql3+B+kg5ZsigJS83a3qH2j+B
|
||||
9AHEAUF7k0xUxcBLkdkBGN3ld/ifnPkFor7D4DqUp0ghWz8jNtOiUiK2w5OMvWw=
|
||||
=QqT3
|
||||
-----END PGP MESSAGE-----
|
||||
fp: 2CC2B3631D5C3393901335DB68F95C5D753EE1E5
|
||||
- created_at: "2023-08-25T14:20:37Z"
|
||||
enc: |
|
||||
-----BEGIN PGP MESSAGE-----
|
||||
|
||||
hQIMAy5t8IMoPu4VAQ//a9DuH+87/7zxCEPKoNFeV4i258+1iUcURFp55JVlEOGe
|
||||
riZ/YRJRQYNUbmnkq5dNi/sWbth+BGkviT94NdYcaWNK3GjwqwVTB/x62Iq3IRy3
|
||||
pKqoD5yOW0tMdHZyVwslfeK16wI4QeNAnUCbyJOKHwIeJGhKY+k3pNBvKxI9oPYo
|
||||
FJIFlITA/CFjNSWQO4WASmmCQcuTCMe50lIA5RydjeEtL7iJGOn1Kch7CDoQB8dF
|
||||
2AhiYP2suK+Gj0M5lH3ak4/SiDbfkK2u2Y2RZXzyY2Kk6HSX9mZC16juOPgdP3f9
|
||||
AiJixzpX0/VqVft0RMSRsOSMjattorjnkEDK3YucxHplqgvfJV4G7x3L91mofIDw
|
||||
39aGGc5gYGGEG1ZHxtxXzBHph5dxddemClXAHre/ZCZcuJ2O2kChMrranml4cnwi
|
||||
Ec8r82yl/HKI0y6vXcQa4676Ix4Yq4PHkdtqR77TE7OlfdpHHSayXkxPplmSRR7Q
|
||||
eKizIm+cUsbaTNDp/xkCDODcojjtSBTVNdMMy44bKSdXCNB/M24x7pQL6Ud77Yl2
|
||||
ohwVlphV8NzZTMjILF+eplJ5lJw7Q9+m+3+OuugM1cPoko/7YumolBwVyh+YbmcA
|
||||
rlpYth2uyk9/FEkodRdsGYOu0xYWoqRg2KSEs5YNlMH38cbb7tXVPnYxQOVa42zS
|
||||
XgFrxTWSxbVojvTJnC7Kx6clJnpiYk0DCqb0kULEY1/MOlF2JVMZCY6hJ8j4wjv9
|
||||
o2NGyeQiw5JgCZw8KXLt933LCMZCIpaMUVI5lUUR/jsJ6hrqDygD8vY8Wx6l4E4=
|
||||
=n8HH
|
||||
-----END PGP MESSAGE-----
|
||||
fp: 687802D4DFD8AA82EA55666CF7DADAC782D7663D
|
||||
encrypted_regex: ^(data|stringData)$
|
||||
version: 3.7.3
|
Loading…
Reference in New Issue