Some checks failed
Build images / Run e2e tests (push) Failing after 1m57s
Build images / Run lint test (push) Failing after 7m27s
Lint / Run on Ubuntu (push) Failing after 6m47s
Build images / Run unit test (push) Failing after 8m53s
Build images / Build docker image (push) Has been skipped
E2E Tests / Run on Ubuntu (push) Failing after 1m50s
Tests / Run on Ubuntu (push) Failing after 3m1s
add logging
210 lines
6.8 KiB
YAML
210 lines
6.8 KiB
YAML
---
|
|
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: {}
|