This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
контроллер_argocd [2024/03/16 11:22] val [Управление приложениями через kubectl] |
контроллер_argocd [2024/07/28 11:36] (current) val [Управление приложениями через kubectl] |
||
---|---|---|---|
Line 5: | Line 5: | ||
* [[https://habr.com/ru/articles/674704/|Рабочий пример использования ArgoCD]] | * [[https://habr.com/ru/articles/674704/|Рабочий пример использования ArgoCD]] | ||
+ | * [[https://developers.redhat.com/articles/2023/05/25/3-patterns-deploying-helm-charts-argocd|3 patterns for deploying Helm charts with Argo CD]] | ||
+ | * [[https://medium.com/globant/using-multiple-sources-for-a-helm-chart-deployment-in-argocd-cf3cd2d598fc|Using multiple sources for a Helm Chart deployment in ArgoCD]] | ||
===== Развертывание и подключение к контроллеру ArgoCD ===== | ===== Развертывание и подключение к контроллеру ArgoCD ===== | ||
<code> | <code> | ||
Line 80: | Line 82: | ||
# helm: | # helm: | ||
# valuesObject: | # valuesObject: | ||
- | # replicaCount: 3 | + | # replicaCount: 2 |
# image: | # image: | ||
- | # tag: "ver1.1" | + | # tag: "ver1.2" |
# REALM_NAME: "corp" | # REALM_NAME: "corp" | ||
+ | # valueFiles: | ||
+ | # - ../env.yaml | ||
+ | |||
destination: | destination: | ||
Line 93: | Line 98: | ||
- CreateNamespace=true | - CreateNamespace=true | ||
</code><code> | </code><code> | ||
- | kube1# kubectl apply -f application.yaml | + | kube1# kubectl apply -f application.yaml #--dry-run=client #-o yaml |
+ | |||
+ | kube1# kubectl get Application -n argocd -o yaml | less | ||
kube1# ### kubectl delete -f application.yaml | kube1# ### kubectl delete -f application.yaml |