Sample VLCluster:
apiVersion: operator.victoriametrics.com/v1
kind: VLCluster
metadata:
name: cluster-1
namespace: vmlog
spec:
vlinsert:
hpa:
enabled: true
minReplicas: 1
maxReplicas: 3
targetCPUUtilizationPercentage: 80
vlselect:
hpa:
enabled: true
minReplicas: 1
maxReplicas: 3
targetCPUUtilizationPercentage: 80
vlstorage:
retentionPeriod: "30d"
storage:
volumeClaimTemplate:
spec:
resources:
requests:
storage: 50Gi
hpa:
enabled: true
minReplicas: 1
maxReplicas: 3
targetCPUUtilizationPercentage: 80
Then run:
kubectl logs -n vmlog vlinsert-cluster-1-...
2026-04-29T00:23:30.179Z info VictoriaLogs/app/victoria-logs/main.go:43 starting VictoriaLogs at "[:9481]"...
2026-04-29T00:23:30.179Z info VictoriaLogs/app/vlstorage/main.go:145 opening storage at -storageDataPath=victoria-logs-data
You can also query the vlselect pods, and those will have no logs, and if you query the insert logs, they will contain the logs
Sample VLCluster:
Then run:
You can also query the vlselect pods, and those will have no logs, and if you query the insert logs, they will contain the logs