...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 api-approved.openshift.io: https://github.com/openshift/api/pull/752
6 include.release.openshift.io/ibm-cloud-managed: "true"
7 include.release.openshift.io/self-managed-high-availability: "true"
8 include.release.openshift.io/single-node-developer: "true"
9 name: etcds.operator.openshift.io
10spec:
11 group: operator.openshift.io
12 names:
13 categories:
14 - coreoperators
15 kind: Etcd
16 plural: etcds
17 singular: etcd
18 scope: Cluster
19 versions:
20 - name: v1
21 schema:
22 openAPIV3Schema:
23 description: "Etcd provides information to configure an operator to manage etcd. \n Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer)."
24 type: object
25 required:
26 - spec
27 properties:
28 apiVersion:
29 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'
30 type: string
31 kind:
32 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'
33 type: string
34 metadata:
35 type: object
36 spec:
37 type: object
38 properties:
39 failedRevisionLimit:
40 description: failedRevisionLimit is the number of failed static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)
41 type: integer
42 format: int32
43 forceRedeploymentReason:
44 description: forceRedeploymentReason can be used to force the redeployment of the operand by providing a unique string. This provides a mechanism to kick a previously failed deployment and provide a reason why you think it will work this time instead of failing again on the same config.
45 type: string
46 logLevel:
47 description: "logLevel is an intent based logging for an overall component. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for their operands. \n Valid values are: \"Normal\", \"Debug\", \"Trace\", \"TraceAll\". Defaults to \"Normal\"."
48 type: string
49 default: Normal
50 enum:
51 - ""
52 - Normal
53 - Debug
54 - Trace
55 - TraceAll
56 managementState:
57 description: managementState indicates whether and how the operator should manage the component
58 type: string
59 pattern: ^(Managed|Unmanaged|Force|Removed)$
60 observedConfig:
61 description: observedConfig holds a sparse config that controller has observed from the cluster state. It exists in spec because it is an input to the level for the operator
62 type: object
63 nullable: true
64 x-kubernetes-preserve-unknown-fields: true
65 operatorLogLevel:
66 description: "operatorLogLevel is an intent based logging for the operator itself. It does not give fine grained control, but it is a simple way to manage coarse grained logging choices that operators have to interpret for themselves. \n Valid values are: \"Normal\", \"Debug\", \"Trace\", \"TraceAll\". Defaults to \"Normal\"."
67 type: string
68 default: Normal
69 enum:
70 - ""
71 - Normal
72 - Debug
73 - Trace
74 - TraceAll
75 succeededRevisionLimit:
76 description: succeededRevisionLimit is the number of successful static pod installer revisions to keep on disk and in the api -1 = unlimited, 0 or unset = 5 (default)
77 type: integer
78 format: int32
79 unsupportedConfigOverrides:
80 description: unsupportedConfigOverrides overrides the final configuration that was computed by the operator. Red Hat does not support the use of this field. Misuse of this field could lead to unexpected behavior or conflict with other configuration options. Seek guidance from the Red Hat support before using this field. Use of this property blocks cluster upgrades, it must be removed before upgrading your cluster.
81 type: object
82 nullable: true
83 x-kubernetes-preserve-unknown-fields: true
84 status:
85 type: object
86 properties:
87 conditions:
88 description: conditions is a list of conditions and their status
89 type: array
90 items:
91 description: OperatorCondition is just the standard condition fields.
92 type: object
93 properties:
94 lastTransitionTime:
95 type: string
96 format: date-time
97 message:
98 type: string
99 reason:
100 type: string
101 status:
102 type: string
103 type:
104 type: string
105 generations:
106 description: generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.
107 type: array
108 items:
109 description: GenerationStatus keeps track of the generation for a given resource so that decisions about forced updates can be made.
110 type: object
111 properties:
112 group:
113 description: group is the group of the thing you're tracking
114 type: string
115 hash:
116 description: hash is an optional field set for resources without generation that are content sensitive like secrets and configmaps
117 type: string
118 lastGeneration:
119 description: lastGeneration is the last generation of the workload controller involved
120 type: integer
121 format: int64
122 name:
123 description: name is the name of the thing you're tracking
124 type: string
125 namespace:
126 description: namespace is where the thing you're tracking is
127 type: string
128 resource:
129 description: resource is the resource type of the thing you're tracking
130 type: string
131 latestAvailableRevision:
132 description: latestAvailableRevision is the deploymentID of the most recent deployment
133 type: integer
134 format: int32
135 latestAvailableRevisionReason:
136 description: latestAvailableRevisionReason describe the detailed reason for the most recent deployment
137 type: string
138 nodeStatuses:
139 description: nodeStatuses track the deployment values and errors across individual nodes
140 type: array
141 items:
142 description: NodeStatus provides information about the current state of a particular node managed by this operator.
143 type: object
144 properties:
145 currentRevision:
146 description: currentRevision is the generation of the most recently successful deployment
147 type: integer
148 format: int32
149 lastFailedCount:
150 description: lastFailedCount is how often the installer pod of the last failed revision failed.
151 type: integer
152 lastFailedReason:
153 description: lastFailedReason is a machine readable failure reason string.
154 type: string
155 lastFailedRevision:
156 description: lastFailedRevision is the generation of the deployment we tried and failed to deploy.
157 type: integer
158 format: int32
159 lastFailedRevisionErrors:
160 description: lastFailedRevisionErrors is a list of human readable errors during the failed deployment referenced in lastFailedRevision.
161 type: array
162 items:
163 type: string
164 lastFailedTime:
165 description: lastFailedTime is the time the last failed revision failed the last time.
166 type: string
167 format: date-time
168 lastFallbackCount:
169 description: lastFallbackCount is how often a fallback to a previous revision happened.
170 type: integer
171 nodeName:
172 description: nodeName is the name of the node
173 type: string
174 targetRevision:
175 description: targetRevision is the generation of the deployment we're trying to apply
176 type: integer
177 format: int32
178 observedGeneration:
179 description: observedGeneration is the last generation change you've dealt with
180 type: integer
181 format: int64
182 readyReplicas:
183 description: readyReplicas indicates how many replicas are ready and at the desired state
184 type: integer
185 format: int32
186 version:
187 description: version is the level this availability applies to
188 type: string
189 served: true
190 storage: true
191 subresources:
192 status: {}
View as plain text