Argo #gitops LAB 20 Part 2 of 2: Install argo workflow and port forward to Argo Workflow UI

preview_player
Показать описание
ARGO GitOps Lab: Port-forward to Argo Worklow Pod and Get to the UI

Pre-Req:
Have access to a Kubernetes Cluster
Install Argo workflow on it
kubectl create namespace argo

REQUIREMENTS:
Port-forward to Argo Flow Pod and Get to the UI

SOLUTIONS:
1. The argo-server and the UI) defaults to client authentication, which requires clients to provide their Kubernetes bearer token in order to authenticate.
Switch the authentication mode to server so that we can bypass the UI login:
kubectl patch deployment \
argo-server \
--namespace argo \
--type='json' \
-p='[{"op": "replace", "path": "/spec/template/spec/containers/0/args", "value": [
"server",
"--auth-mode=server"
]}]'

2. Port-forward
kubectl -n argo port-forward deployment/argo-server 12746:2746

3. Use a browser to goto localhost:12746
Рекомендации по теме