This commit is contained in:
2026-03-13 11:58:54 +00:00
parent 5b693c6074
commit 1c9ec31dc2
2 changed files with 12 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ kind: Service
metadata:
name: nginx
namespace: demo
labels:
app.kubernetes.io/name: demo-app
spec:
internalTrafficPolicy: Cluster
ipFamilies:

View File

@@ -0,0 +1,10 @@
kind: VMServiceScrape
metadata:
name: demo-app-service-scrape
namespace: demo
spec:
selector:
matchLabels:
app.kubernetes.io/name: nginx
endpoints:
- port: http