Parcourir la source

Subir archivos a "sin-helm"

creylopez il y a 9 mois
Parent
commit
b6beab8655
1 fichiers modifiés avec 17 ajouts et 0 suppressions
  1. 17 0
      sin-helm/jenkins-04-service.yaml

+ 17 - 0
sin-helm/jenkins-04-service.yaml

@@ -0,0 +1,17 @@
+apiVersion: v1
+kind: Service
+metadata:
+  name: jenkins-service
+  namespace: devops-tools
+  annotations:
+      prometheus.io/scrape: 'true'
+      prometheus.io/path:   /
+      prometheus.io/port:   '8080'
+spec:
+  selector:
+    app: jenkins-server
+  type: NodePort
+  ports:
+    - port: 8080
+      targetPort: 8080
+      nodePort: 32000