config.yaml 993 B

123456789101112131415161718192021222324252627282930
  1. ---
  2. listenAddressSingleHTTPFrontend: 0.0.0.0:11337
  3. logLevel: "WARN"
  4. checkForUpdates: false
  5. showFooter: false
  6. actions:
  7. - title: get pods
  8. icon: <iconify-icon icon="pajamas:pod"></iconify-icon>
  9. shell: |
  10. echo "NAME READY STATUS RESTARTS AGE"
  11. echo "olivetin-7f8b9c6d4-xk2mp 1/1 Running 0 3d"
  12. echo "postgres-5d4f8b7c9-mn8pq 1/1 Running 0 12d"
  13. echo "nginx-ingress-controller-2h9k 1/1 Running 0 45d"
  14. - title: restart postgres deployment
  15. icon: <iconify-icon icon="pajamas:clear-all"></iconify-icon>
  16. shell: echo "deployment.apps/postgres restarted"
  17. - title: evacuate node
  18. icon: <iconify-icon icon="pajamas:rocket-launch"></iconify-icon>
  19. shell: echo "node/{{ NodeName }} cordoned and drained"
  20. arguments:
  21. - name: NodeName
  22. type: ascii_identifier
  23. choices:
  24. - value: node1
  25. - value: node2
  26. - value: node3