- MRC project with enough resources to create a Kubernetes cluster.
- Connect to [Campus network](https://studentit.unimelb.edu.au/wifi-vpn#uniwireless) if on-campus or [UniMelb Student VPN](https://studentit.unimelb.edu.au/wifi-vpn#vpn) if off-campus
Open a shell and move to the directory of the repository that contains this README file.
## Client Configuration
1. Log in to the [MRC Dashboard](https://dashboard.cloud.unimelb.edu.au/auth/login/?next=/) with your University of Melbourne credentials and select the project you want to use.
ssh -N-i <path-to-private-key> (e.g. ~/Downloads/mykeypair.pem)-L 6443:$(openstack coe cluster show elastic -f json | jq -r'.master_addresses[]'):6443 ubuntu@$(openstack server show bastion -c addresses -f json | jq -r'.addresses["qh2-uom-internal"][]')
ssh -i <path-to-private-key> (e.g. ~/Downloads/mykeypair.pem)-L 6443:$(openstack coe cluster show elastic -f json | jq -r'.master_addresses[]'):6443 ubuntu@$(openstack server show bastion -c addresses -f json | jq -r'.addresses["qh2-uom-internal"][]')
```
> Note: The SSH command may take up to 1 minute to complete. If it works, you will not see a shell prompt or any other output since the tunnel works in the background. Please do not close the terminal window once the command has been executed.
> Note: The SSH command may take up to 1 minute to complete.

...
...
@@ -264,7 +264,7 @@ NOTES:
- By default each ElasticSearch node has 30GB of storage;
- The number of nodes is set by the `replicas` parameter. not to be confused with the "shard replicas" (copies of a shard);
- The number of replicas (nodes) that can be used in the cluster is limited by the number of nodes in the cluster and by the Kibana deployment that needs a node for itself.
- Passing an unsafe password as `secret.password` to Helm is a security risk and it's done here for the sake of simplicity: in a production environment the password must be randomly generated and of suitable length (secure passwords can be generated with the Linux command `pwgen -n 32`).
- Passing an unsafe password as `secret.password` to Helm is a security risk and it's done here for the sake of simplicity: in a production environment the password must be randomly generated and of suitable length (secure passwords can be generated with the Linux command `pwgen -n 32`).
Check all ElasticSearch pods are running before proceeding:
> Note: make sure the SSH tunnel has been established to the Kubernetes cluster.
...
...
@@ -356,7 +355,6 @@ Windows:
For Windows, you can use the linux binary on WSL, or you can download this windows executable: `https://github.com/fission/fission/releases/download/v$FISSION_VERSION/fission-v$FISSION_VERSION-windows-amd64.exe`
## Stack installation test
The following command creates and test a function named `health` that returns the status of the ElasticSearch cluster:
...
...
@@ -375,12 +373,10 @@ fission function delete --name health
fission env delete --name python
```
## Removal of the software stack
THIS SHOULD BE DONE ONLY IN CASE OF A SERIOUS MISTAKE THAT PREVENTS USE OF THE CLUSTER.