Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update readme to support running fusion on local k8s cluster #55

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,24 @@ aks_<cluster>_<release>_upgrade_fusion.sh

If you're not running on managed K8s platform such as GKE, AKS, or EKS, you can use Helm to install the Fusion chart to an existing Kubernetes cluster.

For example, you can https://docs.docker.com/docker-for-mac/#kubernetes[`enable Kubernetes server that comes with your Docker Desktop For Mac`^]

(To install Fusion locally, you should have a node with at least 12GB of memory, 100GB of disk and 4 CPU cores. The recommended setup is 16GB (or more) of memory and 8+ CPU cores. Please follow https://docs.docker.com/docker-for-mac/#advanced[`the instructions here`^] to adjust your Docker's resource limits)

Then run the https://github.com/lucidworks/fusion-cloud-native/blob/master/setup_f5_k8s.sh[`setup_f5_k8s.sh`^] script to install Fusion 5.x into local k8s cluster.
```
mllu marked this conversation as resolved.
Show resolved Hide resolved
./setup_f5_k8s.sh -c <cluster_name> -r <release> -n <namespace>
```

Make sure all the pods are healthy and running by watching the cluster rollout using: `kubectl get pods --watch`

Hit ctrl-c once all the pods are running.

Run the following commands to access Fusion locally on http://localhost:6764
```
kubectl port-forward svc/proxy 6764:6764
```

[[helm-only]]
=== Use Helm v3 to Install Fusion

Expand Down
Binary file added fusion-5.0.3-2.tgz
Binary file not shown.
1 change: 1 addition & 0 deletions setup_f5_k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ FORCE=0
CUSTOM_MY_VALUES=()
MY_VALUES=()
DRY_RUN=""
SOLR_REPLICAS=1
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOLR_REPLICAS is a variable used below without default value, default to 1 here, let me know if it's intended to not have default value

SOLR_DISK_GB=50
NODE_POOL=""

Expand Down