Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix examples restart make command, reduce prometheus resources #1158

Merged
merged 2 commits into from
Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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