fraochan opened a new pull request, #16:
URL: https://github.com/apache/ozone-helm-charts/pull/16

   ## What changes were proposed in this pull request?
   
   HDDS-XXXXX (WIP). Add recon support.
   
   This PR adds the files required for an optional Recon.
   
   Recon does not require a persistent volume. I hesitated to do a deployment, 
but the Apache Ozone Git project suggests a statefulset as an example. I don't 
mind converting it to a deployment if you find it necessary.
   
   ## What is the link to the Apache JIRA
   
   I'm registering to create a Jira ticket. I'll edit the title when the ticket 
is open.
   
   ## How was this patch tested?
   
   I created a local cluster with kind, then :
   
   * I deployed an Apache Ozone cluster with `Recon`:
   
   ```shell
   helm install ozone ./charts/ozone --set recon.enabled=true    
   ```
   
   * I waited for the datanodes to register with Recon and checked that the 
datanodes were listed in the Recon UI 
[localhost:9888/#/Datanodes](http://localhost:9888/#/Datanodes) with a 
port-forward:
   
   ```shell
   kubectl port-forward svc/ozone-recon 9888:9888
   ```
   
   * I created a bucket with `aws-cli`:
   
   ```shell
   aws s3api --endpoint http://localhost:9878 create-bucket --bucket=wordcount
   ```
   
   * And I made sure that the bucket appeared here: 
[localhost:9888/#/Buckets](http://localhost:9888/#/Buckets)
   
   * And finally, I've deleted Recon
   
   ```shell
   helm upgrade ozone ./charts/ozone --set recon.enabled=false
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to