--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: trafficsplits.split.smi-spec.io labels: app.kubernetes.io/part-of: nginx-service-mesh spec: group: split.smi-spec.io names: kind: TrafficSplit listKind: TrafficSplitList plural: trafficsplits shortNames: - ts singular: trafficsplit scope: Namespaced versions: - name: v1alpha3 schema: openAPIV3Schema: description: TrafficSplit is the Schema for the trafficsplits 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: TrafficSplitSpec defines the desired state of TrafficSplit properties: backends: description: Backends defines a list of Kubernetes services used as the traffic split destination items: description: TrafficSplitBackend defines a backend properties: service: description: Service is the name of a Kubernetes service type: string weight: description: Weight defines the traffic split percentage minimum: 0 type: integer required: - service - weight type: object type: array matches: description: Matches allows defining a list of HTTP route groups that this traffic split object should match items: description: TypedLocalObjectReference contains enough information to let you locate the typed referenced object inside the same namespace. properties: apiGroup: description: APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required. type: string kind: description: Kind is the type of resource being referenced type: string name: description: Name is the name of resource being referenced type: string required: - kind - name type: object type: array service: description: Service represents the apex service type: string required: - backends - service type: object status: description: TrafficSplitStatus defines the observed state of TrafficSplit type: object type: object served: true storage: true subresources: status: {} status: acceptedNames: kind: "" plural: "" conditions: [] storedVersions: []