| --- |
| apiVersion: apiextensions.k8s.io/v1 |
| kind: CustomResourceDefinition |
| metadata: |
| annotations: |
| controller-gen.kubebuilder.io/version: v0.13.0 |
| name: seataservers.operator.seata.apache.org |
| spec: |
| group: operator.seata.apache.org |
| names: |
| kind: SeataServer |
| listKind: SeataServerList |
| plural: seataservers |
| singular: seataserver |
| scope: Namespaced |
| versions: |
| - name: v1alpha1 |
| schema: |
| openAPIV3Schema: |
| description: SeataServer is the Schema for the seataservers 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: SeataServerSpec defines the desired state of SeataServer |
| properties: |
| containerName: |
| default: seata-server |
| type: string |
| env: |
| additionalProperties: |
| type: string |
| type: object |
| image: |
| type: string |
| ports: |
| properties: |
| consolePort: |
| default: 7091 |
| format: int32 |
| type: integer |
| raftPort: |
| default: 9091 |
| format: int32 |
| type: integer |
| servicePort: |
| default: 8091 |
| format: int32 |
| type: integer |
| type: object |
| replicas: |
| default: 1 |
| format: int32 |
| minimum: 1 |
| type: integer |
| resources: |
| description: ResourceRequirements describes the compute resource requirements. |
| properties: |
| claims: |
| description: "Claims lists the names of resources, defined in |
| spec.resourceClaims, that are used by this container. \n This |
| is an alpha field and requires enabling the DynamicResourceAllocation |
| feature gate. \n This field is immutable. It can only be set |
| for containers." |
| items: |
| description: ResourceClaim references one entry in PodSpec.ResourceClaims. |
| properties: |
| name: |
| description: Name must match the name of one entry in pod.spec.resourceClaims |
| of the Pod where this field is used. It makes that resource |
| available inside a container. |
| type: string |
| required: |
| - name |
| type: object |
| type: array |
| x-kubernetes-list-map-keys: |
| - name |
| x-kubernetes-list-type: map |
| limits: |
| additionalProperties: |
| anyOf: |
| - type: integer |
| - type: string |
| pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| x-kubernetes-int-or-string: true |
| description: 'Limits describes the maximum amount of compute resources |
| allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' |
| type: object |
| requests: |
| additionalProperties: |
| anyOf: |
| - type: integer |
| - type: string |
| pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| x-kubernetes-int-or-string: true |
| description: 'Requests describes the minimum amount of compute |
| resources required. If Requests is omitted for a container, |
| it defaults to Limits if that is explicitly specified, otherwise |
| to an implementation-defined value. Requests cannot exceed Limits. |
| More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' |
| type: object |
| type: object |
| serviceName: |
| default: seata-server |
| type: string |
| store: |
| properties: |
| resources: |
| description: ResourceRequirements describes the compute resource |
| requirements. |
| properties: |
| claims: |
| description: "Claims lists the names of resources, defined |
| in spec.resourceClaims, that are used by this container. |
| \n This is an alpha field and requires enabling the DynamicResourceAllocation |
| feature gate. \n This field is immutable. It can only be |
| set for containers." |
| items: |
| description: ResourceClaim references one entry in PodSpec.ResourceClaims. |
| properties: |
| name: |
| description: Name must match the name of one entry in |
| pod.spec.resourceClaims of the Pod where this field |
| is used. It makes that resource available inside a |
| container. |
| type: string |
| required: |
| - name |
| type: object |
| type: array |
| x-kubernetes-list-map-keys: |
| - name |
| x-kubernetes-list-type: map |
| limits: |
| additionalProperties: |
| anyOf: |
| - type: integer |
| - type: string |
| pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| x-kubernetes-int-or-string: true |
| description: 'Limits describes the maximum amount of compute |
| resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' |
| type: object |
| requests: |
| additionalProperties: |
| anyOf: |
| - type: integer |
| - type: string |
| pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| x-kubernetes-int-or-string: true |
| description: 'Requests describes the minimum amount of compute |
| resources required. If Requests is omitted for a container, |
| it defaults to Limits if that is explicitly specified, otherwise |
| to an implementation-defined value. Requests cannot exceed |
| Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' |
| type: object |
| type: object |
| required: |
| - resources |
| type: object |
| required: |
| - image |
| - store |
| type: object |
| status: |
| description: SeataServerStatus defines the observed state of SeataServer |
| properties: |
| readyReplicas: |
| format: int32 |
| type: integer |
| replicas: |
| format: int32 |
| type: integer |
| synchronized: |
| type: boolean |
| required: |
| - replicas |
| - synchronized |
| type: object |
| type: object |
| served: true |
| storage: true |
| subresources: |
| status: {} |