INNER CODE UNIT · Go

newPerfTestCmd

rabbitmq/cluster-operator · kubectl-rabbitmq/commands.go:318

func newPerfTestCmd(getExecutor func() *kubectlExecutor) *cobra.Command {
	cmd := &cobra.Command{
		Use:   "perf-test INSTANCE [PERF_TEST_ARGS...]",
		Short: "Create a Job to run perf-test against an instance",
		Long: `Create a Job to run perf-test against an instance. You can pass any perf-test parameters.
See https://rabbitmq.github.io/rabbitmq-perf-test/stable/htmlsingle/ for more details.

To monitor perf-test, create a PodMonitor:
  apiVersion: monitoring.coreos.com/v1
  kind: PodMonitor
  metadata:
    name: kubectl-perf-test
  spec:
    podMetricsEndpoints:
    - interval: 15s
      port: prometheus
    selector:
      matchLabels:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…