Difference between revisions of "/metrics"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
  {{cluster-read-only-role}}
 
  {{cluster-read-only-role}}
  
 +
== Related ==
 +
* [[Loki]]: http://localhost:[[3100]]/metrics
 +
 +
== See also ==
 
* {{kubectl describe clusterrole}}
 
* {{kubectl describe clusterrole}}
 +
 +
[[Category:kubectl]]

Latest revision as of 18:24, 15 December 2023



 kubectl describe clusterrole eks:k8s-metrics
Name:         eks:k8s-metrics
Labels:       <none>
Annotations:  <none>
PolicyRule:
  Resources         Non-Resource URLs  Resource Names  Verbs
  ---------         -----------------  --------------  -----
                    [ /metrics ]         []              [get]
  endpoints         []                 []              [list]
  nodes             []                 []              [list]
  pods              []                 []              [list]
  deployments.apps  []                 []              [list]


 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: cluster-read-only-role [1]
rules:
- apiGroups: ["*"]
  resources: ["*"]
  verbs: ["get","watch","list"]
- nonResourceURLs:
  - /metrics
  verbs:
  - get

Related[edit]

See also[edit]

  • https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1182188
  • Advertising: