apiVersion: v1 kind: Service metadata: name: jenkins spec: selector: app: jenkins ports: - name: http port: 8080 targetPort: 8080 type: ClusterIP