Helm/Zabbix: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 77: Line 77:


|valign='top' style='width:50%'|
|valign='top' style='width:50%'|
|}
==Helm » Install==
{|class='wikitable mw-collapsible'
!scope='col' style='text-align:left' colspan='2'|
Helm » Install
|-
|valign='top' colspan='2'|
<syntaxhighlight lang='bash'>
helm show  values zabbix-community/zabbix --version=7.0.11|less
helm show  values zabbix-community/zabbix --version=7.0.12|less
</syntaxhighlight>
|-
|valign='top' style='width:50%'|
<syntaxhighlight lang='bash'>
export KUBECONFIG="${HOME}/.kube/shahed-ab-kubeconfig.yaml"
kubectl create ns  zabbix-monitoring-system || true
</syntaxhighlight>
|valign='top' style='width:50%'|
<syntaxhighlight lang='bash'>
kubectl get ns|grep zabbix-monitoring-system
kubectl delete ns  zabbix-monitoring-system || true
</syntaxhighlight>
|-
!scope='col'| Install
!scope='col'| Notes
|-
|valign='top'|
<syntaxhighlight lang='yaml'>
cat <<'YML' | \
helm -n=zabbix-monitoring-system upgrade \
-i zabbix  external-secrets/external-secrets --version=1.2.1 -f -
---
nameOverride: zabbix
fullnameOverride: zabbix
zabbixImageTag: ubuntu-7.0.16
postgresAccess:
  existingSecretName: postgres
zabbixServer:
  enabled: true
  zabbixServerHA:
    enabled: false
    dbCreateUpgradeJob:
      image:
        repository: ghcr.io/zabbix-community/zabbix-server-create-upgrade-db
  replicaCount: 1
  image:
    repository: zabbix/zabbix-server-pgsql
YML
</syntaxhighlight>
|valign='top'|
|-
!scope='col'| Verify
!scope='col'|
|-
|valign='top'|
<syntaxhighlight lang='bash'>
helm -n=zabbix-monitoring-system status          zabbix
helm -n=zabbix-monitoring-system get    manifest zabbix
</syntaxhighlight>
|valign='top'|
|}
|}



Revision as of 16:34, 25 January 2026

helm repo add zabbix-community https://zabbix-community.github.io/helm-zabbix
helm repo update && helm repo list
kubectl config get-contexts

Diagram

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 zabbix-community/zabbix --version=7.0.11|less
helm show   values zabbix-community/zabbix --version=7.0.12|less
export KUBECONFIG="${HOME}/.kube/shahed-ab-kubeconfig.yaml"
kubectl create ns   zabbix-monitoring-system || true
kubectl get ns|grep zabbix-monitoring-system
kubectl delete ns   zabbix-monitoring-system || true
Install Notes
cat <<'YML' | \
helm -n=zabbix-monitoring-system upgrade \
-i zabbix  external-secrets/external-secrets --version=1.2.1 -f -
---
nameOverride: zabbix
fullnameOverride: zabbix
zabbixImageTag: ubuntu-7.0.16
postgresAccess:
  existingSecretName: postgres

zabbixServer:
  enabled: true
  zabbixServerHA:
    enabled: false
    dbCreateUpgradeJob:
      image:
        repository: ghcr.io/zabbix-community/zabbix-server-create-upgrade-db
  replicaCount: 1
  image:
    repository: zabbix/zabbix-server-pgsql
YML
Verify
helm -n=zabbix-monitoring-system status          zabbix
helm -n=zabbix-monitoring-system get    manifest zabbix

References

References