Skip to content

muhammadanassheikh/fast-api-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My project-6

Set Up Your Development Environment

  • brew install git
  • brew install kubectl
  • brew install argocd
  • brew install minikube

Step 0:

  • minikube status
  • minikube stop
  • minikube delete
  • minikube start
  • kubectl config use-context minikube # activation
  • kubectl config get-contexts # kubectl is pointing to the correct cluster and context.
  • kubectl get pods -n argocd #Once Minikube is running, check if Argo CD resources are available and running

Step 1:

-Run the following commands to install Argo CD in your Kubernetes cluster:

Step 2:

You can access the Argo CD server by port forwarding:

  • $ kubectl port-forward svc/argocd-server -n argocd 8080:443 Now you can access the Argo CD UI at http://localhost:8080.

or Install Argo CD CLI command line

Step 3:

Retrieve the Initial Admin Password

  • kubectl get secrets -n argocd
  • kubectl get secret argocd-initial-admin-secret -n argocd -o jsonpath="{.data.password}" | base64 --decode

Step 4:

Create an Argo CD Application that points to your GitHub repository:

Step 5:

Sync the Application

  • $ argocd app sync

Step 6:

Monitor the Application Check the status of your application to see if it has been successfully deployed:

  • $ argocd app get

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published