26
26
may reject unrecognized values.
27
27
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28
28
type : string
29
- cacheNamespace :
30
- description : |-
31
- CacheNamespace if specified restricts the manager's cache to watch objects in
32
- the desired namespace Defaults to all namespaces
33
-
34
-
35
- Note: If a namespace is specified, controllers can still Watch for a
36
- cluster-scoped resource (e.g Node). For namespaced resources the cache
37
- will only hold objects from the desired namespace.
38
- type : string
39
- clusterName :
40
- type : string
41
- controller :
42
- description : |-
43
- Controller contains global configuration options for controllers
44
- registered within this manager.
45
- properties :
46
- cacheSyncTimeout :
47
- description : |-
48
- CacheSyncTimeout refers to the time limit set to wait for syncing caches.
49
- Defaults to 2 minutes if not set.
50
- format : int64
51
- type : integer
52
- groupKindConcurrency :
53
- additionalProperties :
54
- type : integer
55
- description : |-
56
- GroupKindConcurrency is a map from a Kind to the number of concurrent reconciliation
57
- allowed for that controller.
58
-
59
-
60
- When a controller is registered within this manager using the builder utilities,
61
- users have to specify the type the controller reconciles in the For(...) call.
62
- If the object's kind passed matches one of the keys in this map, the concurrency
63
- for that controller is set to the number specified.
64
-
65
-
66
- The key is expected to be consistent in form with GroupKind.String(),
67
- e.g. ReplicaSet in apps group (regardless of version) would be `ReplicaSet.apps`.
68
- type : object
69
- recoverPanic :
70
- description : RecoverPanic indicates if panics should be recovered.
71
- type : boolean
72
- type : object
73
- gracefulShutDown :
74
- description : |-
75
- GracefulShutdownTimeout is the duration given to runnable to stop before the manager actually returns on stop.
76
- To disable graceful shutdown, set to time.Duration(0)
77
- To use graceful shutdown without timeout, set to a negative duration, e.G. time.Duration(-1)
78
- The graceful shutdown is skipped for safety reasons in case the leader election lease is lost.
79
- type : string
80
- health :
81
- description : Health contains the controller health configuration
82
- properties :
83
- healthProbeBindAddress :
84
- description : |-
85
- HealthProbeBindAddress is the TCP address that the controller should bind to
86
- for serving health probes
87
- It can be set to "0" or "" to disable serving the health probe.
88
- type : string
89
- livenessEndpointName :
90
- description : LivenessEndpointName, defaults to "healthz"
91
- type : string
92
- readinessEndpointName :
93
- description : ReadinessEndpointName, defaults to "readyz"
94
- type : string
95
- type : object
96
29
kind :
97
30
description : |-
98
31
Kind is a string value representing the REST resource this object represents.
@@ -101,75 +34,8 @@ spec:
101
34
In CamelCase.
102
35
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
103
36
type : string
104
- leaderElection :
105
- description : |-
106
- LeaderElection is the LeaderElection config to be used when configuring
107
- the manager.Manager leader election
108
- properties :
109
- leaderElect :
110
- description : |-
111
- leaderElect enables a leader election client to gain leadership
112
- before executing the main loop. Enable this when running replicated
113
- components for high availability.
114
- type : boolean
115
- leaseDuration :
116
- description : |-
117
- leaseDuration is the duration that non-leader candidates will wait
118
- after observing a leadership renewal until attempting to acquire
119
- leadership of a led but unrenewed leader slot. This is effectively the
120
- maximum duration that a leader can be stopped before it is replaced
121
- by another candidate. This is only applicable if leader election is
122
- enabled.
123
- type : string
124
- renewDeadline :
125
- description : |-
126
- renewDeadline is the interval between attempts by the acting master to
127
- renew a leadership slot before it stops leading. This must be less
128
- than or equal to the lease duration. This is only applicable if leader
129
- election is enabled.
130
- type : string
131
- resourceLock :
132
- description : |-
133
- resourceLock indicates the resource object type that will be used to lock
134
- during leader election cycles.
135
- type : string
136
- resourceName :
137
- description : |-
138
- resourceName indicates the name of resource object that will be used to lock
139
- during leader election cycles.
140
- type : string
141
- resourceNamespace :
142
- description : |-
143
- resourceName indicates the namespace of resource object that will be used to lock
144
- during leader election cycles.
145
- type : string
146
- retryPeriod :
147
- description : |-
148
- retryPeriod is the duration the clients should wait between attempting
149
- acquisition and renewal of a leadership. This is only applicable if
150
- leader election is enabled.
151
- type : string
152
- required :
153
- - leaderElect
154
- - leaseDuration
155
- - renewDeadline
156
- - resourceLock
157
- - resourceName
158
- - resourceNamespace
159
- - retryPeriod
160
- type : object
161
37
metadata :
162
38
type : object
163
- metrics :
164
- description : Metrics contains the controller metrics configuration
165
- properties :
166
- bindAddress :
167
- description : |-
168
- BindAddress is the TCP address that the controller should bind to
169
- for serving prometheus metrics.
170
- It can be set to "0" to disable the metrics serving.
171
- type : string
172
- type : object
173
39
spec :
174
40
description : MemcachedSpec defines the desired state of Memcached
175
41
properties :
@@ -261,36 +127,6 @@ spec:
261
127
type : object
262
128
type : array
263
129
type : object
264
- syncPeriod :
265
- description : |-
266
- SyncPeriod determines the minimum frequency at which watched resources are
267
- reconciled. A lower period will correct entropy more quickly, but reduce
268
- responsiveness to change if there are many watched resources. Change this
269
- value only if you know what you are doing. Defaults to 10 hours if unset.
270
- there will a 10 percent jitter between the SyncPeriod of all controllers
271
- so that all controllers will not send list requests simultaneously.
272
- type : string
273
- webhook :
274
- description : Webhook contains the controllers webhook configuration
275
- properties :
276
- certDir :
277
- description : |-
278
- CertDir is the directory that contains the server key and certificate.
279
- if not set, webhook server would look up the server key and certificate in
280
- {TempDir}/k8s-webhook-server/serving-certs. The server key and certificate
281
- must be named tls.key and tls.crt, respectively.
282
- type : string
283
- host :
284
- description : |-
285
- Host is the hostname that the webhook server binds to.
286
- It is used to set webhook.Server.Host.
287
- type : string
288
- port :
289
- description : |-
290
- Port is the port that the webhook server serves at.
291
- It is used to set webhook.Server.Port.
292
- type : integer
293
- type : object
294
130
type : object
295
131
served : true
296
132
storage : true
0 commit comments