Skip to content

Commit

Permalink
Update pushgateway (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
george-angel authored Nov 26, 2024
1 parent 0b44241 commit 6625aac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pushgateway/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- pushgateway-shared.yaml
- pushgateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: prometheus-pushgateway
labels:
app.kubernetes.io/name: prometheus-pushgateway
app.kubernetes.io/version: v1.4.0
app.kubernetes.io/version: v1.10.0
spec:
clusterIP: None
ports:
Expand All @@ -16,7 +16,7 @@ spec:
kind: Deployment
apiVersion: apps/v1
metadata:
name: &app prometheus-pushgateway-shared
name: prometheus-pushgateway-shared
spec:
replicas: 1
selector:
Expand All @@ -33,19 +33,25 @@ spec:
spec:
containers:
- name: prometheus-pushgateway
image: prom/pushgateway:v1.4.0
image: prom/pushgateway:v1.10.0
args:
- "--log.level=warn"
livenessProbe:
httpGet:
path: /#/status
path: /-/healthy
port: 9091
initialDelaySeconds: 30
initialDelaySeconds: 10
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /#/status
path: /-/ready
port: 9091
initialDelaySeconds: 30
initialDelaySeconds: 10
timeoutSeconds: 10
ports:
- containerPort: 9091
name: metrics
securityContext:
fsGroup: 65534
runAsNonRoot: true
runAsUser: 65534

0 comments on commit 6625aac

Please sign in to comment.