Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = cli.Command{ Name: "bench", Usage: "Run benchmark test cases", Flags: []cli.Flag{ cli.StringFlag{ Name: "kubeconfig", Usage: "Path to the kubeconfig file", Value: kperfcmdutils.DefaultKubeConfigPath, }, cli.StringFlag{ Name: "runner-image", Usage: "The runner's conainer image", Required: true, }, cli.StringFlag{ Name: "runner-flowcontrol", Usage: "Apply flowcontrol to runner group. (FORMAT: PriorityLevel:MatchingPrecedence)", Value: "workload-low:1000", }, cli.StringFlag{ Name: "vc-affinity", Usage: "Deploy virtualnode's controller with a specific labels (FORMAT: KEY=VALUE[,VALUE])", Value: "node.kubernetes.io/instance-type=Standard_D8s_v3,m4.2xlarge", }, cli.StringFlag{ Name: "rg-affinity", Usage: "Deploy runner group with a specific labels (FORMAT: KEY=VALUE[,VALUE])", Value: "node.kubernetes.io/instance-type=Standard_D16s_v3,m4.4xlarge", }, cli.BoolFlag{ Name: "eks", Usage: "Indicates the target kubernetes cluster is EKS", Hidden: true, }, cli.StringFlag{ Name: "result", Usage: "Path to the file which stores results", }, }, Subcommands: []cli.Command{ benchNode10Job1Pod100Case, benchNode100Job1Pod3KCase, benchNode100DeploymentNPod10KCase, }, }
Command represents bench subcommand.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.