template.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ---
  2. kind: kubernetes
  3. metadata:
  4. icon:
  5. provider: selfh
  6. id: kubernetes
  7. name: Kubernetes Service
  8. description: >
  9. Kubernetes Service resource for exposing applications running on a set of Pods.
  10. Services provide stable network endpoints and load balancing.
  11. Documentation: https://kubernetes.io/docs/concepts/services-networking/service/
  12. version: 1.31.0
  13. author: Christian Lempa
  14. date: '2025-01-11'
  15. spec:
  16. general:
  17. vars:
  18. resource_name:
  19. default: app-service
  20. namespace:
  21. default: default
  22. service_type:
  23. type: enum
  24. description: Service type
  25. config:
  26. options:
  27. - ClusterIP
  28. - NodePort
  29. - LoadBalancer
  30. - ExternalName
  31. default: ClusterIP
  32. service_port:
  33. type: int
  34. description: Service port
  35. default: 80
  36. target_port:
  37. type: int
  38. description: Target port on pods
  39. default: 8080
  40. protocol:
  41. type: enum
  42. description: Protocol
  43. config:
  44. options:
  45. - TCP
  46. - UDP
  47. - SCTP
  48. default: TCP
  49. app_selector:
  50. type: str
  51. description: App label selector (e.g., app.kubernetes.io/name value)