Setting up your environment
In this chapter, we will create several namespaces to install Argo CD and deploy an example Helm chart across different namespaces.
Run the following commands to prepare your environment:
- Start
minikube
by running theminikube start
command:$ minikube start
- Then, create a new namespace called
argo
, where we will later install Argo CD:$ kubectl create namespace argo
- Next, create a namespace called
chapter10
, where we will deploy an example Helm chart from Argo CD:$ kubectl create namespace chapter10
- Finally, create two namespaces called
chapter10-dev
andchapter10-prod
. We will use these namespaces to demonstrate deploying a Helm chart across multiple environments using Argo CD:$ kubectl create namespace chapter10-dev $ kubectl create namespace chapter10-prod
With your minikube
environment ready and your namespaces created, let’s begin by deploying Argo CD. Then, we will walk through examples of using Argo CD to deploy...