You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apiVersion: apiextensions.k8s.io/v1kind: CustomResourceDefinitionmetadata:
name: redisclusters.redis.kunspec:
group: redis.kunnames:
kind: RedisClusterlistKind: RedisClusterListplural: redisclusterssingular: redisclusterscope: Namespacedversions:
- name: v1beta1served: truestorage: trueschema:
openAPIV3Schema:
type: objectproperties:
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/api-conventions.md#resources'type: stringkind:
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/api-conventions.md#types-kinds'type: stringmetadata:
type: objectspec:
properties:
affinity:
type: objectcommand:
items:
type: stringtype: arrayconfig:
additionalProperties:
type: stringtype: objectdisablePersistence:
type: booleanexporter:
properties:
enabled:
type: booleanimage:
type: stringtype: objectimage:
type: stringpassword:
type: stringmaxLength: 48resources:
type: objectsecurityContext:
type: objectsentinel:
description: Sentinel defines its cluster settingsproperties:
affinity:
type: objectcommand:
items:
type: stringtype: arraycustomConfig:
items:
type: stringtype: arrayimage:
type: stringreplicas:
format: int32type: integerresources:
type: objectsecurityContext:
type: objecttolerations:
items:
type: objecttype: arraytype: objectshutdownConfigMap:
type: stringsize:
format: int32type: integerminimum: 3maximum: 10storage:
properties:
emptyDir:
type: objectkeepAfterDeletion:
type: booleanpersistentVolumeClaim:
type: objecttype: objecttoleRations:
items:
type: objecttype: arraytype: objectstatus:
properties:
conditions:
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html'items:
properties:
lastTransitionTime:
description: Last time the condition transitioned from one statusto another.type: stringlastUpdateTime:
description: The last time this condition was updated.type: stringmessage:
description: A human readable message indicating details aboutthe transition.type: stringreason:
description: The reason for the condition's last transition.type: stringstatus:
description: Status of the condition, one of True, False, Unknown.type: stringtype:
description: Status of cluster condition.type: stringrequired:
- type
- statustype: objecttype: arraymasterIP:
type: stringsentinelIP:
type: stringtype: objectsubresources:
status: {}additionalPrinterColumns:
- jsonPath: .spec.sizedescription: The number of Redis node in the ensemblename: Sizetype: integer
- jsonPath: .status.conditions[].typedescription: The status of Redis Clustername: Statustype: string
- jsonPath: .metadata.creationTimestampname: Agetype: date
The text was updated successfully, but these errors were encountered:
之前看到自己版本的版本你是1.23的,官方并没有维护到这里,部署的yaml版本都老了,所以v1.22以及以上的版本都没有办法使用,这里简单修复了一下yaml,可以使用了:
The text was updated successfully, but these errors were encountered: