-
Notifications
You must be signed in to change notification settings - Fork 137
/
deployment.yaml
39 lines (39 loc) · 1007 Bytes
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: apps/v1
kind: Deployment
metadata:
name: k8s-annotations-exporter
labels:
app: k8s-annotations-exporter
spec:
selector:
matchLabels:
app: k8s-annotations-exporter
replicas: 1
template:
metadata:
labels:
app: k8s-annotations-exporter
spec:
serviceAccountName: k8s-annotations-exporter
containers:
- name: k8s-annotations-exporter
image: quay.io/4n4nd/k8s-annotations-exporter:latest
command:
- k8s_annotations_exporter
args:
- '-vv'
- '--in-cluster'
- '--http-server-port=8000'
- '--metrics-refresh-interval=300'
- '--resource-api-version=v1'
- '--resource-kind=Namespace'
resources:
limits:
cpu: 50m
memory: 100Mi
requests:
cpu: 50m
memory: 50Mi
ports:
- containerPort: 8000
name: metrics