This repository would guide you through deploying a sample deployment on your Kubernetes cluster via Portainer GitOps.
- An existing Kubernetes cluster.
- A Portainer Agent/Server deployed in Cluster. If you don’t have an existing Portainer deployment, you can follow this tutorial to install the GUI.
After you have followed the tutorial you should be able to access the Portainer Dashboard.
- Navigate to the left panel and click on
Application
- Click on Create from Manifest
- Select the Namespace and assign a name to your Application
- For Build Method, select
Git Repository
- The deployment Type would be
Kubernetes
- Repository URL: https://github.com/hrittikhere/portainer-demo
- Repository Reference would be
refs/heads/main
as the repository is on the main branch - Compose Path:
portainer-deployment.yaml
- Uncheck Authentication as this is a public repository
- Click on Deploy
Your Application would be running, and you can access that on http://localhost:3111/