Updated ports and replicas

This commit is contained in:
jshu0 2023-08-15 11:47:03 -05:00
parent 067143caf2
commit 8980f429b3
4 changed files with 11 additions and 12 deletions

View File

@ -1,5 +1,5 @@
replicas: 5 replicas: 2
configmap: configmap:
data: data:

View File

@ -1,5 +1,5 @@
replicas: 4 replicas: 2
configmap: configmap:
data: data:

View File

@ -1,6 +1,6 @@
appName: myhelmapp appName: myhelmapp
port: 80 port: 3000
configmap: configmap:
name: myhelmapp-configmap-v1 name: myhelmapp-configmap-v1

View File

@ -1,27 +1,29 @@
# Follow this video to be a ArgoCD Boss # Follow this video to be a ArgoCD Boss
https://youtu.be/JLrR9RV9AFA https://youtu.be/JLrR9RV9AFA
# Installing latest/stable version of ArgoCD # Installing latest/stable version of ArgoCD
``` ```
kubectl create namespace argocd kubectl create namespace argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
``` ```
### Forward Ports ### Forward Ports
``` ```
k get services -n argocd kubectl get services -n argocd
kubectl port-forward service/argocd-server -n argocd 8080:443 kubectl port-forward service/argocd-server -n argocd 8080:443
``` ```
### Get Credentials ### Get Credentials
``` ```
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
``` ```
# Install ArgoCD CLI / Login via CLI # Install ArgoCD CLI / Login via CLI
``` ```
brew install argocd brew install argocd
kubectl port-forward svc/argocd-server -n argocd 8080:443 kubectl port-forward svc/argocd-server -n argocd 8080:443
@ -29,6 +31,7 @@ argocd login 127.0.0.1:8080
``` ```
# Creating an Application using ArgoCD CLI: # Creating an Application using ArgoCD CLI:
``` ```
argocd app create webapp-kustom-prod \ argocd app create webapp-kustom-prod \
--repo https://github.com/devopsjourney1/argo-examples.git \ --repo https://github.com/devopsjourney1/argo-examples.git \
@ -37,6 +40,7 @@ argocd app create webapp-kustom-prod \
``` ```
# Command Cheat sheet # Command Cheat sheet
``` ```
argocd app create #Create a new Argo CD application. argocd app create #Create a new Argo CD application.
argocd app list #List all applications in Argo CD. argocd app list #List all applications in Argo CD.
@ -49,8 +53,3 @@ argocd app rollback <appname> #Rollback to a previous version
argocd app set <appname> #Set the applications configuration. argocd app set <appname> #Set the applications configuration.
argocd app delete <appname> #Delete an Argo CD application. argocd app delete <appname> #Delete an Argo CD application.
``` ```