app_versions.json 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455
  1. {
  2. "1.0.24": {
  3. "healthy": true,
  4. "supported": true,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/charts/prometheus/1.0.24",
  7. "last_update": "2023-11-14 10:11:57",
  8. "required_features": [
  9. "normalize/ixVolume"
  10. ],
  11. "human_version": "v2.47.2_1.0.24",
  12. "version": "1.0.24",
  13. "chart_metadata": {
  14. "name": "prometheus",
  15. "description": "The Prometheus monitoring system and time series database.",
  16. "annotations": {
  17. "title": "Prometheus"
  18. },
  19. "type": "application",
  20. "version": "1.0.24",
  21. "apiVersion": "v2",
  22. "appVersion": "v2.47.2",
  23. "kubeVersion": ">=1.16.0-0",
  24. "maintainers": [
  25. {
  26. "name": "truenas",
  27. "url": "https://www.truenas.com/",
  28. "email": "dev@ixsystems.com"
  29. }
  30. ],
  31. "dependencies": [
  32. {
  33. "name": "common",
  34. "repository": "file://../../../common",
  35. "version": "1.2.2"
  36. }
  37. ],
  38. "home": "https://prometheus.io",
  39. "icon": "https://media.sys.truenas.net/apps/prometheus/icons/icon.png",
  40. "sources": [
  41. "https://github.com/prometheus/prometheus",
  42. "https://github.com/truenas/charts/tree/master/charts/prometheus",
  43. "https://prometheus.io"
  44. ],
  45. "keywords": [
  46. "metrics",
  47. "prometheus"
  48. ]
  49. },
  50. "app_metadata": {
  51. "runAsContext": [
  52. {
  53. "userName": "prometheus",
  54. "groupName": "prometheus",
  55. "gid": 568,
  56. "uid": 568,
  57. "description": "Prometheus can run as any non-root user."
  58. }
  59. ],
  60. "capabilities": [],
  61. "hostMounts": []
  62. },
  63. "schema": {
  64. "groups": [
  65. {
  66. "name": "Prometheus Configuration",
  67. "description": "Configure Prometheus"
  68. },
  69. {
  70. "name": "User and Group Configuration",
  71. "description": "Configure User and Group for Prometheus"
  72. },
  73. {
  74. "name": "Network Configuration",
  75. "description": "Configure Network for Prometheus"
  76. },
  77. {
  78. "name": "Storage Configuration",
  79. "description": "Configure Storage for Prometheus"
  80. },
  81. {
  82. "name": "Resources Configuration",
  83. "description": "Configure Resources for Prometheus"
  84. }
  85. ],
  86. "portals": {
  87. "web_portal": {
  88. "protocols": [
  89. "$kubernetes-resource_configmap_portal_protocol"
  90. ],
  91. "host": [
  92. "$kubernetes-resource_configmap_portal_host"
  93. ],
  94. "ports": [
  95. "$kubernetes-resource_configmap_portal_port"
  96. ],
  97. "path": "$kubernetes-resource_configmap_portal_path"
  98. }
  99. },
  100. "questions": [
  101. {
  102. "variable": "prometheusConfig",
  103. "label": "",
  104. "group": "Prometheus Configuration",
  105. "schema": {
  106. "type": "dict",
  107. "attrs": [
  108. {
  109. "variable": "retentionTime",
  110. "label": "Retention Time",
  111. "description": "The time to retain data for. Use the format 15d, 6w, 10y, etc.",
  112. "schema": {
  113. "type": "string",
  114. "default": "15d",
  115. "required": true
  116. }
  117. },
  118. {
  119. "variable": "retentionSize",
  120. "label": "Retention Size",
  121. "description": "The size to retain data for. Use the format 100MB, 10GB, etc.",
  122. "schema": {
  123. "type": "string",
  124. "default": ""
  125. }
  126. },
  127. {
  128. "variable": "walCompression",
  129. "label": "WAL Compression",
  130. "description": "Compress the time series database write-ahead log.",
  131. "schema": {
  132. "type": "boolean",
  133. "default": true
  134. }
  135. },
  136. {
  137. "variable": "additionalArgs",
  138. "label": "Additional Arguments",
  139. "description": "Configure additional arguments for Prometheus.",
  140. "schema": {
  141. "type": "list",
  142. "default": [],
  143. "items": [
  144. {
  145. "variable": "arg",
  146. "label": "Argument",
  147. "schema": {
  148. "type": "string",
  149. "required": true,
  150. "default": ""
  151. }
  152. }
  153. ]
  154. }
  155. },
  156. {
  157. "variable": "additionalEnvs",
  158. "label": "Additional Environment Variables",
  159. "description": "Configure additional environment variables for Prometheus.",
  160. "schema": {
  161. "type": "list",
  162. "default": [],
  163. "items": [
  164. {
  165. "variable": "env",
  166. "label": "Environment Variable",
  167. "schema": {
  168. "type": "dict",
  169. "attrs": [
  170. {
  171. "variable": "name",
  172. "label": "Name",
  173. "schema": {
  174. "type": "string",
  175. "required": true
  176. }
  177. },
  178. {
  179. "variable": "value",
  180. "label": "Value",
  181. "schema": {
  182. "type": "string",
  183. "required": true
  184. }
  185. }
  186. ]
  187. }
  188. }
  189. ]
  190. }
  191. }
  192. ]
  193. }
  194. },
  195. {
  196. "variable": "prometheusRunAs",
  197. "label": "",
  198. "group": "User and Group Configuration",
  199. "schema": {
  200. "type": "dict",
  201. "attrs": [
  202. {
  203. "variable": "user",
  204. "label": "User ID",
  205. "description": "The user id that Prometheus will run as.",
  206. "schema": {
  207. "type": "int",
  208. "min": 568,
  209. "default": 568,
  210. "required": true
  211. }
  212. },
  213. {
  214. "variable": "group",
  215. "label": "Group ID",
  216. "description": "The group id that Prometheus will run as.",
  217. "schema": {
  218. "type": "int",
  219. "min": 568,
  220. "default": 568,
  221. "required": true
  222. }
  223. }
  224. ]
  225. }
  226. },
  227. {
  228. "variable": "prometheusNetwork",
  229. "label": "",
  230. "group": "Network Configuration",
  231. "schema": {
  232. "type": "dict",
  233. "attrs": [
  234. {
  235. "variable": "apiPort",
  236. "label": "API Port",
  237. "description": "The port for the Prometheus API (And WebUI).",
  238. "schema": {
  239. "type": "int",
  240. "default": 30002,
  241. "min": 9000,
  242. "max": 65535,
  243. "required": true
  244. }
  245. },
  246. {
  247. "variable": "hostNetwork",
  248. "label": "Host Network",
  249. "description": "Bind to the host network. It's recommended to keep this disabled.\n",
  250. "schema": {
  251. "type": "boolean",
  252. "default": false
  253. }
  254. }
  255. ]
  256. }
  257. },
  258. {
  259. "variable": "prometheusStorage",
  260. "label": "",
  261. "group": "Storage Configuration",
  262. "schema": {
  263. "type": "dict",
  264. "attrs": [
  265. {
  266. "variable": "data",
  267. "label": "Prometheus Data Storage",
  268. "description": "The path to store Prometheus data/metrics.",
  269. "schema": {
  270. "type": "dict",
  271. "attrs": [
  272. {
  273. "variable": "type",
  274. "label": "Type",
  275. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  276. "schema": {
  277. "type": "string",
  278. "required": true,
  279. "immutable": true,
  280. "default": "ixVolume",
  281. "enum": [
  282. {
  283. "value": "hostPath",
  284. "description": "Host Path (Path that already exists on the system)"
  285. },
  286. {
  287. "value": "ixVolume",
  288. "description": "ixVolume (Dataset created automatically by the system)"
  289. }
  290. ]
  291. }
  292. },
  293. {
  294. "variable": "datasetName",
  295. "label": "Dataset Name",
  296. "schema": {
  297. "type": "string",
  298. "show_if": [
  299. [
  300. "type",
  301. "=",
  302. "ixVolume"
  303. ]
  304. ],
  305. "required": true,
  306. "hidden": true,
  307. "immutable": true,
  308. "default": "data",
  309. "$ref": [
  310. "normalize/ixVolume"
  311. ]
  312. }
  313. },
  314. {
  315. "variable": "hostPath",
  316. "label": "Host Path",
  317. "schema": {
  318. "type": "hostpath",
  319. "show_if": [
  320. [
  321. "type",
  322. "=",
  323. "hostPath"
  324. ]
  325. ],
  326. "immutable": true,
  327. "required": true
  328. }
  329. }
  330. ]
  331. }
  332. },
  333. {
  334. "variable": "config",
  335. "label": "Prometheus Config Storage",
  336. "description": "The path to store Prometheus config storage.",
  337. "schema": {
  338. "type": "dict",
  339. "attrs": [
  340. {
  341. "variable": "type",
  342. "label": "Type",
  343. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  344. "schema": {
  345. "type": "string",
  346. "required": true,
  347. "immutable": true,
  348. "default": "ixVolume",
  349. "enum": [
  350. {
  351. "value": "hostPath",
  352. "description": "Host Path (Path that already exists on the system)"
  353. },
  354. {
  355. "value": "ixVolume",
  356. "description": "ixVolume (Dataset created automatically by the system)"
  357. }
  358. ]
  359. }
  360. },
  361. {
  362. "variable": "datasetName",
  363. "label": "Dataset Name",
  364. "schema": {
  365. "type": "string",
  366. "show_if": [
  367. [
  368. "type",
  369. "=",
  370. "ixVolume"
  371. ]
  372. ],
  373. "required": true,
  374. "hidden": true,
  375. "immutable": true,
  376. "default": "config",
  377. "$ref": [
  378. "normalize/ixVolume"
  379. ]
  380. }
  381. },
  382. {
  383. "variable": "hostPath",
  384. "label": "Host Path",
  385. "schema": {
  386. "type": "hostpath",
  387. "show_if": [
  388. [
  389. "type",
  390. "=",
  391. "hostPath"
  392. ]
  393. ],
  394. "immutable": true,
  395. "required": true
  396. }
  397. }
  398. ]
  399. }
  400. }
  401. ]
  402. }
  403. },
  404. {
  405. "variable": "resources",
  406. "label": "",
  407. "group": "Resources Configuration",
  408. "schema": {
  409. "type": "dict",
  410. "attrs": [
  411. {
  412. "variable": "limits",
  413. "label": "Limits",
  414. "schema": {
  415. "type": "dict",
  416. "attrs": [
  417. {
  418. "variable": "cpu",
  419. "label": "CPU",
  420. "description": "CPU limit for Prometheus.",
  421. "schema": {
  422. "type": "string",
  423. "max_length": 6,
  424. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  425. "valid_chars_error": "Valid CPU limit formats are</br>\n- Plain Integer - eg. 1</br>\n- Float - eg. 0.5</br>\n- Milicpu - eg. 500m\n",
  426. "default": "4000m",
  427. "required": true
  428. }
  429. },
  430. {
  431. "variable": "memory",
  432. "label": "Memory",
  433. "description": "Memory limit for Prometheus.",
  434. "schema": {
  435. "type": "string",
  436. "max_length": 12,
  437. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  438. "valid_chars_error": "Valid Memory limit formats are</br>\n- Suffixed with E/P/T/G/M/K - eg. 1G</br>\n- Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>\n- Plain Integer in bytes - eg. 1024</br>\n- Exponent - eg. 134e6\n",
  439. "default": "8Gi",
  440. "required": true
  441. }
  442. }
  443. ]
  444. }
  445. }
  446. ]
  447. }
  448. }
  449. ]
  450. },
  451. "app_readme": "<h1>Prometheus</h1>\n<p><a href=\"https://prometheus.io/\">Prometheus</a> - Monitoring system and time series database.</p>\n<blockquote>\n<p>When application is installed, a container will be launched with <strong>root</strong> privileges.\nThis is required in order to apply the correct permissions to the <code>prometheus</code> directories.\nAfterward, the <code>prometheus</code> container will run as a <strong>non</strong>-root user (Default: <code>568</code>).\nAlso an empty configuration file will be created.</p>\n</blockquote>\n<p>The configuration file is located at <code>/config/prometheus.yml</code> inside the container.\nData is stored at <code>/data</code> inside the container.</p>",
  452. "detailed_readme": "<h1>Prometheus</h1>\n<p><a href=\"https://prometheus.io/\">Prometheus</a> - Monitoring system and time series database.</p>\n<blockquote>\n<p>When application is installed, a container will be launched with <strong>root</strong> privileges.\nThis is required in order to apply the correct permissions to the <code>prometheus</code> directories.\nAfterward, the <code>prometheus</code> container will run as a <strong>non</strong>-root user (Default: <code>568</code>).\nAlso an empty configuration file will be created.</p>\n</blockquote>\n<p>The configuration file is located at <code>/config/prometheus.yml</code> inside the container.\nData is stored at <code>/data</code> inside the container.</p>",
  453. "changelog": null
  454. }
  455. }