kind: Application
(Redirected from Aplications)
Jump to navigation
Jump to search
apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: guestbook namespace: argocd spec: project: default source: repoURL: https://github.com/argoproj/argocd-example-apps.git targetRevision: HEAD path: guestbook destination: server: https://kubernetes.default.svc namespace: guestbook
Nginx example (Grok)[edit]
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nginx
namespace: argocd
spec:
project: default
destination:
server: https://kubernetes.default.svc
namespace: nginx
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
source:
repoURL: https://charts.bitnami.com/bitnami
targetRevision: 15.0.2
chart: nginx
helm:
values: |
replicaCount: 1
persistence:
enabled: false
service:
type: ClusterIP
port: 80
Related[edit]
kind: AppProjectkubectl api-resources --api-group=argoproj.io- Terraform ArgoCD
applications.argoproj.io- ArgoCD Automated Sync Policy
kubectl get application -n argocdkubectl patch application
See also[edit]
application.yaml, argocd.argoproj.io: /sync-optionskind: Application (application.yaml), kind: AppProject, kind: ApplicationSet:syncPolicy (automated.prune), syncOptions,resources-finalizer.argocd.argoproj.io, ArgoCD manifest,kubectl get applicationargocd_application: repo_url, sync_policy,argocd_application_set
Advertising: