-
Notifications
You must be signed in to change notification settings - Fork 618
/
Copy pathcockroachdb.v2.1.11.clusterserviceversion.yaml
248 lines (215 loc) · 9.15 KB
/
cockroachdb.v2.1.11.clusterserviceversion.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
apiVersion: operators.coreos.com/v1alpha1
kind: ClusterServiceVersion
metadata:
annotations:
alm-examples: '[{ "apiVersion": "charts.helm.k8s.io/v1alpha1", "kind": "Cockroachdb",
"metadata": { "name": "example" }, "spec": { "Name": "cdb", "Image": "cockroachdb/cockroach",
"ImageTag": "v19.1.3", "ImagePullPolicy": "Always", "Replicas": 3, "MaxUnavailable":
1, "Component": "cockroachdb", "InternalGrpcPort": 26257, "ExternalGrpcPort":
26257, "InternalGrpcName": "grpc", "ExternalGrpcName": "grpc", "InternalHttpPort":
8080, "ExternalHttpPort": 8080, "HttpName": "http", "Resources": { "requests":
{ "cpu": "500m", "memory": "512Mi" } }, "InitPodResources": { }, "Storage":
"10Gi", "StorageClass": null, "CacheSize": "25%", "MaxSQLMemory": "25%", "ClusterDomain":
"cluster.local", "NetworkPolicy": { "Enabled": false, "AllowExternal": true
}, "Service": { "type": "ClusterIP", "annotations": { } }, "PodManagementPolicy":
"Parallel", "UpdateStrategy": { "type": "RollingUpdate" }, "NodeSelector": {
}, "Tolerations": { }, "Secure": { "Enabled": false, "RequestCertsImage": "cockroachdb/cockroach-k8s-request-cert",
"RequestCertsImageTag": "0.4", "ServiceAccount": { "Create": true } } } }]'
capabilities: Basic Install
categories: Database
certified: 'false'
containerImage: quay.io/helmoperators/cockroachdb:2.1.1
createdAt: 2019-01-24T15-33-43Z
description: CockroachDB Operator based on the CockroachDB helm chart
repository: https://github.com/dmesser/cockroachdb-operator
support: a-robinson
name: cockroachdb.v2.1.11
namespace: placeholder
spec:
apiservicedefinitions: {}
customresourcedefinitions:
owned:
- description: Represents a CockroachDB cluster
displayName: CockroachDB
kind: Cockroachdb
name: cockroachdbs.charts.helm.k8s.io
resources:
- kind: Deployment
version: v1
- kind: Service
version: v1
- kind: ReplicaSet
version: v1
- kind: Pod
version: v1
- kind: Secret
version: v1
- kind: ConfigMap
version: v1
- kind: StatefulSet
version: apps/v1
version: v1alpha1
description: 'CockroachDB is a scalable, survivable, strongly-consistent SQL database.
## About this Operator
This Operator is based on a Helm chart for CockroachDB. It supports reconfiguration
for some parameters, but notably does not handle scale down of the replica count
in a seamless manner. Scale up works great.
## Core capabilities
* **StatefulSet** - Sets up a dynamically scalable CockroachDB cluster using a
Kubernetes StatefulSet
* **Expand Replicas** - Supports expanding the set of replicas by simply editing
your object
* **Dashboard** - Installs the CockroachDB user interface to administer your cluster.
Easily expose it via an Ingress rule.
Review all of the [confiuguration options](https://github.com/helm/charts/tree/master/stable/cockroachdb#configuration)
to best run your database instance. The example configuration is derived from
the chart''s [`values.yaml`](https://github.com/helm/charts/blob/master/stable/cockroachdb/values.yaml).
## Using the cluster
The resulting cluster endpoint can be consumed from a `Service` that follows the
pattern: `<StatefulSet-name>-public`. For example to connect using the command
line client, use something like the following to obtain the name of the service:
```
kubectl get service -l chart=cockroachdb-2.0.11
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
example-9f8ngwzrxbxrulxqmdqfhn51h-cdb ClusterIP None <none> 26257/TCP,8080/TCP 24m
example-9f8ngwzrxbxrulxqmdqfhn51h-cdb-public ClusterIP 10.106.249.134 <none> 26257/TCP,8080/TCP 24m
```
Then you can use the CockroachDB command line client to connect to the database
cluster:
```
kubectl run -it --rm cockroach-client --image=cockroachdb/cockroach --restart=Never
--command -- ./cockroach sql --insecure --host example-9f8ngwzrxbxrulxqmdqfhn51h-cdb-public
```
## Before you start
This Operator requires a cluster with PV support in order to run correctly.
'
displayName: CockroachDB
icon:
- base64data: PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMS44MiAzMiIgd2lkdGg9IjI0ODYiIGhlaWdodD0iMjUwMCI+PHRpdGxlPkNMPC90aXRsZT48cGF0aCBkPSJNMTkuNDIgOS4xN2ExNS4zOSAxNS4zOSAwIDAgMS0zLjUxLjQgMTUuNDYgMTUuNDYgMCAwIDEtMy41MS0uNCAxNS42MyAxNS42MyAwIDAgMSAzLjUxLTMuOTEgMTUuNzEgMTUuNzEgMCAwIDEgMy41MSAzLjkxek0zMCAuNTdBMTcuMjIgMTcuMjIgMCAwIDAgMjUuNTkgMGExNy40IDE3LjQgMCAwIDAtOS42OCAyLjkzQTE3LjM4IDE3LjM4IDAgMCAwIDYuMjMgMGExNy4yMiAxNy4yMiAwIDAgMC00LjQ0LjU3QTE2LjIyIDE2LjIyIDAgMCAwIDAgMS4xM2EuMDcuMDcgMCAwIDAgMCAuMDkgMTcuMzIgMTcuMzIgMCAwIDAgLjgzIDEuNTcuMDcuMDcgMCAwIDAgLjA4IDAgMTYuMzkgMTYuMzkgMCAwIDEgMS44MS0uNTQgMTUuNjUgMTUuNjUgMCAwIDEgMTEuNTkgMS44OCAxNy41MiAxNy41MiAw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ments:
- name: cockroachdb
spec:
replicas: 1
selector:
matchLabels:
name: cockroachdb
strategy: {}
template:
metadata:
labels:
name: cockroachdb
spec:
containers:
- env:
- name: WATCH_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.annotations['olm.targetNamespaces']
- name: POD_NAME
valueFrom:
fieldRef:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: cockroachdb
image: quay.io/helmoperators/cockroachdb:v2.1.11
imagePullPolicy: Always
name: cockroachdb
resources: {}
serviceAccountName: cockroachdb-operator
permissions:
- rules:
- apiGroups:
- charts.helm.k8s.io
resources:
- cockroachdbs
- cockroachdbs/status
- cockroachdbs/finalizers
verbs:
- '*'
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- get
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- '*'
- apiGroups:
- ''
resources:
- '*'
verbs:
- '*'
- apiGroups:
- batch
resources:
- jobs
verbs:
- '*'
- apiGroups:
- policy
resources:
- poddisruptionbudgets
verbs:
- '*'
- apiGroups:
- extensions
resources:
- ingresses
- ingresses/finalizers
verbs:
- '*'
- apiGroups:
- apps
resources:
- deployments
- statefulsets
verbs:
- '*'
serviceAccountName: cockroachdb-operator
strategy: deployment
installModes:
- supported: true
type: OwnNamespace
- supported: true
type: SingleNamespace
- supported: false
type: MultiNamespace
- supported: true
type: AllNamespaces
keywords:
- cockroach
- cockroachdb
- postgres
labels:
alm-owner-etcd: couchbaseoperator
operated-by: couchbaseoperator
links:
- name: Helm Chart Source
url: https://github.com/helm/charts/tree/master/stable/cockroachdb
- name: Configuration Options
url: https://github.com/helm/charts/tree/master/stable/cockroachdb#configuration
- name: CockroachDB Source
url: https://github.com/cockroachdb/cockroach
maintainers:
- email: [email protected]
name: a-robinson
- email: [email protected]
name: Daniel Messer
maturity: stable
minKubeVersion: 1.8.0
provider:
name: Helm Community
replaces: cockroachdb.v2.1.1
selector:
matchLabels:
alm-owner-etcd: couchbaseoperator
operated-by: couchbaseoperator
version: 2.1.11