apiVersion: v1 kind: Service metadata: name: labels: app: repo: # Do not modify, this will be replaced during deployment by the CI/CD pipeline spec: type: ClusterIP ports: - port: # Do not modify, this will be replaced during deployment by the CI/CD pipeline targetPort: # Do not modify, this will be replaced during deployment by the CI/CD pipeline protocol: TCP name: http selector: app: --- # Optional: LoadBalancer service for external access # apiVersion: v1 # kind: Service # metadata: # name: -external # labels: # app: # spec: # type: LoadBalancer # ports: # - port: 80 # targetPort: 8080 # protocol: TCP # name: http # selector: # app: