Kubernetes Web View to list and view all Kubernetes resources https://kube-web-view.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
1.2 KiB

  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. labels:
  5. application: kube-web-view
  6. name: kube-web-view
  7. spec:
  8. replicas: 1
  9. selector:
  10. matchLabels:
  11. application: kube-web-view
  12. template:
  13. metadata:
  14. labels:
  15. application: kube-web-view
  16. spec:
  17. serviceAccountName: kube-web-view
  18. containers:
  19. - name: kube-web-view
  20. # see https://codeberg.org/hjacobs/kube-web-view/releases
  21. image: hjacobs/kube-web-view:20.10.0
  22. args:
  23. - --port=8080
  24. # uncomment the following line to enable pod logs
  25. # (disabled by default as they might consider sensitive information)
  26. # - "--show-container-logs"
  27. # uncomment the following line to unhide secret data
  28. # see also https://kube-web-view.readthedocs.io/en/latest/security.html
  29. # - "--show-secrets"
  30. ports:
  31. - containerPort: 8080
  32. readinessProbe:
  33. httpGet:
  34. path: /health
  35. port: 8080
  36. resources:
  37. limits:
  38. memory: 100Mi
  39. requests:
  40. cpu: 5m
  41. memory: 100Mi
  42. securityContext:
  43. readOnlyRootFilesystem: true
  44. runAsNonRoot: true
  45. runAsUser: 1000