Files
home-cluster-ops/apps/nexus/base/service.yaml

16 lines
280 B
YAML

apiVersion: v1
kind: Service
metadata:
name: nexus
namespace: nexus
annotations:
prometheus.io/scrape: 'true'
prometheus.io/path: /
prometheus.io/port: '8081'
spec:
selector:
app: nexus
type: ClusterIP
ports:
- port: 8081
targetPort: 8081