Deploy KubeVela Appfile with ArgoCD ๐ฆ
- Kubernetes Cluster (e.g. Docker Desktop Kubernetes)
NOTE: I recommend an empty cluster since following instructions might break your cluster
First, we need both Argo CD and KubeVela in the cluster. For Argo CD, we need to configure Config Management Plugin let Argo CD know how to treat the KubeVela Appfile.
You can check configuration in argocd/values.yaml.
To install both components, run the following command in the shell:
# This command will install `Argo CD` and `KubeVela` through `Helmfile`.
task infra:deploy
Then, we need to open the tunnel for Argo CD CLI to communicate with the server.
# This command will forward the Argo CD server port
task argo:proxy
Let's log in to Argo CD in the other session:
# This command will print the initial admin credential and log in to Argo CD
task argo:login
# Output:
# > ArgoCD Username: admin / Password: <plain-password>
# > 'admin:login' logged in successfully
# > Context 'localhost:8080' updated
Finally, it's time to deploy the sample Appfile.
task argo:create-vela-app
You can check the Application status on the dashboard (https://localhost:8080) ๐ฅณ