You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run: manifests generate fmt vet ## Run a controller from your host.
224
225
/bin/bash hack/clean_local_webhook.sh
225
226
source hack/export_related_images.sh &&\
226
-
go run ./main.go -metrics-bind-address ":$(METRICS_PORT)" -health-probe-bind-address ":$(HEALTH_PORT)"
227
+
go run ./main.go -metrics-bind-address ":$(METRICS_PORT)" -health-probe-bind-address ":$(HEALTH_PORT)" -pprof-bind-address ":$(PPROF_PORT)"
227
228
228
229
.PHONY: run-operator
229
230
run-operator: export METRICS_PORT?=8080
230
231
run-operator: export HEALTH_PORT?=8081
232
+
run: export PPROF_PORT?=8082
231
233
run-operator: export ENABLE_WEBHOOKS?=false
232
234
run-operator: export BASE_BINDATA?=bindata
233
235
run-operator: export OPERATOR_IMAGE_URL=${IMG}
234
236
run-operator: manifests generate fmt vet ## Run a controller from your host.
235
237
source hack/export_related_images.sh &&\
236
238
source hack/export_operator_related_images.sh &&\
237
-
go run ./cmd/operator/main.go -metrics-bind-address ":$(METRICS_PORT)" -health-probe-bind-address ":$(HEALTH_PORT)"
239
+
go run ./cmd/operator/main.go -metrics-bind-address ":$(METRICS_PORT)" -health-probe-bind-address ":$(HEALTH_PORT)" -pprof-bind-address ":$(PPROF_PORT)"
238
240
239
241
.PHONY: docker-build
240
242
docker-build: ## Build docker image with the manager.
@@ -502,6 +504,7 @@ SKIP_CERT ?=false
502
504
.PHONY: run-with-webhook
503
505
run-with-webhook: export METRICS_PORT?=8080
504
506
run-with-webhook: export HEALTH_PORT?=8081
507
+
run-with-webhook: export PPROF_PORT?=8082
505
508
run-with-webhook: manifests generate fmt vet ## Run a controller from your host.
0 commit comments