Commands to set up the demo-wmk-app
application running on the same cluster as ArgoCD (local)
- Clone this repo
- Move to the root of the repo
- Run
kubectl apply -f application.yml
- Wait for confirmation of application configuration
- Check that the application appears in your ArgoCD UI
- To view the application site - Run
kubectl -n <NAMESPACE> get services <SERVICE-NAME>
to get the running ports. - Open a new tab in the terminal to run the port forwading command
kubectl port-forward svc/<SERVICE-NAME> -n <NAMESPACE> <PORT-FORWORD-TO>:<PORT-FROM-PREVIOUS-STEP>
- In the browser navigate to
http://localhost:<PORT-FORWORD-TO>/
and set up the WP application.