Lets take a look at some of the examples to get more clarity of the add-on functionality
Example 1: Prometheus
- Navigate to Catalog and choose default-add-on-catalog from the catalog list
- Select the Add Application and give it an appropriate name which is ‘Prometheus’ in this case. Select type for the application source which is git in this case and choose the git credentails created along with the other details. Please refer to GitOps deployment with Nirmata for more details.
- Once the application is created and synced with Git connection, Navigate to the vertical ellipsis located in the upper right corner in the application view and Select a division where this should be placed. (‘Monitoring’ in this case) and click on Save
- Once the application is created in respective catalog, Navigate to cluster, click on Add-ons using the tool bar options and choose Add an Add-on. Fill in the details and Select the application (prometheus) from the division (monitoring) it was placed in from the Catalog Add-on dropdown. Select the namespace and the environment the application should be deployed. Labels can be added to the application using the Labels field.
- Click on Add and the application will be added as a add-on in the cluster. System Tasks on the upper right side can be used to check the status of successful deployment of the add-on application.
Example 2: Loki
- Navigate to Catalog and choose default-add-on-catalog from the catalog list
- Select the Add Application and give it an appropriate name which is ‘Loki’ in this case. Select type for the application source which is catalog in this case which will launch a dialogue where the application’s YAML can be uploaded. Click on OK
- Once the application is created direct to the application view and Navigate to the vertical ellipsis in the upper right corner. Select a division where this should be placed. (‘Logging’ in this case) and click on Save
- Once the application is created in respective catalog, Navigate to cluster, click on Add-ons using the tool bar options and choose Add an Add-on. Fill in the details and Select the application (prometheus) from the division (monitoring) it was placed in from the Catalog Add-on dropdown. Select the namespace and the environment the application should be deployed. Labels can be added to the application using the Labels field.
- Click on Add and the application will be added as a add-on in the cluster. System Tasks on the upper right side can be used to check the status of successful deployment of the add-on application.