Git project to share deliverables of multi-cloud manager.
The HTML-readable version of the cookbook is available via https://ibm-cloud-architecture.github.io/kubernetes-multicloud-management/.
The Cookbook for ICP Solution Architects is written to support MkDocs and can be built into a book-readable format by following standard Markdown writing styles and MkDocs build processes.
- Install MkDocs locally following the official documentation instructions.
- Clone the code and serve pages locally as follows:
git clone https://github.com/ibm-cloud-architecture/kubernetes-multicloud-management.git cd kubernetes-multicloud-management mkdocs serve
- Go to http://127.0.0.1:8000 in your browser.
FORK this repository first, then clone it as follows:
export GITHUB_USERNAME=PUT_YOUR_GITHUB_USERNAME_HERE
git clone git@github.com:${GITHUB_USERNAME}/kubernetes-multicloud-management.git
cd kubernetes-multicloud-management
- Ensure that all your local changes to the
master
branch have been committed and pushed to the remote repository.git push origin master
- Ensure that you have the latest commits to the
gh-pages
branch.git checkout gh-pages git pull origin gh-pages git checkout master
- Run
mkdocs gh-deploy
from the root directory. Note that thegh-deploy
command will fail if you do not have the latest commits to the branch pulled locally.- If you have git remote links for both this repository and your fork, you will need to run the command with an extra flag. For example, here is a local clone of the code that has 2 remote repos:
fabio
(fork) andorigin
(main repo):
fabio git@github.com:fabiogomezdiaz/kubernetes-multicloud-management.git (fetch) fabio git@github.com:fabiogomezdiaz/kubernetes-multicloud-management.git (push) origin https://github.com/ibm-cloud-architecture/kubernetes-multicloud-management.git (fetch) origin https://github.com/ibm-cloud-architecture/kubernetes-multicloud-management.git (push)
- To deploy the MkDocs pages to the
fabio
repo, you will need to run the command asmkdocs gh-deploy -r fabio
- If you have git remote links for both this repository and your fork, you will need to run the command with an extra flag. For example, here is a local clone of the code that has 2 remote repos:
- Open
https://${GITHUB_USERNAME}.github.io/kubernetes-multicloud-management/
to see
If you would like to contribute to this repository, please do the following:
- Fork this repository.
- Commit your updates.
- Push your updates to
master
branch in your fork. - Open a Pull Request (PR) against the
master
branch on this repository. - Assign either @gangchen03 or @fabiogomezdiaz as reviewers.
The PR will only be merged after at least one of the above reviewer approves the PR.
If you are submitting new content updates to the MkDocs page, you will need to do the following additional steps to the PR:
- Make sure you have built and pushed the MkDocs page to your fork as explained in Pushing the Cookbook to GitHub Pages.
- Put a link to your page in the PR so that reviewers can see what the content updates look like before merging the PR.
Once the PR is merged to master
branch, one of the reviewers will be responsible for deploying the new content updates to the main repo's gh-pages
branch.