Benutzer-Werkzeuge

Webseiten-Werkzeuge


it-wiki:kubernetes:argocd

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
it-wiki:kubernetes:argocd [2025/07/11 10:09] markoit-wiki:kubernetes:argocd [2025/11/09 08:56] (aktuell) marko
Zeile 6: Zeile 6:
 ===== Installation Helm Chart Variante ===== ===== Installation Helm Chart Variante =====
 <code bash> <code bash>
-# install argocd via helm and customized values1+# install argocd via helm and customized values 
 +## Optional 
 +helm repo add argocd https://argoproj.github.io/argo-helm 
 +helm repo update 
 +## kann auch direkt machen
 helm upgrade --install argocd argo-cd \ helm upgrade --install argocd argo-cd \
   --repo https://argoproj.github.io/argo-helm \   --repo https://argoproj.github.io/argo-helm \
Zeile 49: Zeile 53:
 </code> </code>
  
 +===== Service Type Load Balancer ===== 
 +<code bash> 
 +kubectl patch svc argocd-server -n argocd -p '{"spec": {"type": "LoadBalancer","allocateLoadBalancerNodePorts": false,"loadBalancerIP": "<IP-ADRESSE>"}}' 
 +</code>
 ===== Support for selfsigned rootCA ===== ===== Support for selfsigned rootCA =====
 ''k -n argocd edit cm argocd-tls-certs-cm'' ''k -n argocd edit cm argocd-tls-certs-cm''
Zeile 79: Zeile 86:
     -----END CERTIFICATE-----     -----END CERTIFICATE-----
 </code> </code>
 +
 +===== Tips und Tricks zum Thema "Sync Options" =====
 +Im Applications Objekt kann man mittels
 +<code yaml>
 +kind: Application
 +metadata:
 +  name: wiki
 +  namespace: argocd
 +  finalizers:
 +    - resources-finalizer.argocd.argoproj.io
 +</code>
 +
 +dafür sorgen das die Ressourcen im Kubernetes auch wirklich entfernt werden und nicht nur das ArgoCD Application Object gelöscht wird.
 +
 +Wenn man sicher gehen möchte das bestimmte Ressourcen aber nicht von der ArgoCD entfernt werden sollen kann man diesen Ressourcen eine Annotation mit geben.
 +<code yaml>
 +kind: PersistentVolumeClaim
 +metadata:
 +  annotations:
 +    argocd.argoproj.io/sync-options: Delete=false
 +...
 +</code>
 +
 +Mehr Informationen zu diesem Thema findet man in der [[https://argo-cd.readthedocs.io/en/latest/user-guide/sync-options/#no-resource-deletion|Doku]].
 +
 +===== Application Specification =====
 +[[https://argo-cd.readthedocs.io/en/stable/user-guide/application-specification/|ArgoCD Dokumentation]]\\
 +Eine komplette Beschreibung aller Möglichkeiten des Application Objektes von ArgoCD
it-wiki/kubernetes/argocd.1752228596.txt.gz · Zuletzt geändert: von marko