Closed pangtujun closed 3 months ago
Hi, you have set your storage_type with zookeeper,but you don't set zookeeper addrs
If you want to use etcd please set storage_type: etcd
yes.i use the zookeeper addrs ,and I can create a namespace “test-ns” by calling the api via postman, but kvctl-client cannot cd into this namespace
config.yaml,egg: addr: "10.69.187.x:9379"
storage_type: zookeeper
etcd: addrs:
zookeeper: addrs:
controller: failover: gc_interval_seconds: 3600 ping_interval_seconds: 5 min_alive_size: 10 max_failure_ratio: 0.6
Problem solved. kvctl-client needs this access "/opt/kvrocks-controller/_build/kvctl-client -e http://x.x.x.x:9379""/opt/kvrocks-controller/_build/kvctl-client -e x.x.x.x:9379",, thank you, but the website doesn't say
Ok, thanks!
First: I want to create a namespace,but i find the created namespace is error
second: I create the namespace by API,it ok,but I can not get namespace wiht /opt/kvrocks-controller/_build/kvctl-client -e x.x.x.x:9379 cd
Error:
config.yaml:
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
#
http://www.apache.org/licenses/LICENSE-2.0
#
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
#
addr: "x.x.x.x:9379"
Which storage engine should be used by controller
options: etcd, zookeeper
default: etcd
storage_type: zookeeper
etcd: addrs:
zookeeper: addrs:
controller: failover: gc_interval_seconds: 3600 ping_interval_seconds: 5 min_alive_size: 10 max_failure_ratio: 0.6