-
Notifications
You must be signed in to change notification settings - Fork 66
Description
First: I want to create a namespace,but i find the created namespace is error
create namespace abv
Error: parse "x.x.x.x:9379/api/v1/namespaces": first path segment in URL cannot contain colon
create abv
Error: wrong arguments
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:
cd test-ns
Error: parse "x.x.x.x:9379/api/v1/namespaces/test-ns": first path segment in URL cannot contain colon
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:
- "127.0.0.1:2379"
username:
password:
elect_path:
tls:
enable: false
cert_file:
key_file:
ca_file:
zookeeper:
addrs:
- "x.x.x.x:2181"
scheme:
auth:
elect_path:
controller:
failover:
gc_interval_seconds: 3600
ping_interval_seconds: 5
min_alive_size: 10
max_failure_ratio: 0.6