--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: v0.17.2 name: locustclusters.locust.io spec: group: locust.io names: kind: LocustCluster listKind: LocustClusterList plural: locustclusters singular: locustcluster scope: Namespaced versions: - name: v1alpha1 schema: openAPIV3Schema: description: LocustCluster is the Schema for the locustclusters API. properties: apiVersion: description: |- APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources type: string kind: description: |- Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds type: string metadata: type: object spec: description: LocustClusterSpec defines the desired state of LocustCluster properties: infrastructure: items: properties: endpoint: type: string prometheusEndpoint: type: string prometheusJobName: type: string prometheusPort: type: integer required: - endpoint type: object type: array leader: properties: download: properties: bucket: type: string filename: type: string required: - bucket - filename type: object image: type: string leaderFile: type: string priorityClass: type: string resources: properties: maxCpu: type: string maxMem: type: string minCpu: type: string minMem: type: string type: object type: object metrics: properties: mosaic: properties: grafanaEndpoint: type: string groupEmail: type: string mtls: type: boolean nameSpace: type: string prometheusTag: type: string publishing_endpoint: type: string workSpace: type: string required: - groupEmail - nameSpace - prometheusTag - workSpace type: object type: object secrets: items: properties: secretKeys: items: properties: secretKey: type: string required: - secretKey type: object type: array secretName: type: string required: - secretKeys - secretName type: object type: array worker: properties: clients: type: integer hatchRate: type: integer nodes: type: integer priorityClass: type: string resources: properties: maxCpu: type: string maxMem: type: string minCpu: type: string minMem: type: string type: object scenarioName: type: string testContainer: type: string testLanguage: type: string testPath: type: string tests: items: properties: env: items: properties: name: type: string value: type: string required: - name - value type: object type: array runTime: type: string testCommand: items: type: string type: array testName: type: string required: - runTime - testName type: object type: array required: - clients - hatchRate - nodes - scenarioName - testContainer - testLanguage - testPath - tests type: object required: - metrics - worker type: object status: description: LocustClusterStatus defines the observed state of LocustCluster. type: object type: object served: true storage: true subresources: status: {}