Generate Random Workloads For Kubernetes Tool
workload-generator --help
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 the generated workloads created by workload-generator
workload-generator delete --kubeconfig <kubeconfig path> --namespace