service.yaml 168 B

123456789101112
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. name: template-single
  5. spec:
  6. ports:
  7. - port: 80
  8. protocol: TCP
  9. targetPort: 8000
  10. selector:
  11. app: template-single