d03a182dbc
Change-Id: I4e50f21add4f56b08fa6f3b5df6d5508d52b960c
119 lines
4.6 KiB
YAML
119 lines
4.6 KiB
YAML
|
|
---
|
|
apiVersion: apiextensions.k8s.io/v1beta1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.2.5
|
|
creationTimestamp: null
|
|
name: mcrouters.infrastructure.vexxhost.cloud
|
|
spec:
|
|
group: infrastructure.vexxhost.cloud
|
|
names:
|
|
kind: Mcrouter
|
|
listKind: McrouterList
|
|
plural: mcrouters
|
|
singular: mcrouter
|
|
scope: Namespaced
|
|
validation:
|
|
openAPIV3Schema:
|
|
description: Mcrouter is the Schema for the mcrouters 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: McrouterSpec defines the desired state of Mcrouter
|
|
properties:
|
|
nodeSelector:
|
|
additionalProperties:
|
|
type: string
|
|
type: object
|
|
pools:
|
|
additionalProperties:
|
|
description: McrouterPoolSpec defines the desired state of an Mcrouter
|
|
pool
|
|
properties:
|
|
servers:
|
|
items:
|
|
type: string
|
|
type: array
|
|
required:
|
|
- servers
|
|
type: object
|
|
type: object
|
|
route:
|
|
type: string
|
|
tolerations:
|
|
items:
|
|
description: The pod this Toleration is attached to tolerates any
|
|
taint that matches the triple <key,value,effect> using the matching
|
|
operator <operator>.
|
|
properties:
|
|
effect:
|
|
description: Effect indicates the taint effect to match. Empty
|
|
means match all taint effects. When specified, allowed values
|
|
are NoSchedule, PreferNoSchedule and NoExecute.
|
|
type: string
|
|
key:
|
|
description: Key is the taint key that the toleration applies
|
|
to. Empty means match all taint keys. If the key is empty, operator
|
|
must be Exists; this combination means to match all values and
|
|
all keys.
|
|
type: string
|
|
operator:
|
|
description: Operator represents a key's relationship to the value.
|
|
Valid operators are Exists and Equal. Defaults to Equal. Exists
|
|
is equivalent to wildcard for value, so that a pod can tolerate
|
|
all taints of a particular category.
|
|
type: string
|
|
tolerationSeconds:
|
|
description: TolerationSeconds represents the period of time the
|
|
toleration (which must be of effect NoExecute, otherwise this
|
|
field is ignored) tolerates the taint. By default, it is not
|
|
set, which means tolerate the taint forever (do not evict).
|
|
Zero and negative values will be treated as 0 (evict immediately)
|
|
by the system.
|
|
format: int64
|
|
type: integer
|
|
value:
|
|
description: Value is the taint value the toleration matches to.
|
|
If the operator is Exists, the value should be empty, otherwise
|
|
just a regular string.
|
|
type: string
|
|
type: object
|
|
type: array
|
|
required:
|
|
- pools
|
|
- route
|
|
type: object
|
|
status:
|
|
description: McrouterStatus defines the observed state of Mcrouter
|
|
properties:
|
|
phase:
|
|
type: string
|
|
required:
|
|
- phase
|
|
type: object
|
|
type: object
|
|
version: v1alpha1
|
|
versions:
|
|
- name: v1alpha1
|
|
served: true
|
|
storage: true
|
|
status:
|
|
acceptedNames:
|
|
kind: ""
|
|
plural: ""
|
|
conditions: []
|
|
storedVersions: []
|