Skip to content

Commit

Permalink
adding k8s-events to values.ymal
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapan Kumar Sahu committed Aug 27, 2024
1 parent f10d5f5 commit baebbb8
Showing 1 changed file with 69 additions and 1 deletion.
70 changes: 69 additions & 1 deletion charts/pga/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,75 @@ app:
service:
name: app-prometheus

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
name: event-exporter
name: event-exporter
namespace: monitoring
subjects:
- kind: ServiceAccount
name: event-exporter
namespace: monitoring
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: view

eventExporter:
replicas: 1
revisionHistoryLimit: 2
selector:
matchLabels:
app: event-exporter
strategy:
type: RollingUpdate
template:
metadata:
annotations:
prometheus.io/path: /metrics
prometheus.io/port: '9102'
prometheus.io/scrape: 'true'
labels:
app: event-exporter
spec:
containers:
- name: event-exporter
image: 'ashwanisingh007/event_exporter:v0.0.1'
imagePullPolicy: Always
args:
- --eventType=Warning
- --eventType=Normal
ports:
- containerPort: 9102
name: http
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 50m
memory: 40Mi
serviceAccountName: event-exporter
terminationGracePeriodSeconds: 30
eventExporterService:
apiVersion: v1
kind: Service
metadata:
labels:
name: event-exporter
name: event-exporter
namespace: monitoring
spec:
ports:
- name: http
port: 9102
targetPort: 9102
selector:
app: event-exporter


kube:
enabled: true
fullnameOverride: kube
Expand Down Expand Up @@ -265,7 +334,6 @@ kube:
prometheus: kube
service:
name: kube-prometheus

pushgateway:
enabled: false
serviceMonitor:
Expand Down

0 comments on commit baebbb8

Please sign in to comment.