Thursday, May 17, 2018

copy mongo collection to another db

db.advertisement1.find().forEach(function(d){ db.getSiblingDB('byrouter_ad_content')['advertisement1'].insert(d); });

No comments:

Kubernetes in one shotcat

root@srv509172:~# cat kind1/config.yaml   kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane   image: kindest/nod...