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
kubectl apply -n argo -f [ Ссылка ]
REQUIREMENTS:
Port-forward to Argo Flow Pod and Get to the UI
SOLUTIONS:
Instructions come from: [ Ссылка ]
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
Ещё видео!