Creating an application

The steps to create a application are :-

  • Log in to your Argo CD instance and navigate to the "Applications" tab.

  • Click the New application button located at the top right corner of the Applications page.

Drawing
  • Enter the application details – the Application Name, Project, and Sync Policy. Set Sync Policy as “Manual” if you do not want Argo CD to automatically Sync the git repository to the cluster, otherwise choose “Automatic”.

  • You also need to specify the Repository URL where your application manifests are located and the Path to the manifests in the repository.

Drawing
  • To specify the Destination cluster navigate to the Destination section, specify the Cluster and the Namespace where the application should be deployed. Choose https://kubernetes.default.svc if you want to deploy to the same cluster.

Drawing
  • Once you have reviewed the details, click the Create button. The created application will show up in the Applications tab.

  • To view the components in your application and their status click on the application box. As you can see below, the application is successfully Synced with the destination cluster and it is healthy.

Viewing your application

  • When you run the command kubectl get deploy , you would see one depoyment with the name spring-boot-deploy.

  • If you try accessing the application, you would fail becuase the deployment is not exposed to be able to be accessible from the outside world

Hit the browser with <minikube_ip>:NodePort to view the application.

Last updated