...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 name: etcdmembers.resilience.edge.ncr.com
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7spec:
8 group: resilience.edge.ncr.com
9 names:
10 kind: EtcdMember
11 listKind: EtcdMemberList
12 plural: etcdmembers
13 shortNames:
14 - em
15 - ems
16 singular: etcdmember
17 scope: Cluster
18 versions:
19 - name: v1
20 additionalPrinterColumns:
21 - name: IP
22 type: string
23 jsonPath: .spec.address.host
24 - name: In Progress
25 type: string
26 jsonPath: .status.conditions[?(@.type=="InProgress")].status
27 - name: Reconciling
28 type: string
29 jsonPath: .status.conditions[?(@.type=="Reconciling")].status
30 - name: Ready
31 type: string
32 jsonPath: .status.conditions[?(@.type=="Ready")].status
33 - name: Healthy
34 type: string
35 jsonPath: .status.conditions[?(@.type=="EtcdMemberHealthy")].status
36 - name: Age
37 type: date
38 jsonPath: .metadata.creationTimestamp
39 schema:
40 openAPIV3Schema:
41 type: object
42 properties:
43 apiVersion:
44 type: string
45 description: |-
46 APIVersion defines the versioned schema of this representation of an object.
47 Servers should convert recognized schemas to the latest internal value, and
48 may reject unrecognized values.
49 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
50 kind:
51 type: string
52 description: |-
53 Kind is a string value representing the REST resource this object represents.
54 Servers may infer this from the endpoint the client submits requests to.
55 Cannot be updated.
56 In CamelCase.
57 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
58 metadata:
59 type: object
60 spec:
61 type: object
62 properties:
63 address:
64 type: object
65 properties:
66 clientPort:
67 type: integer
68 default: 2379
69 description: Host defines the port used to contact the EtcdMember. Defaults to 2379.
70 maximum: 65535
71 minimum: 1
72 host:
73 type: string
74 description: Host defines the IP used to contact the EtcdMember.
75 peerPort:
76 type: integer
77 default: 2380
78 description: Host defines the port used to contact the EtcdMember. Defaults to 2380.
79 maximum: 65535
80 minimum: 1
81 healthcheckInterval:
82 type: string
83 default: 60s
84 description: |-
85 HealthcheckInterval is how often the object will be reconciled, in order to keep
86 the EtcdMember health up to date. Defaults to 60s.
87 format: duration
88 reconfigurationBackoffPeriod:
89 type: string
90 default: 10m
91 description: |-
92 ReconfigurationBackoffPeriod tells the controller how long to wait before resetting
93 an unhealthy node. Defaults to 10m.
94 format: duration
95 requiredFiles:
96 type: array
97 description: |-
98 RequiredFiles is a list of files that must be copied from the controlplane to
99 the worker node that the EtcdMember is running on.
100 items:
101 type: string
102 retryInterval:
103 type: string
104 default: 30s
105 description: Interval is how often to retry previously failed reconciliations. Defaults to 30s.
106 format: duration
107 suspend:
108 type: boolean
109 default: false
110 description: |-
111 Suspend tells the controller to suspend subsequent reconciliations,
112 it does not apply to already started reconciliations. Defaults to false.
113 required:
114 - requiredFiles
115 status:
116 type: object
117 properties:
118 conditions:
119 type: array
120 items:
121 type: object
122 description: "Condition contains details for one aspect of the current state of this API Resource.\n---\nThis struct is intended for direct use as an array at the field path .status.conditions. For example,\n\n\n\ttype FooStatus struct{\n\t // Represents the observations of a foo's current state.\n\t // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t // other fields\n\t}"
123 properties:
124 type:
125 type: string
126 description: |-
127 type of condition in CamelCase or in foo.example.com/CamelCase.
128 ---
129 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
130 useful (see .node.status.conditions), the ability to deconflict is important.
131 The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
132 maxLength: 316
133 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
134 status:
135 type: string
136 description: status of the condition, one of True, False, Unknown.
137 enum:
138 - "True"
139 - "False"
140 - Unknown
141 lastTransitionTime:
142 type: string
143 description: |-
144 lastTransitionTime is the last time the condition transitioned from one status to another.
145 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
146 format: date-time
147 message:
148 type: string
149 description: |-
150 message is a human readable message indicating details about the transition.
151 This may be an empty string.
152 maxLength: 32768
153 observedGeneration:
154 type: integer
155 description: |-
156 observedGeneration represents the .metadata.generation that the condition was set based upon.
157 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
158 with respect to the current state of the instance.
159 format: int64
160 minimum: 0
161 reason:
162 type: string
163 description: |-
164 reason contains a programmatic identifier indicating the reason for the condition's last transition.
165 Producers of specific condition types may define expected values and meanings for this field,
166 and whether the values are considered a guaranteed API.
167 The value should be a CamelCase string.
168 This field may not be empty.
169 maxLength: 1024
170 minLength: 1
171 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
172 required:
173 - lastTransitionTime
174 - message
175 - reason
176 - status
177 - type
178 served: true
179 storage: true
180 subresources:
181 status: {}
View as plain text