apiVersion: v1 kind: Service metadata: name: nginx-errors spec: selector: app: nginx-errors ports: - protocol: TCP port: 80 targetPort: 9090