apiVersion: v1 kind: Service metadata: name: test_project-service namespace: test_project labels: app: test_project service: test_project annotations: prometheus.io/scrape: "true" prometheus.io/port: "9090" prometheus.io/path: "/metrics" spec: type: ClusterIP ports: - name: http port: 80 targetPort: 8000 protocol: TCP selector: app: test_project sessionAffinity: None sessionAffinityConfig: clientIP: timeoutSeconds: 10800