Skip to content

Commit

Permalink
fix: fix examples restart make command, reduce prometheus resources (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mowies committed Mar 30, 2023
1 parent b27adf1 commit 06b10a8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ restart-lifecycle-toolkit:
@echo "----------------------------------"
@echo "Restart Keptn Lifecycle Controller"
@echo "----------------------------------"
kubectl rollout restart deployment -n "$(TOOLKIT_NAMESPACE)" lifecycle-operator
kubectl rollout status deployment -n "$(TOOLKIT_NAMESPACE)" lifecycle-operator --watch
kubectl rollout restart deployment -n "$(TOOLKIT_NAMESPACE)" scheduler -n keptn-lifecycle-toolkit-system
kubectl rollout status deployment -n "$(TOOLKIT_NAMESPACE)" scheduler --watch
kubectl rollout restart deployment -n "$(TOOLKIT_NAMESPACE)" -l control-plane=lifecycle-operator
kubectl rollout status deployment -n "$(TOOLKIT_NAMESPACE)" -l control-plane=lifecycle-operator --watch
kubectl rollout restart deployment -n "$(TOOLKIT_NAMESPACE)" -l component=scheduler
kubectl rollout status deployment -n "$(TOOLKIT_NAMESPACE)" -l component=scheduler --watch

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
app.kubernetes.io/name: alertmanager
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 0.24.0
replicas: 3
replicas: 0
resources:
limits:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: prometheus-adapter
namespace: monitoring
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app.kubernetes.io/component: metrics-adapter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
podMonitorSelector: {}
probeNamespaceSelector: {}
probeSelector: {}
replicas: 2
replicas: 1
resources:
requests:
memory: 400Mi
Expand Down

0 comments on commit 06b10a8

Please sign in to comment.