Helm/Reloader: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 61: | Line 61: | ||
|valign='top' style='width:50%'| | |valign='top' style='width:50%'| | ||
|} | |||
==Helm » Install== | |||
{|class='wikitable mw-collapsible mw-collapsed' | |||
!scope='col' style='text-align:left' colspan='2'| | |||
Helm » Install | |||
|- | |||
|valign='top' colspan='2'| | |||
<syntaxhighlight lang='bash'> | |||
helm show values stakater/reloader --version=2.2.6|less | |||
helm show values stakater/reloader --version=2.2.7|less | |||
</syntaxhighlight> | |||
|- | |||
|valign='top' style='width:50%'| | |||
<syntaxhighlight lang='bash'> | |||
export KUBECONFIG="${HOME}/.kube/shahed-ab-kubeconfig.yaml" | |||
kubectl create ns reloader-system || true | |||
</syntaxhighlight> | |||
|valign='top' style='width:50%'| | |||
<syntaxhighlight lang='bash'> | |||
kubectl get ns|grep reloader-system | |||
kubectl delete ns reloader-system || true | |||
</syntaxhighlight> | |||
|- | |||
!scope='col'| Install | |||
!scope='col'| Notes | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight lang='yaml'> | |||
cat <<'YML' | \ | |||
helm -n=reloader-system upgrade \ | |||
-i reloader stakater/reloader --version=2.2.7 -f - | |||
--- | |||
nameOverride: reloader | |||
fullnameOverride: reloader | |||
image: | |||
name: stakater/reloader | |||
repository: ghcr.io/stakater/reloader | |||
tag: v1.4.12 | |||
reloader: | |||
watchGlobally: true | |||
deployment: | |||
replicas: 1 | |||
revisionHistoryLimit: 5 | |||
resources: | |||
limits: | |||
cpu: 100m | |||
memory: 512Mi | |||
requests: | |||
cpu: 10m | |||
memory: 128Mi | |||
YML | |||
</syntaxhighlight> | |||
|valign='top'| | |||
|- | |||
!scope='col'| Verify | |||
!scope='col'| | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight lang='bash'> | |||
helm -n=reloader-system status reloader | |||
helm -n=reloader-system get manifest reloader | |||
</syntaxhighlight> | |||
|valign='top'| | |||
|} | |||
==Helm » Config== | |||
{|class='wikitable mw-collapsible mw-collapsed' | |||
!scope='col' style='text-align:left' colspan='2'| | |||
Helm » Config | |||
|- | |||
!scope='col' style='width:50%'| Scale » Down | |||
!scope='col' style='width:50%'| Scale » Up | |||
|- | |||
|valign='top'| | |||
<syntaxhighlight lang='bash'> | |||
kubectl -n=reloader-system \ | |||
scale deploy/reloader --replicas=0 | |||
</syntaxhighlight> | |||
|valign='top'| | |||
<syntaxhighlight lang='bash'> | |||
kubectl -n=reloader-system \ | |||
scale deploy/reloader --replicas=1 | |||
</syntaxhighlight> | |||
|} | |} | ||
Revision as of 04:41, 25 January 2026
helm repo add stakater https://stakater.github.io/stakater-charts
helm repo update && helm repo list
kubectl config get-contexts
|
|||
| |||
Helm » Context
|
Helm » Context | |
|---|---|
export KUBECONFIG="${HOME}/.kube/aws-kubeconfig.yaml"
export KUBECONFIG="${HOME}/.kube/gcp-kubeconfig.yaml"
export KUBECONFIG="${HOME}/.kube/lke-kubeconfig.yaml"
export KUBECONFIG="${HOME}/.kube/config"
|
|
Helm » Install
|
Helm » Install | |
|---|---|
helm show values stakater/reloader --version=2.2.6|less
helm show values stakater/reloader --version=2.2.7|less
| |
export KUBECONFIG="${HOME}/.kube/shahed-ab-kubeconfig.yaml"
kubectl create ns reloader-system || true
|
kubectl get ns|grep reloader-system
kubectl delete ns reloader-system || true
|
| Install | Notes |
cat <<'YML' | \
helm -n=reloader-system upgrade \
-i reloader stakater/reloader --version=2.2.7 -f -
---
nameOverride: reloader
fullnameOverride: reloader
image:
name: stakater/reloader
repository: ghcr.io/stakater/reloader
tag: v1.4.12
reloader:
watchGlobally: true
deployment:
replicas: 1
revisionHistoryLimit: 5
resources:
limits:
cpu: 100m
memory: 512Mi
requests:
cpu: 10m
memory: 128Mi
YML
|
|
| Verify | |
helm -n=reloader-system status reloader
helm -n=reloader-system get manifest reloader
|
|
Helm » Config
|
Helm » Config | |
|---|---|
| Scale » Down | Scale » Up |
kubectl -n=reloader-system \
scale deploy/reloader --replicas=0
|
kubectl -n=reloader-system \
scale deploy/reloader --replicas=1
|
References
|
References | ||
|---|---|---|