apiVersion: v1 kind: Service metadata: name: addservice spec: selector: app: add-service ports: - protocol: TCP port: 80 targetPort: 80