Skip to content

Latest commit

 

History

History
45 lines (41 loc) · 1.49 KB

hello-world.md

File metadata and controls

45 lines (41 loc) · 1.49 KB

Deploying your first Hello World Application

Requirements: Access to your application Stack repository
Your glueopshosted apps cluster domain (ex. apps.nonprod.antoniostacos.glueopshosted.com)

  1. Go to your application stack repository. This is configured at the time of your cluster setup.
  2. Copy this template file below and save it as: hello-world-web-app.yaml
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: hello-world-web-app
  namespace: glueops-core
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  destination:
    namespace: development
    server: https://kubernetes.default.svc
  project: development
  source:
    repoURL: 'https://helm.gpkg.io/project-template'
    targetRevision: 0.1.0
    helm:
      parameters:
        - name: domain
          value: REPLACE_THIS_VALUE
  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    retry:
      backoff:
        duration: 5s
        factor: 2
        maxDuration: 3m0s
      limit: 2
    syncOptions:
    - CreateNamespace=true

In the template file, you'll need to update the value REPLACE_THIS_VALUE with your apps cluster domain. Let's assume your cluster domain is "apps.nonprod.antoniostacos.glueopshosted.com". Replace the value with something like: hello-world.apps.nonprod.antoniostacos.glueopshosted.com. Save the file and commit it to the repository.

Within seconds, you should see the app running at: https://hello-world.apps.nonprod.antoniostacos.glueopshosted.com