Это продолжение третьей части.
ArgoCD
Let’s install argocd cli tool first
brew install argocd
Create new namespace for ArgoCD
kubectl create namespace argocd
Deploy ArgoCD manifest
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
Get admin password from pod
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
Authorize argocd cli app
ARGO_PWD=$(kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d) argocd login localhost:8080 --username admin --password $ARGO_PWD --insecure
Get access to UI via kubectl port-forward
kubectl port-forward svc/argocd-server -n argocd 8080:443
ArgoCD should be available on https://localhost:8080/
Weave
Adding Weave to visualize network:
kubectl apply -f https://github.com/weaveworks/scope/releases/download/v1.13.2/k8s-scope.yaml
Make sure, that everything is working in namespace “weave”:
kubectl get all -n weave
Receiving access via Web UI:
kubectl port-forward -n weave "$(kubectl get -n weave pod --selector=weave-scope-component=app -o jsonpath='{.items..metadata.name}')" 4040
That’s all.