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
make sure to create the namespace `weaviate` (or any other namespace in which you want you Weaviate nodes to run) in advance:
87
+
88
+
```shell
89
+
kubectl create ns weaviate
90
+
```
91
+
78
92
or simply create your own definition of the WeaviateCluster (based on the [weaviate-helm values.yaml](https://github.com/weaviate/weaviate-helm/blob/master/weaviate/values.yaml)):
79
93
80
94
```
81
95
apiVersion: apps.weaviate.io/v1alpha1
82
96
kind: WeaviateCluster
83
97
metadata:
84
-
name: weaviate_test_cluster
98
+
name: weaviatecluster-sample
85
99
namespace: weaviate
86
100
spec:
87
101
# Default values copied from <project_dir>/helm-charts/weaviate/values.yaml
A new custom resource `weaviatecluster` will be now available:
119
+
120
+
```shell
121
+
kubectl get weaviatecluster -n weaviate
122
+
NAME AGE
123
+
weaviatecluster-sample 13s
104
124
125
+
```
105
126
The operator will create the statefulset for the CR based on the specified replica count and other configurations. Keep in mind that the resources will be created in the namespace you decide, in this example the `weaviate` namespace is used, but you can install it in any other namespace.
106
127
128
+
```shell
129
+
kubectl get statefulset weaviate -n weaviate
130
+
NAME READY AGE
131
+
weaviate 3/3 65s
132
+
```
133
+
107
134
## Troubleshooting
108
135
109
136
If you encounter any issues, you can check the operator logs using the following command:
0 commit comments