apache / solr-operator

Official Kubernetes operator for Apache Solr
https://solr.apache.org/operator
Apache License 2.0
247 stars 112 forks source link

Local tutorial corrections #149

Open sigram opened 4 years ago

sigram commented 4 years ago

Describe the bug Local tutorial on a fresh Mac doesn't work, it needs additional steps.

Environment (please complete the following information):

Additions & corrections to the tutorial

sigram commented 4 years ago

I noticed that the default setting for docker-edge is to use osxfs, which results in high CPU usage. It would be nice to mention that users can switch to gRPC FUSE by checking the option "Include VM in Time Machine backups" in General > Settings.

Also, due to numerous bugs in com.docker.hyperkit when using the Kubernetes option in Docker.app there's significant CPU overhead, around 200% or more.

HoustonPutman commented 4 years ago

Thanks for finding these issues! It's easy to miss some of the setup steps when you are writing these instructions after-the-fact.

For posterity, @sigram and I have also been talking about using microk8s in the tutorial, which relates to #111. Some of these changes are applicable regardless, but the first two certainly would change with the shift to microk8s.

nosvalds commented 3 years ago

Additional thing I found going through the tutorial that I think fits here in terms of small corrections

# Execute the Collections API command
curl "http://default-example-solrcloud.ing.local.domain/solr/admin/collections?action=CREATE&name=mycoll&numShards=1&replicationFactor=3&maxShardsPerNode=2&collection.configName=_default"

# Check in Admin UI that collection is created
open "http://default-example-solrcloud.ing.local.domain/solr/#/~cloud?view=graph"