-
Notifications
You must be signed in to change notification settings - Fork 70
[docs] refactor/organizing docs #298
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
8125c46
Refactor docs into a mdbook
komer3 02f3c8d
Add missing links in the Readme
komer3 748ae33
Add GHA for publishing mdbook
komer3 9054e12
testing the mdbook deploy
komer3 41a6cd0
Update Makefile
komer3 ddd2049
GHA: do not run CI flow if we are just updating docs. Its unneccessary
komer3 bce787e
address comments
komer3 3726716
fix typo
komer3 b12952d
Removing the temp PR gh-pages push
komer3 f25bc66
Add rate limits link
komer3 855b407
Update based on PR comment
komer3 4eb0f62
Address a commet
komer3 5e1fe99
Remove mdbook implementation
komer3 71e7de2
clean up
komer3 41c8727
address comments
komer3 a1ff960
clean up
komer3 0db7edb
Switch the pages rendered to GFM
komer3 98a8494
Address comments
komer3 2870b71
address comments
komer3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,9 @@ | ||
| # Any file that is not a doc *.md file | ||
| src: | ||
| - "!**/**.md" | ||
| - "!docs/**" | ||
| - "!**/*.md" | ||
| - "!*.md" | ||
| - "!.github/CONTRIBUTING.md" | ||
| - "!.github/PULL_REQUEST_TEMPLATE.md" | ||
| - "!**/README.md" | ||
| - "!**/CHANGELOG.md" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| name: Deploy Documentation | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'README.md' | ||
| - 'docs/**' | ||
| - '.github/workflows/docs.yml' | ||
| pull_request: | ||
| paths: | ||
| - 'docs/**' | ||
| - '.github/workflows/docs.yml' | ||
|
|
||
| permissions: | ||
| contents: read | ||
| pages: write # to deploy to Pages | ||
| id-token: write # to verify the deployment originates from an appropriate source | ||
|
|
||
| jobs: | ||
| generate-docs: | ||
| runs-on: ubuntu-latest | ||
| container: docker.io/node:20-bullseye-slim | ||
| timeout-minutes: 2 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup mdBook | ||
| run: | | ||
| apt-get update | ||
| apt-get install curl -y | ||
| mkdir mdbook | ||
| curl -sSL https://github.com/rust-lang/mdbook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook | ||
| curl -sSL https://github.com/tommilligan/mdbook-admonish/releases/download/v1.15.0/mdbook-admonish-v1.15.0-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook | ||
| echo `pwd`/mdbook >> $GITHUB_PATH | ||
|
|
||
| - name: Build with mdBook | ||
| run: | | ||
| cd docs | ||
| mdbook build | ||
|
|
||
| - name: Setup Pages | ||
| uses: actions/configure-pages@v5 | ||
|
|
||
| - name: Upload artifact | ||
| uses: actions/upload-pages-artifact@v3 | ||
| with: | ||
| path: 'docs/book' | ||
|
|
||
| deploy-production: | ||
| needs: generate-docs | ||
| if: github.event_name == 'push' | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 2 | ||
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/deploy-pages@v4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,3 +39,5 @@ coverage.txt | |
| junit.xml | ||
|
|
||
| .DS_Store | ||
|
|
||
| docs/book | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
komer3 marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| [book] | ||
| authors = ["Linode"] | ||
| language = "en" | ||
| multilingual = false | ||
| src = "src" | ||
| title = "Linode Cloud Controller Manager" | ||
| description = "Documentation for the Kubernetes Cloud Controller Manager for Linode" | ||
|
|
||
| [output.html] | ||
| git-repository-url = "https://github.com/linode/linode-cloud-controller-manager" | ||
| site-url = "/linode-cloud-controller-manager/" | ||
| edit-url-template = "https://github.com/linode/linode-cloud-controller-manager/edit/master/docs/{path}" | ||
|
|
||
| [preprocessor] | ||
|
|
||
| [preprocessor.admonish] | ||
| command = "mdbook-admonish" | ||
| assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install` | ||
|
|
||
| [output.html.playground] | ||
| editable = true | ||
| line-numbers = true | ||
|
|
||
| [output.html.search] | ||
| limit-results = 20 | ||
| use-boolean-and = true | ||
| boost-title = 2 | ||
| boost-hierarchy = 2 | ||
| boost-paragraph = 1 | ||
| expand = true | ||
| heading-split-level = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Summary | ||
|
|
||
| [Introduction](./introduction.md) | ||
|
|
||
| # User Guide | ||
|
|
||
| - [Getting Started](./getting-started/README.md) | ||
| - [Overview](./getting-started/overview.md) | ||
| - [Requirements](./getting-started/requirements.md) | ||
| - [Installation](./getting-started/installation.md) | ||
| - [Helm Installation](./getting-started/helm-installation.md) | ||
| - [Manual Installation](./getting-started/manual-installation.md) | ||
| - [Verification](./getting-started/verification.md) | ||
| - [Troubleshooting](./getting-started/troubleshooting.md) | ||
|
|
||
| - [Configuration](./configuration/README.md) | ||
| - [LoadBalancer Services](./configuration/loadbalancer.md) | ||
| - [Service Annotations](./configuration/annotations.md) | ||
| - [Node Configuration](./configuration/nodes.md) | ||
| - [Environment Variables](./configuration/environment.md) | ||
| - [Firewall Setup](./configuration/firewall.md) | ||
| - [Route Configuration](./configuration/routes.md) | ||
| - [Session Affinity](./configuration/session-affinity.md) | ||
|
|
||
| - [Examples](./examples/README.md) | ||
| - [Basic Services](./examples/basic.md) | ||
| - [Advanced Configuration](./examples/advanced.md) | ||
|
|
||
| - [Development Guide](./development/README.md) | ||
|
|
||
| --- | ||
|
|
||
| [Getting Help](./help.md) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| # Configuration Guide | ||
|
|
||
| The Linode Cloud Controller Manager (CCM) offers extensive configuration options to customize its behavior. This section covers all available configuration methods and options. | ||
|
|
||
| ## Configuration Areas | ||
|
|
||
| 1. **[LoadBalancer Services](loadbalancer.md)** | ||
| - NodeBalancer implementation | ||
| - BGP-based IP sharing | ||
| - Protocol configuration | ||
| - Health checks | ||
| - SSL/TLS setup | ||
| - Connection throttling | ||
| - [See examples](../examples/basic.md#loadbalancer-services) | ||
|
|
||
| 2. **[Service Annotations](annotations.md)** | ||
| - NodeBalancer configuration | ||
| - Protocol settings | ||
| - Health check options | ||
| - Port configuration | ||
| - Firewall settings | ||
| - [See annotation reference](annotations.md#available-annotations) | ||
|
|
||
| 3. **[Node Configuration](nodes.md)** | ||
| - Node labels and topology | ||
| - Private networking setup | ||
| - VPC configuration | ||
| - Node controller behavior | ||
| - [See node management](nodes.md#node-controller-behavior) | ||
|
|
||
| 4. **[Environment Variables](environment.md)** | ||
| - Cache settings | ||
| - API configuration | ||
| - Network settings | ||
| - BGP configuration | ||
| - [See environment reference](environment.md#available-variables) | ||
|
|
||
| 5. **[Firewall Setup](firewall.md)** | ||
| - CCM-managed firewalls | ||
| - User-managed firewalls | ||
| - Allow/deny lists | ||
| - [See firewall options](firewall.md#ccm-managed-firewalls) | ||
|
|
||
| 6. **[Route Configuration](routes.md)** | ||
| - VPC routing | ||
| - Pod CIDR management | ||
| - Route controller setup | ||
| - [See route management](routes.md#route-management) | ||
|
|
||
| 7. **[Session Affinity](session-affinity.md)** | ||
| - Client IP affinity | ||
| - Timeout configuration | ||
| - Service configuration | ||
| - [See affinity setup](session-affinity.md#configuration) | ||
|
|
||
| For installation instructions, see the [Installation Guide](../getting-started/installation.md). | ||
| For troubleshooting help, see the [Troubleshooting Guide](../getting-started/troubleshooting.md). |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.