elek commented on pull request #1057:
URL: https://github.com/apache/hadoop-ozone/pull/1057#issuecomment-648801357


   Thanks the update @maobaolong 
   
   My problem is that the examples are generated (see #1123). If you modify 
only the generated files, the changes will disappear.
   
   If you propose to modify `ozone-dev` to run it on one single node by 
default, you should do the following:
   
   1. copy [this 
file](https://github.com/flokkr/docker-ozone/blob/master/flekszible/ozone/definitions/onenode.yaml)
 to `hadoop-ozone/dist/src/main/k8s/definitions/ozone/definitions`
   
   2. Add `ozone/onenode` transformations to the `Flekszible` file under 
`ozone-dev` and `getting-started`.
   
   For example: 
   
   ```
   diff --git hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/Flekszible 
hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/Flekszible
   index 96e8c6254..350ea73c5 100644
   --- hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/Flekszible
   +++ hadoop-ozone/dist/src/main/k8s/examples/ozone-dev/Flekszible
   @@ -26,6 +26,7 @@ import:
        - type: ozone/profiler
        - type: ozone/emptydir
        - type: ozone/csi
   +    - type: ozone/onenode
      - path: prometheus
      - path: jaeger
        transformations:
   ```
   
   3. Run `regenerate-all.sh` from `#1123` (You might need to install 
[flekszible](https://github.com/elek/flekszible) which can be done with brew or 
putting the single binary to the path)


----------------------------------------------------------------
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.

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