apiVersion: v1 kind: Service metadata: name: blog namespace: blog spec: selector: app: blog ports: - port: 8080 targetPort: 8080 name: http