PandaAcademy

ArgoCD warsztat komendy

Apr 16th, 2024 (edited)
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.46 KB | None | 0 0
  1. sudo su
  2. sudo kubectl get secret jenkins -o jsonpath="{.data.jenkins-admin-password}" | base64 -d; echo
  3. sudo kubectl get secret grafana -o jsonpath="{.data.admin-password}" | base64 -d; echo
  4. sudo nohup kubectl port-forward svc/jenkins 8001:8080 --address 0.0.0.0 > /var/null 2>&1 &
  5. sudo nohup kubectl port-forward svc/prometheus-server 9090:80 --address 0.0.0.0 > /var/null 2>&1 &
  6. sudo nohup kubectl port-forward svc/grafana 3000:80 --address 0.0.0.0 > /var/null 2>&1 &
Add Comment
Please, Sign In to add comment