This is the multi-page printable view of this section. Click here to print.
Databases
Manage Databases
1 - Import Zookeeper
How-to import a Zookeeper database
Zookeeper clusters can be imported with the Database resource.
Requirements
- The Zookeeper server hosts
Process
1. Create the object
Define the Database resource with the following YAML, and save it as database.yaml:
apiVersion: assets.astronetes.io/v1alpha1
kind: Database
metadata:
name: zookeeper
spec:
zookeeper:
client:
servers:
- 172.18.0.4:30181
- 172.18.0.5:30181
- 172.18.0.6:30181
Deploy the resource with the following command:
kubectl create -f database.yaml