Это продолжение третьей части.
ArgoCD
Let’s install argocd cli tool first
brew install argocdCreate new namespace for ArgoCD
kubectl create namespace argocdDeploy ArgoCD manifest
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yamlGet admin password from pod
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -dAuthorize 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 --insecureGet access to UI via kubectl port-forward
kubectl port-forward svc/argocd-server -n argocd 8080:443ArgoCD 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.yamlMake sure, that everything is working in namespace “weave”:
kubectl get all -n weaveReceiving 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.