From 317e85da71a55f9e4d18e7e089787d5d454b52d9 Mon Sep 17 00:00:00 2001 From: Megha Mehta <76773785+mm2020-ind@users.noreply.github.com> Date: Tue, 2 Mar 2021 18:04:01 +0530 Subject: [PATCH] commands file --- Commands.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Commands.md diff --git a/Commands.md b/Commands.md new file mode 100644 index 0000000..b710fb1 --- /dev/null +++ b/Commands.md @@ -0,0 +1,34 @@ +kubectl create ns guestbook +kc create ns helm-guestbook +kc create ns prod-kustomize-guestbook +kc create ns dev-kustomize-guestbook + + +argocd app create guestbook \ +--repo https://github.com/radtac-craft/argocd-example-apps.git \ +--path guestbook \ +--dest-server https://kubernetes.default.svc \ +--dest-namespace guestbook + + +argocd app create helm-guestbook \ +--repo https://github.com/radtac-craft/argocd-example-apps.git \ +--path helm-guestbook \ +--dest-server https://kubernetes.default.svc \ +--dest-namespace helm-guestbook + + +PROD: +argocd app create prod-kustomize-guestbook \ +--repo https://github.com/radtac-craft/argocd-example-apps.git \ +--path kustomize-guestbook/overlays/prod \ +--dest-server https://kubernetes.default.svc \ +--dest-namespace prod-kustomize-guestbook + + +DEV: +argocd app create dev-kustomize-guestbook \ +--repo https://github.com/radtac-craft/argocd-example-apps.git \ +--path kustomize-guestbook/overlays/dev \ +--dest-server https://kubernetes.default.svc \ +--dest-namespace dev-kustomize-guestbook