Skip to content

docs: align Kubernetes guide with Helm chart - #28

Merged
yohamta0 merged 5 commits into
mainfrom
agent/update-helm-chart-docs
Aug 1, 2026
Merged

docs: align Kubernetes guide with Helm chart#28
yohamta0 merged 5 commits into
mainfrom
agent/update-helm-chart-docs

Conversation

@yohamta0

@yohamta0 yohamta0 commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • rewrite the Kubernetes quick start around the chart's standalone default
  • add an end-to-end Ingress, DNS, TLS, and UI access path
  • document distributed RWX storage, ephemeral workers, PVC retention, and current image behavior
  • align proxy-auth, uninstall, networking, worker-storage, and architecture references

Why

The public documentation still described the previous distributed-by-default chart and referenced removed values, old resource names, and mandatory RWX storage. That guidance would block a plug-and-play installation and obscure the new Ingress path.

Impact

New users can install the default chart without custom storage values, reach the UI through port forwarding or Ingress, and opt into distributed mode with the correct storage requirements.

Related to dagucloud/dagu#2476.

Validation

  • pnpm build
  • helm lint --strict ../charts/dagu
  • rendered standalone, Ingress/TLS, distributed, existing-PVC, and LoadBalancer configurations
  • verified generated Helm access notes for Ingress and custom Service ports

Summary by cubic

Aligns Kubernetes and Helm docs with the chart’s standalone-by-default design, clarifies Ingress/TLS and OIDC for secure UI access, and adds guidance to keep Helm values in a file and reuse them across upgrades. Improves uninstall safety and documents service accounts, workload identity, private registries, worker networking/storage, and mounting extra files. Addresses dagucloud/dagu#2476.

  • Refactors

    • Rewrote quick start around standalone mode with ReadWriteOnce, simple install and kubectl port-forward, and release notes via helm get notes.
    • Added Ingress example with config.publicUrl, TLS Secret requirements, and OIDC setup: set auth.oidc.clientUrl to the same URL and use /oidc-callback; UI and API share one origin; proxy-auth cannot use the chart-managed Ingress.
    • Clarified persistence and images: PVC retained on uninstall, existingClaim support, RWX for distributed, and image tag defaults to chart appVersion; added imagePullSecrets.
    • Documented ServiceAccount behavior and options: release-scoped account by default, how to use an existing account, workload-identity annotations; chart does not grant RBAC.
    • Added examples for mounting files via extraVolumes/extraVolumeMounts with extraEnv and config.envPassthrough (e.g., custom CA bundle); noted fsGroup: 1000.
    • Updated distributed mode and networking: workers use ephemeral storage and gRPC; documented worker endpoint dagu-coordinator:50055.
    • Recommended saving configuration in a values file and using it for every helm upgrade; showed helm template to review manifests.
  • Migration

    • New installs: use standalone defaults with ReadWriteOnce; access via port-forward or enable ingress and set config.publicUrl, hostname, class, and TLS Secret; or use ui.service.type: LoadBalancer.
    • Distributed: set deploymentMode: distributed and persistence.accessMode: ReadWriteMany; workers do not mount the shared PVC.
    • Upgrades: keep a values file and pass it on helm upgrade; use helm template to preview changes.
    • Uninstall: use release-safe commands; the chart retains its PVC—list by release label and delete only if data isn’t needed; claims set via persistence.existingClaim are external and never removed by the chart.

Written for commit 945fe80. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Documentation
    • Reworked Kubernetes installation and deployment guidance for standalone and distributed Helm chart modes.
    • Added prerequisites, UI access, Ingress, persistence, storage customization, upgrades, verification, troubleshooting, and uninstall instructions.
    • Clarified default ReadWriteOnce storage, retained PVCs, external claims, and release-specific cleanup.
    • Updated architecture and networking guidance for worker endpoints, shared storage, ephemeral storage, and gRPC communication.
    • Documented proxy-authentication requirements, secure exposure practices, TLS/OIDC considerations, and configuration options.

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: cc0a929e-7a0a-4575-bf5c-3925e2ee8558

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

The documentation now covers official Helm chart installation, standalone and distributed deployments, storage and networking behavior, authentication constraints, upgrades, verification, troubleshooting, and uninstall procedures.

Changes

Kubernetes deployment documentation

Layer / File(s) Summary
Standalone Helm deployment
getting-started/installation/kubernetes.md, server-admin/deployment/kubernetes.md
Adds standalone installation, UI access, Ingress, persistence, PVC reuse, and rendered resource guidance.
Distributed topology and storage
getting-started/installation/kubernetes.md, server-admin/deployment/kubernetes.md, overview/architecture.md, server-admin/distributed/networking.md, server-admin/distributed/workers/shared-filesystem.md
Documents distributed components, RWX storage for server-side components, ephemeral worker storage, gRPC status and log transfer, and the coordinator endpoint.
Configuration and authentication
server-admin/authentication/proxy.md, server-admin/deployment/kubernetes.md, getting-started/installation/kubernetes.md
Updates proxy-authentication validation, authenticated routing requirements, chart configuration, authentication, image selection, and pod settings.
Upgrade, verification, and uninstall
getting-started/installation/kubernetes.md, server-admin/deployment/kubernetes.md, getting-started/installation/uninstall.md
Adds upgrade, verification, troubleshooting, PVC retention, and explicit uninstall cleanup procedures.

Estimated code review effort: 3 (Moderate) | ~20 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: updating Kubernetes documentation to match the Helm chart.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch agent/update-helm-chart-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
dagu-sh-docs 945fe80 Aug 01 2026, 12:35 PM

@yohamta0

yohamta0 commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@getting-started/installation/uninstall.md`:
- Around line 90-100: Update the uninstall documentation commands to use a
consistent Helm release-name variable or placeholder instead of the hardcoded
dagu value, including the helm uninstall command and PVC selector. Ensure every
command targets the actual release name described by the surrounding
custom-release guidance.
- Around line 102-108: Clarify the uninstall instructions around the kubectl
delete pvc command so it applies only to the chart-created PVC; explicitly
instruct operators to skip manual deletion when persistence.existingClaim is
configured, since that claim is managed externally.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: abac9a0d-5582-4525-8bb5-58abac0b0352

📥 Commits

Reviewing files that changed from the base of the PR and between 34de60f and c352e8f.

📒 Files selected for processing (7)
  • getting-started/installation/kubernetes.md
  • getting-started/installation/uninstall.md
  • overview/architecture.md
  • server-admin/authentication/proxy.md
  • server-admin/deployment/kubernetes.md
  • server-admin/distributed/networking.md
  • server-admin/distributed/workers/shared-filesystem.md

Comment thread getting-started/installation/uninstall.md Outdated
Comment thread getting-started/installation/uninstall.md Outdated
@yohamta0

yohamta0 commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@yohamta0

yohamta0 commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
getting-started/installation/kubernetes.md (1)

36-40: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Preserve intentional Helm value overrides across upgrades.

The upgrade command in the Install section only passes dagu-values.yaml, which covers Ingress and publicUrl. If the release was installed with an override such as --set-string persistence.storageClass=standard, that override is not carried forward unless it is repeated on upgrade. Use --reuse-values, or keep the override in a reusable values file and pass that file with every upgrade.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@getting-started/installation/kubernetes.md` around lines 36 - 40, Update the
Helm upgrade command in the installation instructions to preserve previously
supplied release values across upgrades by adding --reuse-values, or by
consistently passing the reusable values file containing overrides such as
persistence.storageClass. Keep the existing dagu release, namespace, and wait
behavior unchanged.

Source: MCP tools

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@getting-started/installation/kubernetes.md`:
- Around line 36-40: Update the Helm upgrade command in the installation
instructions to preserve previously supplied release values across upgrades by
adding --reuse-values, or by consistently passing the reusable values file
containing overrides such as persistence.storageClass. Keep the existing dagu
release, namespace, and wait behavior unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5d8fccbc-e889-4ad7-92e1-55e16a5b4f20

📥 Commits

Reviewing files that changed from the base of the PR and between c352e8f and 0049f8d.

📒 Files selected for processing (3)
  • getting-started/installation/kubernetes.md
  • getting-started/installation/uninstall.md
  • server-admin/deployment/kubernetes.md
🚧 Files skipped from review as they are similar to previous changes (2)
  • getting-started/installation/uninstall.md
  • server-admin/deployment/kubernetes.md

@yohamta0

yohamta0 commented Aug 1, 2026

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Aug 1, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@yohamta0
yohamta0 marked this pull request as ready for review August 1, 2026 14:43
@yohamta0
yohamta0 merged commit 98949a7 into main Aug 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant