Skip to content

Commit

Permalink
chore: add resoure requirements for statsd exporter (envoyproxy#3957)
Browse files Browse the repository at this point in the history
add resoure requirements for statsd exporter

Signed-off-by: Huabing Zhao <[email protected]>
  • Loading branch information
zhaohuabing authored Jul 26, 2024
1 parent 1a7d0c6 commit b4b2985
Show file tree
Hide file tree
Showing 14 changed files with 53 additions and 13 deletions.
1 change: 1 addition & 0 deletions internal/infrastructure/kubernetes/ratelimit/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ func promStatsdExporterContainer() corev1.Container {
},
TerminationMessagePolicy: corev1.TerminationMessageReadFile,
TerminationMessagePath: "/dev/termination-log",
Resources: *egv1a1.DefaultResourceRequirements(),
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ spec:
- containerPort: 19001
name: metrics
protocol: TCP
resources: {}
resources:
requests:
cpu: 100m
memory: 512Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
Expand Down

0 comments on commit b4b2985

Please sign in to comment.