https://github.com/code4mk/argocd-setup
Easily setup argocd on Kubernetes
https://github.com/code4mk/argocd-setup
argocd sdeops
Last synced: 9 months ago
JSON representation
Easily setup argocd on Kubernetes
- Host: GitHub
- URL: https://github.com/code4mk/argocd-setup
- Owner: code4mk
- Created: 2024-10-13T07:01:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-19T17:51:26.000Z (about 1 year ago)
- Last Synced: 2025-02-19T12:55:23.563Z (10 months ago)
- Topics: argocd, sdeops
- Language: Shell
- Homepage: https://www.youtube.com/watch?v=gAA0Jy6AWVE&t=1sisYouTubea
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ArgoCD Setup
This repository contains an interactive bash script for setting up ArgoCD on a Kubernetes cluster. The script provides a menu-driven interface to perform various ArgoCD setup tasks individually or in sequence.
## Features
The script offers the following operations:
1. Install ArgoCD
2. Get ArgoCD secret (admin password)
3. Set up port-forwarding
4. Add load balancer
## Prerequisites
- A Kubernetes cluster
- `kubectl` installed and configured to work with your cluster
- Necessary permissions to create resources in your cluster
## Usage
1. Clone this repository:
```
git clone https://github.com/code4mk/argocd-setup.git
cd argocd-setup
```
2. Make the script executable:
```
chmod +x setup.sh
```
3. Run the script:
```
./setup.sh
```
4. Follow the on-screen menu to perform desired operations.
## Menu Options
- **Install ArgoCD**: Creates a namespace for ArgoCD and installs it using the official manifest.
- **Get ArgoCD Secret**: Retrieves and decodes the initial admin password for ArgoCD.
- **Set up Port-Forwarding**: Establishes port-forwarding to access the ArgoCD UI locally.
- **Add Load Balancer**: Patches the ArgoCD server service to use a LoadBalancer for external access.
## Notes
- The script assumes you have the necessary permissions in your Kubernetes cluster.
- Port-forwarding (option 3) will run in the background. Press Enter to stop it when you're done.
- After adding a load balancer (option 4), it may take a few minutes for an external IP to be assigned.