@intentius/chant-lexicon-k8s 0.106.3 → 0.107.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/dist/codegen/naming.d.ts.map +1 -1
  2. package/dist/codegen/versions.d.ts +5 -2
  3. package/dist/codegen/versions.d.ts.map +1 -1
  4. package/dist/composites/adot-collector.d.ts +6 -5
  5. package/dist/composites/adot-collector.d.ts.map +1 -1
  6. package/dist/composites/agic-ingress.d.ts +2 -1
  7. package/dist/composites/agic-ingress.d.ts.map +1 -1
  8. package/dist/composites/aks-external-dns-agent.d.ts +5 -4
  9. package/dist/composites/aks-external-dns-agent.d.ts.map +1 -1
  10. package/dist/composites/alb-ingress.d.ts +2 -1
  11. package/dist/composites/alb-ingress.d.ts.map +1 -1
  12. package/dist/composites/argo-app.d.ts +4 -3
  13. package/dist/composites/argo-app.d.ts.map +1 -1
  14. package/dist/composites/autoscaled-service.d.ts +5 -4
  15. package/dist/composites/autoscaled-service.d.ts.map +1 -1
  16. package/dist/composites/azure-disk-storage-class.d.ts +2 -1
  17. package/dist/composites/azure-disk-storage-class.d.ts.map +1 -1
  18. package/dist/composites/azure-file-storage-class.d.ts +2 -1
  19. package/dist/composites/azure-file-storage-class.d.ts.map +1 -1
  20. package/dist/composites/azure-monitor-collector.d.ts +6 -5
  21. package/dist/composites/azure-monitor-collector.d.ts.map +1 -1
  22. package/dist/composites/batch-job.d.ts +5 -4
  23. package/dist/composites/batch-job.d.ts.map +1 -1
  24. package/dist/composites/catalog.d.ts.map +1 -1
  25. package/dist/composites/cockroachdb-cluster.d.ts +12 -11
  26. package/dist/composites/cockroachdb-cluster.d.ts.map +1 -1
  27. package/dist/composites/configured-app.d.ts +4 -3
  28. package/dist/composites/configured-app.d.ts.map +1 -1
  29. package/dist/composites/cron-workload.d.ts +5 -4
  30. package/dist/composites/cron-workload.d.ts.map +1 -1
  31. package/dist/composites/ebs-storage-class.d.ts +2 -1
  32. package/dist/composites/ebs-storage-class.d.ts.map +1 -1
  33. package/dist/composites/efs-storage-class.d.ts +2 -1
  34. package/dist/composites/efs-storage-class.d.ts.map +1 -1
  35. package/dist/composites/external-dns-agent.d.ts +5 -4
  36. package/dist/composites/external-dns-agent.d.ts.map +1 -1
  37. package/dist/composites/filestore-storage-class.d.ts +2 -1
  38. package/dist/composites/filestore-storage-class.d.ts.map +1 -1
  39. package/dist/composites/fluent-bit-agent.d.ts +6 -5
  40. package/dist/composites/fluent-bit-agent.d.ts.map +1 -1
  41. package/dist/composites/flux-app.d.ts +3 -2
  42. package/dist/composites/flux-app.d.ts.map +1 -1
  43. package/dist/composites/gce-ingress.d.ts +2 -1
  44. package/dist/composites/gce-ingress.d.ts.map +1 -1
  45. package/dist/composites/gce-pd-storage-class.d.ts +2 -1
  46. package/dist/composites/gce-pd-storage-class.d.ts.map +1 -1
  47. package/dist/composites/gke-external-dns-agent.d.ts +5 -4
  48. package/dist/composites/gke-external-dns-agent.d.ts.map +1 -1
  49. package/dist/composites/gke-fluent-bit-agent.d.ts +6 -5
  50. package/dist/composites/gke-fluent-bit-agent.d.ts.map +1 -1
  51. package/dist/composites/gke-otel-collector.d.ts +6 -5
  52. package/dist/composites/gke-otel-collector.d.ts.map +1 -1
  53. package/dist/composites/index.d.ts +2 -0
  54. package/dist/composites/index.d.ts.map +1 -1
  55. package/dist/composites/inference-service.d.ts +2 -1
  56. package/dist/composites/inference-service.d.ts.map +1 -1
  57. package/dist/composites/irsa-service-account.d.ts +4 -3
  58. package/dist/composites/irsa-service-account.d.ts.map +1 -1
  59. package/dist/composites/member-defaults.d.ts +21 -0
  60. package/dist/composites/member-defaults.d.ts.map +1 -0
  61. package/dist/composites/metrics-server.d.ts +9 -8
  62. package/dist/composites/metrics-server.d.ts.map +1 -1
  63. package/dist/composites/model.d.ts +2 -1
  64. package/dist/composites/model.d.ts.map +1 -1
  65. package/dist/composites/monitored-service.d.ts +5 -4
  66. package/dist/composites/monitored-service.d.ts.map +1 -1
  67. package/dist/composites/namespace-env.d.ts +5 -4
  68. package/dist/composites/namespace-env.d.ts.map +1 -1
  69. package/dist/composites/network-isolated-app.d.ts +4 -3
  70. package/dist/composites/network-isolated-app.d.ts.map +1 -1
  71. package/dist/composites/node-agent.d.ts +6 -5
  72. package/dist/composites/node-agent.d.ts.map +1 -1
  73. package/dist/composites/operator-stack.d.ts +6 -5
  74. package/dist/composites/operator-stack.d.ts.map +1 -1
  75. package/dist/composites/otel-collector-agent.d.ts +6 -5
  76. package/dist/composites/otel-collector-agent.d.ts.map +1 -1
  77. package/dist/composites/otel-collector-gateway.d.ts +11 -10
  78. package/dist/composites/otel-collector-gateway.d.ts.map +1 -1
  79. package/dist/composites/otel-collector-rbac.d.ts +3 -2
  80. package/dist/composites/otel-collector-rbac.d.ts.map +1 -1
  81. package/dist/composites/otel-collector-shape.d.ts +2 -0
  82. package/dist/composites/otel-collector-shape.d.ts.map +1 -1
  83. package/dist/composites/otel-collector.d.ts +9 -8
  84. package/dist/composites/otel-collector.d.ts.map +1 -1
  85. package/dist/composites/otel-operator-collector.d.ts +101 -0
  86. package/dist/composites/otel-operator-collector.d.ts.map +1 -0
  87. package/dist/composites/ray-cluster.d.ts +10 -9
  88. package/dist/composites/ray-cluster.d.ts.map +1 -1
  89. package/dist/composites/ray-job.d.ts +7 -6
  90. package/dist/composites/ray-job.d.ts.map +1 -1
  91. package/dist/composites/ray-service.d.ts +9 -8
  92. package/dist/composites/ray-service.d.ts.map +1 -1
  93. package/dist/composites/secure-ingress.d.ts +3 -2
  94. package/dist/composites/secure-ingress.d.ts.map +1 -1
  95. package/dist/composites/sidecar-app.d.ts +3 -2
  96. package/dist/composites/sidecar-app.d.ts.map +1 -1
  97. package/dist/composites/stateful-app.d.ts +4 -3
  98. package/dist/composites/stateful-app.d.ts.map +1 -1
  99. package/dist/composites/vllm-serving-runtime.d.ts +2 -1
  100. package/dist/composites/vllm-serving-runtime.d.ts.map +1 -1
  101. package/dist/composites/web-app.d.ts +5 -4
  102. package/dist/composites/web-app.d.ts.map +1 -1
  103. package/dist/composites/worker-pool.d.ts +8 -7
  104. package/dist/composites/worker-pool.d.ts.map +1 -1
  105. package/dist/composites/workload-identity-sa.d.ts +4 -3
  106. package/dist/composites/workload-identity-sa.d.ts.map +1 -1
  107. package/dist/composites/workload-identity-service-account.d.ts +4 -3
  108. package/dist/composites/workload-identity-service-account.d.ts.map +1 -1
  109. package/dist/crd/crd-sources.d.ts.map +1 -1
  110. package/dist/generated/index.d.d.ts +8822 -0
  111. package/dist/generated/index.d.ts +301 -0
  112. package/dist/generated/index.d.ts.map +1 -1
  113. package/dist/group-namespace.d.ts.map +1 -1
  114. package/dist/import/embedded.d.ts +3 -0
  115. package/dist/import/embedded.d.ts.map +1 -1
  116. package/dist/index.d.ts +2 -2
  117. package/dist/index.d.ts.map +1 -1
  118. package/dist/integrity.json +16 -9
  119. package/dist/lint/audit-catalog.d.ts.map +1 -1
  120. package/dist/lint/post-synth/index.d.ts.map +1 -1
  121. package/dist/lint/post-synth/monitoring-selection-helpers.d.ts +55 -0
  122. package/dist/lint/post-synth/monitoring-selection-helpers.d.ts.map +1 -0
  123. package/dist/lint/post-synth/otel-placement-helpers.d.ts +16 -0
  124. package/dist/lint/post-synth/otel-placement-helpers.d.ts.map +1 -1
  125. package/dist/lint/post-synth/wk8604.d.ts +6 -0
  126. package/dist/lint/post-synth/wk8604.d.ts.map +1 -1
  127. package/dist/lint/post-synth/wk8605.d.ts.map +1 -1
  128. package/dist/lint/post-synth/wk8606.d.ts +17 -0
  129. package/dist/lint/post-synth/wk8606.d.ts.map +1 -0
  130. package/dist/lint/post-synth/wk8701.d.ts +17 -0
  131. package/dist/lint/post-synth/wk8701.d.ts.map +1 -0
  132. package/dist/lint/post-synth/wk8702.d.ts +17 -0
  133. package/dist/lint/post-synth/wk8702.d.ts.map +1 -0
  134. package/dist/lint/post-synth/wk8703.d.ts +17 -0
  135. package/dist/lint/post-synth/wk8703.d.ts.map +1 -0
  136. package/dist/lint/post-synth/wk8704.d.ts +21 -0
  137. package/dist/lint/post-synth/wk8704.d.ts.map +1 -0
  138. package/dist/lint/post-synth/wk8705.d.ts +18 -0
  139. package/dist/lint/post-synth/wk8705.d.ts.map +1 -0
  140. package/dist/manifest.json +1 -1
  141. package/dist/meta.json +2284 -370
  142. package/dist/okf/index.md +20 -1
  143. package/dist/okf/rules/WK8604.md +6 -2
  144. package/dist/okf/rules/WK8605.md +4 -0
  145. package/dist/okf/rules/WK8606.md +15 -0
  146. package/dist/okf/rules/WK8701.md +18 -0
  147. package/dist/okf/rules/WK8702.md +20 -0
  148. package/dist/okf/rules/WK8703.md +17 -0
  149. package/dist/okf/rules/WK8704.md +22 -0
  150. package/dist/okf/rules/WK8705.md +18 -0
  151. package/dist/okf/types/Alertmanager.md +18 -0
  152. package/dist/okf/types/AlertmanagerConfig.md +18 -0
  153. package/dist/okf/types/ClusterObservability.md +14 -0
  154. package/dist/okf/types/CronJob.md +1 -0
  155. package/dist/okf/types/DaemonSet.md +1 -0
  156. package/dist/okf/types/Instrumentation.md +14 -0
  157. package/dist/okf/types/MonitoringProbe.md +14 -0
  158. package/dist/okf/types/Namespace.md +3 -0
  159. package/dist/okf/types/OpAMPBridge.md +14 -0
  160. package/dist/okf/types/OpenTelemetryCollector.md +19 -0
  161. package/dist/okf/types/Pod.md +1 -0
  162. package/dist/okf/types/PodMonitor.md +20 -0
  163. package/dist/okf/types/Prometheus.md +21 -0
  164. package/dist/okf/types/PrometheusAgent.md +18 -0
  165. package/dist/okf/types/PrometheusRule.md +6 -1
  166. package/dist/okf/types/ScrapeConfig.md +19 -0
  167. package/dist/okf/types/Service.md +1 -0
  168. package/dist/okf/types/ServiceMonitor.md +7 -1
  169. package/dist/okf/types/StatefulSet.md +1 -0
  170. package/dist/okf/types/TargetAllocator.md +14 -0
  171. package/dist/okf/types/ThanosRuler.md +18 -0
  172. package/dist/rules/monitoring-selection-helpers.ts +185 -0
  173. package/dist/rules/otel-placement-helpers.ts +61 -1
  174. package/dist/rules/wk8601.ts +1 -1
  175. package/dist/rules/wk8603.ts +1 -1
  176. package/dist/rules/wk8604.ts +8 -2
  177. package/dist/rules/wk8605.ts +5 -3
  178. package/dist/rules/wk8606.ts +27 -0
  179. package/dist/rules/wk8701.ts +37 -0
  180. package/dist/rules/wk8702.ts +43 -0
  181. package/dist/rules/wk8703.ts +37 -0
  182. package/dist/rules/wk8704.ts +134 -0
  183. package/dist/rules/wk8705.ts +45 -0
  184. package/dist/types/index.d.ts +172 -2
  185. package/package.json +4 -4
  186. package/src/codegen/naming.ts +15 -1
  187. package/src/codegen/versions.ts +6 -2
  188. package/src/composites/adot-collector.ts +6 -5
  189. package/src/composites/agic-ingress.ts +2 -1
  190. package/src/composites/aks-external-dns-agent.ts +5 -4
  191. package/src/composites/alb-ingress.ts +2 -1
  192. package/src/composites/argo-app.ts +4 -3
  193. package/src/composites/autoscaled-service.ts +5 -4
  194. package/src/composites/azure-disk-storage-class.ts +2 -1
  195. package/src/composites/azure-file-storage-class.ts +2 -1
  196. package/src/composites/azure-monitor-collector.ts +6 -5
  197. package/src/composites/batch-job.ts +5 -4
  198. package/src/composites/catalog.ts +105 -0
  199. package/src/composites/cockroachdb-cluster.ts +12 -11
  200. package/src/composites/configured-app.ts +4 -3
  201. package/src/composites/cron-workload.ts +5 -4
  202. package/src/composites/ebs-storage-class.ts +2 -1
  203. package/src/composites/efs-storage-class.ts +2 -1
  204. package/src/composites/external-dns-agent.ts +5 -4
  205. package/src/composites/filestore-storage-class.ts +2 -1
  206. package/src/composites/fluent-bit-agent.ts +6 -5
  207. package/src/composites/flux-app.ts +3 -2
  208. package/src/composites/gce-ingress.ts +2 -1
  209. package/src/composites/gce-pd-storage-class.ts +2 -1
  210. package/src/composites/gke-external-dns-agent.ts +5 -4
  211. package/src/composites/gke-fluent-bit-agent.ts +6 -5
  212. package/src/composites/gke-otel-collector.ts +6 -5
  213. package/src/composites/index.ts +2 -0
  214. package/src/composites/inference-service.ts +2 -1
  215. package/src/composites/irsa-service-account.ts +4 -3
  216. package/src/composites/member-defaults.test.ts +63 -0
  217. package/src/composites/member-defaults.ts +29 -0
  218. package/src/composites/metrics-server.ts +9 -8
  219. package/src/composites/model.ts +3 -2
  220. package/src/composites/monitored-service.ts +5 -4
  221. package/src/composites/namespace-env.ts +5 -4
  222. package/src/composites/network-isolated-app.ts +4 -3
  223. package/src/composites/node-agent.ts +6 -5
  224. package/src/composites/operator-stack.ts +6 -5
  225. package/src/composites/otel-collector-agent.ts +6 -5
  226. package/src/composites/otel-collector-gateway.ts +11 -10
  227. package/src/composites/otel-collector-rbac.ts +3 -2
  228. package/src/composites/otel-collector-shape.ts +2 -0
  229. package/src/composites/otel-collector.ts +9 -8
  230. package/src/composites/otel-operator-collector.test.ts +267 -0
  231. package/src/composites/otel-operator-collector.ts +221 -0
  232. package/src/composites/ray-cluster.ts +10 -9
  233. package/src/composites/ray-job.ts +7 -6
  234. package/src/composites/ray-service.ts +9 -8
  235. package/src/composites/secure-ingress.ts +3 -2
  236. package/src/composites/sidecar-app.ts +3 -2
  237. package/src/composites/stateful-app.ts +4 -3
  238. package/src/composites/vllm-serving-runtime.ts +2 -1
  239. package/src/composites/web-app.ts +5 -4
  240. package/src/composites/worker-pool.ts +8 -7
  241. package/src/composites/workload-identity-sa.ts +4 -3
  242. package/src/composites/workload-identity-service-account.ts +4 -3
  243. package/src/crd/crd-sources.ts +41 -2
  244. package/src/generated/index.d.ts +172 -2
  245. package/src/generated/index.ts +303 -2
  246. package/src/generated/lexicon-k8s.json +2284 -370
  247. package/src/generated/operations.json +208 -0
  248. package/src/group-namespace.test.ts +4 -0
  249. package/src/group-namespace.ts +4 -0
  250. package/src/import/embedded.ts +26 -0
  251. package/src/import/operator-collector-roundtrip.test.ts +105 -0
  252. package/src/index.ts +2 -2
  253. package/src/lint/audit-catalog.ts +6 -0
  254. package/src/lint/post-synth/index.ts +12 -0
  255. package/src/lint/post-synth/monitoring-selection-helpers.ts +185 -0
  256. package/src/lint/post-synth/monitoring-selection.test.ts +316 -0
  257. package/src/lint/post-synth/otel-placement-helpers.ts +61 -1
  258. package/src/lint/post-synth/wk8601.ts +1 -1
  259. package/src/lint/post-synth/wk8603.ts +1 -1
  260. package/src/lint/post-synth/wk8604.ts +8 -2
  261. package/src/lint/post-synth/wk8605.ts +5 -3
  262. package/src/lint/post-synth/wk8606.ts +27 -0
  263. package/src/lint/post-synth/wk8701.ts +37 -0
  264. package/src/lint/post-synth/wk8702.ts +43 -0
  265. package/src/lint/post-synth/wk8703.ts +37 -0
  266. package/src/lint/post-synth/wk8704.ts +134 -0
  267. package/src/lint/post-synth/wk8705.ts +45 -0
package/dist/okf/index.md CHANGED
@@ -6,6 +6,8 @@ okf_version: '0.2'
6
6
 
7
7
  * [Addon](/types/Addon.md) - K8s::K3s::Addon
8
8
  * [Alert](/types/Alert.md) - K8s::Flux::Alert
9
+ * [Alertmanager](/types/Alertmanager.md) - K8s::Monitoring::Alertmanager
10
+ * [AlertmanagerConfig](/types/AlertmanagerConfig.md) - K8s::Monitoring::AlertmanagerConfig
9
11
  * [APIGroup](/types/APIGroup.md) - K8s::Core::APIGroup
10
12
  * [APIGroupList](/types/APIGroupList.md) - K8s::Core::APIGroupList
11
13
  * [APIResourceList](/types/APIResourceList.md) - K8s::Core::APIResourceList
@@ -29,6 +31,7 @@ okf_version: '0.2'
29
31
  * [CertificateSigningRequestList](/types/CertificateSigningRequestList.md) - K8s::Certificates::CertificateSigningRequestList
30
32
  * [Challenge](/types/Challenge.md) - K8s::Acme::Challenge
31
33
  * [ClusterIssuer](/types/ClusterIssuer.md) - K8s::CertManager::ClusterIssuer
34
+ * [ClusterObservability](/types/ClusterObservability.md) - K8s::OpenTelemetry::ClusterObservability
32
35
  * [ClusterResourceSet](/types/ClusterResourceSet.md) - K8s::Addons::ClusterResourceSet
33
36
  * [ClusterRole](/types/ClusterRole.md) - K8s::Rbac::ClusterRole
34
37
  * [ClusterRoleBinding](/types/ClusterRoleBinding.md) - K8s::Rbac::ClusterRoleBinding
@@ -116,6 +119,7 @@ okf_version: '0.2'
116
119
  * [IngressRoute](/types/IngressRoute.md) - K8s::Traefik::IngressRoute
117
120
  * [IngressRouteTCP](/types/IngressRouteTCP.md) - K8s::Traefik::IngressRouteTCP
118
121
  * [IngressRouteUDP](/types/IngressRouteUDP.md) - K8s::Traefik::IngressRouteUDP
122
+ * [Instrumentation](/types/Instrumentation.md) - K8s::OpenTelemetry::Instrumentation
119
123
  * [IPAddress](/types/IPAddress.md) - K8s::Networking::IPAddress
120
124
  * [IPAddressList](/types/IPAddressList.md) - K8s::Networking::IPAddressList
121
125
  * [Issuer](/types/Issuer.md) - K8s::CertManager::Issuer
@@ -137,6 +141,7 @@ okf_version: '0.2'
137
141
  * [MicroVMReplicaSet](/types/MicroVMReplicaSet.md) - K8s::KubeMicroVM::MicroVMReplicaSet
138
142
  * [Middleware](/types/Middleware.md) - K8s::Traefik::Middleware
139
143
  * [MiddlewareTCP](/types/MiddlewareTCP.md) - K8s::Traefik::MiddlewareTCP
144
+ * [MonitoringProbe](/types/MonitoringProbe.md) - K8s::Monitoring::Probe
140
145
  * [MutatingAdmissionPolicy](/types/MutatingAdmissionPolicy.md) - K8s::Admissionregistration::MutatingAdmissionPolicy
141
146
  * [MutatingAdmissionPolicyBinding](/types/MutatingAdmissionPolicyBinding.md) - K8s::Admissionregistration::MutatingAdmissionPolicyBinding
142
147
  * [MutatingAdmissionPolicyBindingList](/types/MutatingAdmissionPolicyBindingList.md) - K8s::Admissionregistration::MutatingAdmissionPolicyBindingList
@@ -151,6 +156,8 @@ okf_version: '0.2'
151
156
  * [NodeList](/types/NodeList.md) - K8s::Core::NodeList
152
157
  * [ObjectStore](/types/ObjectStore.md) - K8s::Cnpg::ObjectStore
153
158
  * [OCIRepository](/types/OCIRepository.md) - K8s::Flux::OCIRepository
159
+ * [OpAMPBridge](/types/OpAMPBridge.md) - K8s::OpenTelemetry::OpAMPBridge
160
+ * [OpenTelemetryCollector](/types/OpenTelemetryCollector.md) - K8s::OpenTelemetry::OpenTelemetryCollector
154
161
  * [Order](/types/Order.md) - K8s::Acme::Order
155
162
  * [PDB](/types/PDB.md) - K8s::Policy::PodDisruptionBudget
156
163
  * [PersistentVolume](/types/PersistentVolume.md) - K8s::Core::PersistentVolume
@@ -163,6 +170,7 @@ okf_version: '0.2'
163
170
  * [PodDisruptionBudgetList](/types/PodDisruptionBudgetList.md) - K8s::Policy::PodDisruptionBudgetList
164
171
  * [PodIdentityAssociation](/types/PodIdentityAssociation.md) - K8s::Eks::PodIdentityAssociation
165
172
  * [PodList](/types/PodList.md) - K8s::Core::PodList
173
+ * [PodMonitor](/types/PodMonitor.md) - K8s::Monitoring::PodMonitor
166
174
  * [PodTemplate](/types/PodTemplate.md) - K8s::Core::PodTemplate
167
175
  * [PodTemplateList](/types/PodTemplateList.md) - K8s::Core::PodTemplateList
168
176
  * [Policy](/types/Policy.md) - K8s::Iam::Policy
@@ -171,6 +179,8 @@ okf_version: '0.2'
171
179
  * [PriorityClassList](/types/PriorityClassList.md) - K8s::Scheduling::PriorityClassList
172
180
  * [PriorityLevelConfiguration](/types/PriorityLevelConfiguration.md) - K8s::Flowcontrol::PriorityLevelConfiguration
173
181
  * [PriorityLevelConfigurationList](/types/PriorityLevelConfigurationList.md) - K8s::Flowcontrol::PriorityLevelConfigurationList
182
+ * [Prometheus](/types/Prometheus.md) - K8s::Monitoring::Prometheus
183
+ * [PrometheusAgent](/types/PrometheusAgent.md) - K8s::Monitoring::PrometheusAgent
174
184
  * [PrometheusRule](/types/PrometheusRule.md) - K8s::Monitoring::PrometheusRule
175
185
  * [Provider](/types/Provider.md) - K8s::Flux::Provider
176
186
  * [RayCluster](/types/RayCluster.md) - K8s::Ray::RayCluster
@@ -202,6 +212,7 @@ okf_version: '0.2'
202
212
  * [SA](/types/SA.md) - K8s::Core::ServiceAccount
203
213
  * [Scale](/types/Scale.md) - K8s::Autoscaling::Scale
204
214
  * [ScheduledBackup](/types/ScheduledBackup.md) - K8s::Cnpg::ScheduledBackup
215
+ * [ScrapeConfig](/types/ScrapeConfig.md) - K8s::Monitoring::ScrapeConfig
205
216
  * [Sec](/types/Sec.md) - K8s::Core::Secret
206
217
  * [SecretList](/types/SecretList.md) - K8s::Core::SecretList
207
218
  * [SelfSubjectAccessReview](/types/SelfSubjectAccessReview.md) - K8s::Authorization::SelfSubjectAccessReview
@@ -224,6 +235,8 @@ okf_version: '0.2'
224
235
  * [StorageVersionMigration](/types/StorageVersionMigration.md) - K8s::Storagemigration::StorageVersionMigration
225
236
  * [StorageVersionMigrationList](/types/StorageVersionMigrationList.md) - K8s::Storagemigration::StorageVersionMigrationList
226
237
  * [SubjectAccessReview](/types/SubjectAccessReview.md) - K8s::Authorization::SubjectAccessReview
238
+ * [TargetAllocator](/types/TargetAllocator.md) - K8s::OpenTelemetry::TargetAllocator
239
+ * [ThanosRuler](/types/ThanosRuler.md) - K8s::Monitoring::ThanosRuler
227
240
  * [TLSOption](/types/TLSOption.md) - K8s::Traefik::TLSOption
228
241
  * [TLSStore](/types/TLSStore.md) - K8s::Traefik::TLSStore
229
242
  * [TokenRequest](/types/TokenRequest.md) - K8s::Authentication::TokenRequest
@@ -293,5 +306,11 @@ okf_version: '0.2'
293
306
  * [WK8601](/rules/WK8601.md) - OpenTelemetry Collector runs tail_sampling as a per-node DaemonSet; each agent sees only its node's spans, so decisions are made on partial traces. Sees one...
294
307
  * [WK8602](/rules/WK8602.md) - OpenTelemetry Collector gateway runs tail_sampling on more than one replica, but collectors send it traces without a loadbalancing exporter routed by traceID...
295
308
  * [WK8603](/rules/WK8603.md) - OpenTelemetry Collector runs the k8s_cluster receiver in a DaemonSet or multi-replica workload without a k8s_leader_elector; every copy reports every cluster...
296
- * [WK8604](/rules/WK8604.md) - OpenTelemetry Collector config in a ConfigMap fails the otel lexicon's config checks; findings are reported under their OTEL1xx ids, naming the ConfigMap and...
309
+ * [WK8604](/rules/WK8604.md) - OpenTelemetry Collector config in a ConfigMap or an OpenTelemetryCollector's spec.config fails the otel lexicon's config checks; findings are reported under...
297
310
  * [WK8605](/rules/WK8605.md) - OpenTelemetry Collector config reads the node (k8sattributes filtered to its node, kubeletstats, hostmetrics root_path, filelog) but its workload doesn't set...
311
+ * [WK8606](/rules/WK8606.md) - A PrometheusRule's groups fail the prometheus lexicon's rule-file checks; findings are reported under their PROM ids, naming the PrometheusRule.
312
+ * [WK8701](/rules/WK8701.md) - A PrometheusRule that no Prometheus or ThanosRuler in the build selects through ruleSelector and ruleNamespaceSelector is never evaluated. A null selector ma...
313
+ * [WK8702](/rules/WK8702.md) - A ServiceMonitor, PodMonitor, Probe or ScrapeConfig that no Prometheus or PrometheusAgent in the build selects is never scraped. A null selector matches noth...
314
+ * [WK8703](/rules/WK8703.md) - An AlertmanagerConfig that no Alertmanager in the build selects through alertmanagerConfigSelector and alertmanagerConfigNamespaceSelector never routes an al...
315
+ * [WK8704](/rules/WK8704.md) - A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor a...
316
+ * [WK8705](/rules/WK8705.md) - A Prometheus whose serviceMonitorSelector, podMonitorSelector, probeSelector and scrapeConfigSelector are all null selects no monitor, so the operator scrape...
@@ -1,11 +1,15 @@
1
1
  ---
2
2
  type: post-synth-check
3
3
  title: WK8604
4
- description: OpenTelemetry Collector config in a ConfigMap fails the otel lexicon's config checks; findings are reported under their OTEL1xx ids, naming the ConfigMap and key.
4
+ description: OpenTelemetry Collector config in a ConfigMap or an OpenTelemetryCollector's spec.config fails the otel lexicon's config checks; findings are reported under their OTEL1xx ids, naming the ConfigMap...
5
5
  id: WK8604
6
6
  severity: error
7
7
  category: post-synth
8
8
  lexicon: k8s
9
9
  docs: https://intentius.io/chant/lexicons/k8s/rules/
10
10
  ---
11
- OpenTelemetry Collector config in a ConfigMap fails the otel lexicon's config checks; findings are reported under their OTEL1xx ids, naming the ConfigMap and key.
11
+ OpenTelemetry Collector config in a ConfigMap or an OpenTelemetryCollector's spec.config fails the otel lexicon's config checks; findings are reported under their OTEL1xx ids, naming the ConfigMap and key, or the OpenTelemetryCollector.
12
+
13
+ ## Applies to
14
+
15
+ - [OpenTelemetryCollector](/types/OpenTelemetryCollector.md)
@@ -9,3 +9,7 @@ lexicon: k8s
9
9
  docs: https://intentius.io/chant/lexicons/k8s/rules/
10
10
  ---
11
11
  OpenTelemetry Collector config reads the node (k8sattributes filtered to its node, kubeletstats, hostmetrics root_path, filelog) but its workload doesn't set the node name variable or mount the host paths. Sees one build root at a time (chant #1939).
12
+
13
+ ## Applies to
14
+
15
+ - [OpenTelemetryCollector](/types/OpenTelemetryCollector.md)
@@ -0,0 +1,15 @@
1
+ ---
2
+ type: post-synth-check
3
+ title: WK8606
4
+ description: A PrometheusRule's groups fail the prometheus lexicon's rule-file checks; findings are reported under their PROM ids, naming the PrometheusRule.
5
+ id: WK8606
6
+ severity: error
7
+ category: post-synth
8
+ lexicon: k8s
9
+ docs: https://intentius.io/chant/lexicons/k8s/rules/
10
+ ---
11
+ A PrometheusRule's groups fail the prometheus lexicon's rule-file checks; findings are reported under their PROM ids, naming the PrometheusRule.
12
+
13
+ ## Applies to
14
+
15
+ - [PrometheusRule](/types/PrometheusRule.md)
@@ -0,0 +1,18 @@
1
+ ---
2
+ type: post-synth-check
3
+ title: WK8701
4
+ description: A PrometheusRule that no Prometheus or ThanosRuler in the build selects through ruleSelector and ruleNamespaceSelector is never evaluated. A null selector matches nothing, {} matches all. Silent wh...
5
+ id: WK8701
6
+ severity: error
7
+ category: post-synth
8
+ lexicon: k8s
9
+ docs: https://intentius.io/chant/lexicons/k8s/rules/
10
+ ---
11
+ A PrometheusRule that no Prometheus or ThanosRuler in the build selects through ruleSelector and ruleNamespaceSelector is never evaluated. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or ThanosRuler.
12
+
13
+ ## Applies to
14
+
15
+ - [Namespace](/types/Namespace.md)
16
+ - [Prometheus](/types/Prometheus.md)
17
+ - [PrometheusRule](/types/PrometheusRule.md)
18
+ - [ThanosRuler](/types/ThanosRuler.md)
@@ -0,0 +1,20 @@
1
+ ---
2
+ type: post-synth-check
3
+ title: WK8702
4
+ description: A ServiceMonitor, PodMonitor, Probe or ScrapeConfig that no Prometheus or PrometheusAgent in the build selects is never scraped. A null selector matches nothing, {} matches all. Silent when the bui...
5
+ id: WK8702
6
+ severity: error
7
+ category: post-synth
8
+ lexicon: k8s
9
+ docs: https://intentius.io/chant/lexicons/k8s/rules/
10
+ ---
11
+ A ServiceMonitor, PodMonitor, Probe or ScrapeConfig that no Prometheus or PrometheusAgent in the build selects is never scraped. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or PrometheusAgent.
12
+
13
+ ## Applies to
14
+
15
+ - [Namespace](/types/Namespace.md)
16
+ - [PodMonitor](/types/PodMonitor.md)
17
+ - [Prometheus](/types/Prometheus.md)
18
+ - [PrometheusAgent](/types/PrometheusAgent.md)
19
+ - [ScrapeConfig](/types/ScrapeConfig.md)
20
+ - [ServiceMonitor](/types/ServiceMonitor.md)
@@ -0,0 +1,17 @@
1
+ ---
2
+ type: post-synth-check
3
+ title: WK8703
4
+ description: An AlertmanagerConfig that no Alertmanager in the build selects through alertmanagerConfigSelector and alertmanagerConfigNamespaceSelector never routes an alert. A null selector matches nothing, {}...
5
+ id: WK8703
6
+ severity: error
7
+ category: post-synth
8
+ lexicon: k8s
9
+ docs: https://intentius.io/chant/lexicons/k8s/rules/
10
+ ---
11
+ An AlertmanagerConfig that no Alertmanager in the build selects through alertmanagerConfigSelector and alertmanagerConfigNamespaceSelector never routes an alert. A null selector matches nothing, {} matches all. Silent when the build has no Alertmanager.
12
+
13
+ ## Applies to
14
+
15
+ - [Alertmanager](/types/Alertmanager.md)
16
+ - [AlertmanagerConfig](/types/AlertmanagerConfig.md)
17
+ - [Namespace](/types/Namespace.md)
@@ -0,0 +1,22 @@
1
+ ---
2
+ type: post-synth-check
3
+ title: WK8704
4
+ description: A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor against pod container ports. Needs no Pro...
5
+ id: WK8704
6
+ severity: error
7
+ category: post-synth
8
+ lexicon: k8s
9
+ docs: https://intentius.io/chant/lexicons/k8s/rules/
10
+ ---
11
+ A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor against pod container ports. Needs no Prometheus in the build. Sees one build root at a time (chant #1939).
12
+
13
+ ## Applies to
14
+
15
+ - [CronJob](/types/CronJob.md)
16
+ - [DaemonSet](/types/DaemonSet.md)
17
+ - [Pod](/types/Pod.md)
18
+ - [PodMonitor](/types/PodMonitor.md)
19
+ - [Prometheus](/types/Prometheus.md)
20
+ - [Service](/types/Service.md)
21
+ - [ServiceMonitor](/types/ServiceMonitor.md)
22
+ - [StatefulSet](/types/StatefulSet.md)
@@ -0,0 +1,18 @@
1
+ ---
2
+ type: post-synth-check
3
+ title: WK8705
4
+ description: A Prometheus whose serviceMonitorSelector, podMonitorSelector, probeSelector and scrapeConfigSelector are all null selects no monitor, so the operator scrapes nothing from ServiceMonitors, PodMonit...
5
+ id: WK8705
6
+ severity: error
7
+ category: post-synth
8
+ lexicon: k8s
9
+ docs: https://intentius.io/chant/lexicons/k8s/rules/
10
+ ---
11
+ A Prometheus whose serviceMonitorSelector, podMonitorSelector, probeSelector and scrapeConfigSelector are all null selects no monitor, so the operator scrapes nothing from ServiceMonitors, PodMonitors, Probes or ScrapeConfigs.
12
+
13
+ ## Applies to
14
+
15
+ - [PodMonitor](/types/PodMonitor.md)
16
+ - [Prometheus](/types/Prometheus.md)
17
+ - [ScrapeConfig](/types/ScrapeConfig.md)
18
+ - [ServiceMonitor](/types/ServiceMonitor.md)
@@ -0,0 +1,18 @@
1
+ ---
2
+ type: resource-type
3
+ title: Alertmanager
4
+ description: k8s resource type K8s::Monitoring::Alertmanager
5
+ name: Alertmanager
6
+ lexicon: k8s
7
+ resource_type: K8s::Monitoring::Alertmanager
8
+ ---
9
+ `K8s::Monitoring::Alertmanager`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the specification of the desired behavior of the Alertmanager cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
15
+
16
+ ## Governed by
17
+
18
+ - [WK8703](/rules/WK8703.md): An AlertmanagerConfig that no Alertmanager in the build selects through alertmanagerConfigSelector and alertmanagerConfigNamespaceSelector never routes an alert. A null selector matches nothing, {} matches all. Silent when the build has no Alertmanager.
@@ -0,0 +1,18 @@
1
+ ---
2
+ type: resource-type
3
+ title: AlertmanagerConfig
4
+ description: k8s resource type K8s::Monitoring::AlertmanagerConfig
5
+ name: AlertmanagerConfig
6
+ lexicon: k8s
7
+ resource_type: K8s::Monitoring::AlertmanagerConfig
8
+ ---
9
+ `K8s::Monitoring::AlertmanagerConfig`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the specification of AlertmanagerConfigSpec
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
15
+
16
+ ## Governed by
17
+
18
+ - [WK8703](/rules/WK8703.md): An AlertmanagerConfig that no Alertmanager in the build selects through alertmanagerConfigSelector and alertmanagerConfigNamespaceSelector never routes an alert. A null selector matches nothing, {} matches all. Silent when the build has no Alertmanager.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: ClusterObservability
4
+ description: k8s resource type K8s::OpenTelemetry::ClusterObservability
5
+ name: ClusterObservability
6
+ lexicon: k8s
7
+ resource_type: K8s::OpenTelemetry::ClusterObservability
8
+ ---
9
+ `K8s::OpenTelemetry::ClusterObservability`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
14
+ - `spec` (`Record<string, unknown>`, optional)
@@ -18,3 +18,4 @@ resource_type: K8s::Batch::CronJob
18
18
  - [WK8002](/rules/WK8002.md): Latest Image Tag
19
19
  - [WK8003](/rules/WK8003.md): Missing Resource Limits
20
20
  - [WK8301](/rules/WK8301.md): Probes required — containers should have livenessProbe and readinessProbe
21
+ - [WK8704](/rules/WK8704.md): A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor against pod container ports. Needs no Prometheus in the build. Sees one build root at a time (chant #1939).
@@ -20,3 +20,4 @@ resource_type: K8s::Apps::DaemonSet
20
20
  - [WK8601](/rules/WK8601.md): OpenTelemetry Collector runs tail_sampling as a per-node DaemonSet; each agent sees only its node's spans, so decisions are made on partial traces. Sees one build root at a time (chant #1939).
21
21
  - [WK8602](/rules/WK8602.md): OpenTelemetry Collector gateway runs tail_sampling on more than one replica, but collectors send it traces without a loadbalancing exporter routed by traceID. Sees one build root at a time (chant #1939).
22
22
  - [WK8603](/rules/WK8603.md): OpenTelemetry Collector runs the k8s_cluster receiver in a DaemonSet or multi-replica workload without a k8s_leader_elector; every copy reports every cluster object. Sees one build root at a time (chant #1939).
23
+ - [WK8704](/rules/WK8704.md): A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor against pod container ports. Needs no Prometheus in the build. Sees one build root at a time (chant #1939).
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: Instrumentation
4
+ description: k8s resource type K8s::OpenTelemetry::Instrumentation
5
+ name: Instrumentation
6
+ lexicon: k8s
7
+ resource_type: K8s::OpenTelemetry::Instrumentation
8
+ ---
9
+ `K8s::OpenTelemetry::Instrumentation`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
14
+ - `spec` (`Record<string, unknown>`, optional)
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: MonitoringProbe
4
+ description: k8s resource type K8s::Monitoring::Probe
5
+ name: MonitoringProbe
6
+ lexicon: k8s
7
+ resource_type: K8s::Monitoring::Probe
8
+ ---
9
+ `K8s::Monitoring::Probe`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the specification of desired Ingress selection for target discovery by Prometheus.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
@@ -17,3 +17,6 @@ resource_type: K8s::Core::Namespace
17
17
 
18
18
  - [FLUX002](/rules/FLUX002.md): Kustomization.spec.sourceRef must reference a declared source (or the bootstrap flux-system repo)
19
19
  - [WK8001](/rules/WK8001.md): Hardcoded Namespace
20
+ - [WK8701](/rules/WK8701.md): A PrometheusRule that no Prometheus or ThanosRuler in the build selects through ruleSelector and ruleNamespaceSelector is never evaluated. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or ThanosRuler.
21
+ - [WK8702](/rules/WK8702.md): A ServiceMonitor, PodMonitor, Probe or ScrapeConfig that no Prometheus or PrometheusAgent in the build selects is never scraped. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or PrometheusAgent.
22
+ - [WK8703](/rules/WK8703.md): An AlertmanagerConfig that no Alertmanager in the build selects through alertmanagerConfigSelector and alertmanagerConfigNamespaceSelector never routes an alert. A null selector matches nothing, {} matches all. Silent when the build has no Alertmanager.
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: OpAMPBridge
4
+ description: k8s resource type K8s::OpenTelemetry::OpAMPBridge
5
+ name: OpAMPBridge
6
+ lexicon: k8s
7
+ resource_type: K8s::OpenTelemetry::OpAMPBridge
8
+ ---
9
+ `K8s::OpenTelemetry::OpAMPBridge`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
14
+ - `spec` (`Record<string, unknown>`, optional)
@@ -0,0 +1,19 @@
1
+ ---
2
+ type: resource-type
3
+ title: OpenTelemetryCollector
4
+ description: k8s resource type K8s::OpenTelemetry::OpenTelemetryCollector
5
+ name: OpenTelemetryCollector
6
+ lexicon: k8s
7
+ resource_type: K8s::OpenTelemetry::OpenTelemetryCollector
8
+ ---
9
+ `K8s::OpenTelemetry::OpenTelemetryCollector`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
14
+ - `spec` (`Record<string, unknown>`, optional)
15
+
16
+ ## Governed by
17
+
18
+ - [WK8604](/rules/WK8604.md): OpenTelemetry Collector config in a ConfigMap or an OpenTelemetryCollector's spec.config fails the otel lexicon's config checks; findings are reported under their OTEL1xx ids, naming the ConfigMap and key, or the OpenTelemetryCollector.
19
+ - [WK8605](/rules/WK8605.md): OpenTelemetry Collector config reads the node (k8sattributes filtered to its node, kubeletstats, hostmetrics root_path, filelog) but its workload doesn't set the node name variable or mount the host paths. Sees one build root at a time (chant #1939).
@@ -16,3 +16,4 @@ resource_type: K8s::Core::Pod
16
16
  ## Governed by
17
17
 
18
18
  - [WK8002](/rules/WK8002.md): Latest Image Tag
19
+ - [WK8704](/rules/WK8704.md): A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor against pod container ports. Needs no Prometheus in the build. Sees one build root at a time (chant #1939).
@@ -0,0 +1,20 @@
1
+ ---
2
+ type: resource-type
3
+ title: PodMonitor
4
+ description: k8s resource type K8s::Monitoring::PodMonitor
5
+ name: PodMonitor
6
+ lexicon: k8s
7
+ resource_type: K8s::Monitoring::PodMonitor
8
+ ---
9
+ `K8s::Monitoring::PodMonitor`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the specification of desired Pod selection for target discovery by Prometheus.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
15
+
16
+ ## Governed by
17
+
18
+ - [WK8702](/rules/WK8702.md): A ServiceMonitor, PodMonitor, Probe or ScrapeConfig that no Prometheus or PrometheusAgent in the build selects is never scraped. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or PrometheusAgent.
19
+ - [WK8704](/rules/WK8704.md): A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor against pod container ports. Needs no Prometheus in the build. Sees one build root at a time (chant #1939).
20
+ - [WK8705](/rules/WK8705.md): A Prometheus whose serviceMonitorSelector, podMonitorSelector, probeSelector and scrapeConfigSelector are all null selects no monitor, so the operator scrapes nothing from ServiceMonitors, PodMonitors, Probes or ScrapeConfigs.
@@ -0,0 +1,21 @@
1
+ ---
2
+ type: resource-type
3
+ title: Prometheus
4
+ description: k8s resource type K8s::Monitoring::Prometheus
5
+ name: Prometheus
6
+ lexicon: k8s
7
+ resource_type: K8s::Monitoring::Prometheus
8
+ ---
9
+ `K8s::Monitoring::Prometheus`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the specification of the desired behavior of the Prometheus cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
15
+
16
+ ## Governed by
17
+
18
+ - [WK8701](/rules/WK8701.md): A PrometheusRule that no Prometheus or ThanosRuler in the build selects through ruleSelector and ruleNamespaceSelector is never evaluated. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or ThanosRuler.
19
+ - [WK8702](/rules/WK8702.md): A ServiceMonitor, PodMonitor, Probe or ScrapeConfig that no Prometheus or PrometheusAgent in the build selects is never scraped. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or PrometheusAgent.
20
+ - [WK8704](/rules/WK8704.md): A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor against pod container ports. Needs no Prometheus in the build. Sees one build root at a time (chant #1939).
21
+ - [WK8705](/rules/WK8705.md): A Prometheus whose serviceMonitorSelector, podMonitorSelector, probeSelector and scrapeConfigSelector are all null selects no monitor, so the operator scrapes nothing from ServiceMonitors, PodMonitors, Probes or ScrapeConfigs.
@@ -0,0 +1,18 @@
1
+ ---
2
+ type: resource-type
3
+ title: PrometheusAgent
4
+ description: k8s resource type K8s::Monitoring::PrometheusAgent
5
+ name: PrometheusAgent
6
+ lexicon: k8s
7
+ resource_type: K8s::Monitoring::PrometheusAgent
8
+ ---
9
+ `K8s::Monitoring::PrometheusAgent`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the specification of the desired behavior of the Prometheus agent. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
15
+
16
+ ## Governed by
17
+
18
+ - [WK8702](/rules/WK8702.md): A ServiceMonitor, PodMonitor, Probe or ScrapeConfig that no Prometheus or PrometheusAgent in the build selects is never scraped. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or PrometheusAgent.
@@ -10,5 +10,10 @@ resource_type: K8s::Monitoring::PrometheusRule
10
10
 
11
11
  ## Properties
12
12
 
13
- - `spec` (`Record<string, unknown>`, required): Specification of desired alerting rule definitions for Prometheus.
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the specification of desired alerting rule definitions for Prometheus.
14
14
  - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
15
+
16
+ ## Governed by
17
+
18
+ - [WK8606](/rules/WK8606.md): A PrometheusRule's groups fail the prometheus lexicon's rule-file checks; findings are reported under their PROM ids, naming the PrometheusRule.
19
+ - [WK8701](/rules/WK8701.md): A PrometheusRule that no Prometheus or ThanosRuler in the build selects through ruleSelector and ruleNamespaceSelector is never evaluated. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or ThanosRuler.
@@ -0,0 +1,19 @@
1
+ ---
2
+ type: resource-type
3
+ title: ScrapeConfig
4
+ description: k8s resource type K8s::Monitoring::ScrapeConfig
5
+ name: ScrapeConfig
6
+ lexicon: k8s
7
+ resource_type: K8s::Monitoring::ScrapeConfig
8
+ ---
9
+ `K8s::Monitoring::ScrapeConfig`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the specification of ScrapeConfigSpec.
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
15
+
16
+ ## Governed by
17
+
18
+ - [WK8702](/rules/WK8702.md): A ServiceMonitor, PodMonitor, Probe or ScrapeConfig that no Prometheus or PrometheusAgent in the build selects is never scraped. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or PrometheusAgent.
19
+ - [WK8705](/rules/WK8705.md): A Prometheus whose serviceMonitorSelector, podMonitorSelector, probeSelector and scrapeConfigSelector are all null selects no monitor, so the operator scrapes nothing from ServiceMonitors, PodMonitors, Probes or ScrapeConfigs.
@@ -19,3 +19,4 @@ resource_type: K8s::Core::Service
19
19
  - [WK8301](/rules/WK8301.md): Probes required — containers should have livenessProbe and readinessProbe
20
20
  - [WK8305](/rules/WK8305.md): Ingress port not matching Service — backend port must match a declared Service port
21
21
  - [WK8602](/rules/WK8602.md): OpenTelemetry Collector gateway runs tail_sampling on more than one replica, but collectors send it traces without a loadbalancing exporter routed by traceID. Sees one build root at a time (chant #1939).
22
+ - [WK8704](/rules/WK8704.md): A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor against pod container ports. Needs no Prometheus in the build. Sees one build root at a time (chant #1939).
@@ -10,5 +10,11 @@ resource_type: K8s::Monitoring::ServiceMonitor
10
10
 
11
11
  ## Properties
12
12
 
13
- - `spec` (`Record<string, unknown>`, required): Specification of desired Service selection for target discovery by Prometheus.
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the specification of desired Service selection for target discovery by Prometheus.
14
14
  - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
15
+
16
+ ## Governed by
17
+
18
+ - [WK8702](/rules/WK8702.md): A ServiceMonitor, PodMonitor, Probe or ScrapeConfig that no Prometheus or PrometheusAgent in the build selects is never scraped. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or PrometheusAgent.
19
+ - [WK8704](/rules/WK8704.md): A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor against pod container ports. Needs no Prometheus in the build. Sees one build root at a time (chant #1939).
20
+ - [WK8705](/rules/WK8705.md): A Prometheus whose serviceMonitorSelector, podMonitorSelector, probeSelector and scrapeConfigSelector are all null selects no monitor, so the operator scrapes nothing from ServiceMonitors, PodMonitors, Probes or ScrapeConfigs.
@@ -18,3 +18,4 @@ resource_type: K8s::Apps::StatefulSet
18
18
  - [WK8002](/rules/WK8002.md): Latest Image Tag
19
19
  - [WK8003](/rules/WK8003.md): Missing Resource Limits
20
20
  - [WK8405](/rules/WK8405.md): Serving workload (InferenceService / serving Deployment) has no PodDisruptionBudget
21
+ - [WK8704](/rules/WK8704.md): A ServiceMonitor whose selector matches no Service in the build, or whose endpoints[].port names no port on the matched Services; the same for a PodMonitor against pod container ports. Needs no Prometheus in the build. Sees one build root at a time (chant #1939).
@@ -0,0 +1,14 @@
1
+ ---
2
+ type: resource-type
3
+ title: TargetAllocator
4
+ description: k8s resource type K8s::OpenTelemetry::TargetAllocator
5
+ name: TargetAllocator
6
+ lexicon: k8s
7
+ resource_type: K8s::OpenTelemetry::TargetAllocator
8
+ ---
9
+ `K8s::OpenTelemetry::TargetAllocator`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
14
+ - `spec` (`Record<string, unknown>`, optional)
@@ -0,0 +1,18 @@
1
+ ---
2
+ type: resource-type
3
+ title: ThanosRuler
4
+ description: k8s resource type K8s::Monitoring::ThanosRuler
5
+ name: ThanosRuler
6
+ lexicon: k8s
7
+ resource_type: K8s::Monitoring::ThanosRuler
8
+ ---
9
+ `K8s::Monitoring::ThanosRuler`, a resource type of the k8s lexicon.
10
+
11
+ ## Properties
12
+
13
+ - `spec` (`Record<string, unknown>`, required): spec defines the specification of the desired behavior of the ThanosRuler cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
14
+ - `metadata` (`ObjectMeta`, optional): Standard object's metadata.
15
+
16
+ ## Governed by
17
+
18
+ - [WK8701](/rules/WK8701.md): A PrometheusRule that no Prometheus or ThanosRuler in the build selects through ruleSelector and ruleNamespaceSelector is never evaluated. A null selector matches nothing, {} matches all. Silent when the build has no Prometheus or ThanosRuler.