Skip to content

Commit

Permalink
Updated example kubernetes_daemonset.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
matthope committed Nov 21, 2022
1 parent c9788f7 commit cf1c6e5
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions kubernetes_daemonset.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
creationTimestamp: "2020-04-27T04:31:39Z"
generation: 3
labels:
app: dockerhub-ratelimit-exporter
name: dockerhub-ratelimit-exporter
Expand All @@ -12,21 +10,20 @@ spec:
app: dockerhub-ratelimit-exporter
template:
metadata:
creationTimestamp: null
labels:
app: dockerhub-ratelimit-exporter
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
prometheus.io/scrape: "true"
labels:
app: dockerhub-ratelimit-exporter
spec:
containers:
- image: matthopeffx/dockerhub-ratelimit-exporter:0.0.202011091710
- env:
- name: NODENAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
image: matthopeffx/dockerhub-ratelimit-exporter:0.0.202011091710
imagePullPolicy: IfNotPresent
env:
- name: NODENAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
livenessProbe:
failureThreshold: 3
httpGet:
Expand All @@ -40,7 +37,6 @@ spec:
name: dockerhub-ratelimit-exporter
ports:
- containerPort: 8080
hostPort: 8080
name: metrics
protocol: TCP
resources:
Expand Down

0 comments on commit cf1c6e5

Please sign in to comment.