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.

37 lines
478 B

  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: template
  5. namespace: template
  6. spec:
  7. ports:
  8. - port: 80
  9. targetPort: 80
  10. selector:
  11. app: template
  12. ---
  13. apiVersion: apps/v1
  14. kind: Deployment
  15. metadata:
  16. name: template
  17. namespace: template
  18. spec:
  19. selector:
  20. matchLabels:
  21. app: template
  22. template:
  23. metadata:
  24. labels:
  25. app: template
  26. spec:
  27. containers:
  28. - image: nexus.tobias-huebner.org/th-wiki:0.5
  29. name: template