Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 975 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 975 Bytes

workload-generator

Generate Random Workloads For Kubernetes Tool

How To Use

Help

workload-generator --help

Generate Random Workloads

Generate random kubernetes workloads:

workload-generator generate --kubeconfig <kubeconfig path> --namespace <namespace>

Use --workload-type to choose whether to deploy Pod or Deployment

workload-generator --workload-type Deployment generate --kubeconfig <kubeconfig path> --namespace <namespace>

Control the different repos to deploy, and whether to deploy all their tags by using --count and --all-tags

workload-generator generate --kubeconfig <kubeconfig path> --namespace <namespace> --count 3 --all-tags

This command will deploy workloads with all tags of 3 different repos

Delete Generated Random Workloads

Delete the generated workloads created by workload-generator

workload-generator delete --kubeconfig <kubeconfig path> --namespace