imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Add lists.pidgin.im to the cert for lists.pidgin.im now that mailman is shutdown
16 months ago, Gary Kramlich
c01b0bb9a3bd
Add lists.pidgin.im to the cert for lists.pidgin.im now that mailman is shutdown
---
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
name
:
prometheus
---
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRole
metadata
:
name
:
prometheus
rules
:
-
apiGroups
:
[
""
]
resources
:
-
namespaces
-
nodes
-
nodes/metrics
-
services
-
endpoints
-
pods
verbs
:
[
"get"
,
"list"
,
"watch"
]
-
apiGroups
:
[
""
]
resources
:
-
configmaps
verbs
:
[
"get"
]
-
apiGroups
:
-
networking.k8s.io
resources
:
-
ingresses
verbs
:
[
"get"
,
"list"
,
"watch"
]
-
nonResourceURLs
:
[
"/metrics"
]
verbs
:
[
"get"
]
---
apiVersion
:
rbac.authorization.k8s.io/v1
kind
:
ClusterRoleBinding
metadata
:
name
:
prometheus
roleRef
:
apiGroup
:
rbac.authorization.k8s.io
kind
:
ClusterRole
name
:
prometheus
subjects
:
-
kind
:
ServiceAccount
name
:
prometheus
namespace
:
monitoring
---
apiVersion
:
monitoring.coreos.com/v1
kind
:
Prometheus
metadata
:
name
:
prometheus
labels
:
app
:
prometheus
spec
:
additionalScrapeConfigs
:
name
:
prometheus-scrape-configs
key
:
prometheus-scrape-configs.yaml
serviceAccountName
:
prometheus
serviceMonitorNamespaceSelector
:
matchLabels
:
prometheus
:
cluster-wide
serviceMonitorSelector
:
matchLabels
:
prometheus
:
cluster-wide
resources
:
limits
:
cpu
:
1000m
memory
:
512Mi
requests
:
cpu
:
500m
memory
:
256Mi
enableAdminAPI
:
false
securityContext
:
fsGroup
:
65534
runAsUser
:
65534
storage
:
volumeClaimTemplate
:
spec
:
resources
:
requests
:
storage
:
2Gi
# externalUrl: 'https://monitoring.imfreedom.org/prometheus/'
# routePrefix: '/'
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
prometheus
labels
:
app
:
prometheus
spec
:
ports
:
-
port
:
9090
protocol
:
TCP
selector
:
app
:
prometheus
prometheus
:
prometheus
---