This commit is contained in:
2025-04-05 23:48:44 +02:00
parent 9a3f4bac60
commit 79349f9743
2 changed files with 25 additions and 26 deletions

View File

@@ -1,18 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: sonatype-service
annotations:
prometheus.io/scrape: 'true'
prometheus.io/path: /
prometheus.io/port: '8081'
name: sonatype-service
prometheus.io/scrape: "true"
prometheus.io/path: "/"
prometheus.io/port: "8081"
spec:
ports:
- name: sonatype-nexus
port: 8081
protocol: TCP
targetPort: 8081
nodePort: 8081
selector:
type: ClusterIP
selector:
app: sonatype-nexus
type: ClusterIP
ports:
- name: sonatype-nexus
protocol: TCP
port: 8081
targetPort: 8081