Skip to content

docs: add Kubernetes (Helm) deployment guide#100

Open
anupPradhan0 wants to merge 3 commits into
pipeshub-ai:mainfrom
anupPradhan0:main
Open

docs: add Kubernetes (Helm) deployment guide#100
anupPradhan0 wants to merge 3 commits into
pipeshub-ai:mainfrom
anupPradhan0:main

Conversation

@anupPradhan0

Copy link
Copy Markdown

Summary

  • Added Kubernetes deployment documentation for PipesHub using Helm (install, verify, access, configure, ingress/TLS, troubleshooting).
  • Updated docs navigation and deployment landing page so the new Kubernetes section appears on docs.pipeshub.com.

Scope

  • New pages:
    • deployment/kubernetes/overview.mdx
    • deployment/kubernetes/helm.mdx
    • deployment/kubernetes/configuration.mdx
    • deployment/kubernetes/ingress.mdx
    • deployment/kubernetes/troubleshooting.mdx
  • Updated:
    • deployment/overview.mdx
    • docs.json
    • introduction.mdx (Deployment section now mentions Kubernetes/Helm)
  • Note:
    • deployment/helm is a symlink to the Helm chart source for reference during docs development.

Test / verification

  • Ran mintlify dev and verified navigation + links
  • Verified MDX renders (Steps/Note/code blocks)
  • Checked for broken links / missing pages in docs.json

Screenshots

image

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly expands the PipesHub documentation by introducing a complete guide for deploying the application on Kubernetes using Helm. The new content provides users with detailed instructions and best practices for setting up, configuring, and maintaining PipesHub in a containerized, production-ready environment, enhancing the overall deployment flexibility and user experience.

Highlights

  • New Kubernetes Deployment Guide: A comprehensive documentation section has been added for deploying PipesHub on Kubernetes using Helm, covering installation, verification, access, configuration, Ingress/TLS, and troubleshooting.
  • Updated Documentation Navigation: The main documentation navigation (docs.json) and the deployment landing page (deployment/overview.mdx) have been updated to integrate the new Kubernetes deployment guides seamlessly.
  • Detailed Configuration and Troubleshooting: New pages provide in-depth guidance on configuring Helm chart values, managing public URLs, setting resource requests, and addressing common deployment issues in a Kubernetes environment.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds a comprehensive set of documentation for deploying PipesHub on Kubernetes using Helm. The new guides cover an overview, installation, configuration, Ingress setup, and troubleshooting, which is a great addition. My review includes a few suggestions to improve the documentation's clarity and to promote Kubernetes best practices in the examples, such as using specific image tags instead of 'latest' and using a more portable Ingress pathType.

Comment on lines +85 to +88
image:
repository: pipeshubai/pipeshub-ai
tag: latest
pullPolicy: Always

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

Using the latest image tag is discouraged in production environments. It can lead to unexpected behavior because the image content can change without the tag changing, and it makes tracking which version is running and performing rollbacks difficult. It's a best practice to use immutable tags, such as a specific version (v1.2.3) or the git commit SHA. When using specific tags, pullPolicy: IfNotPresent is also recommended.

image:
  repository: pipeshubai/pipeshub-ai
  tag: "<specific-version>"
  pullPolicy: IfNotPresent

Comment thread deployment/kubernetes/helm.mdx Outdated

- **3000**: frontend
- **8088**: connector
- **8091**: main backend (indexing backend uses the same pod, different port naming)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The description for port 8091 is a bit confusing. It says "main backend (indexing backend uses the same pod, different port naming)", but then port 8081 is listed separately for "indexing". To improve clarity, I suggest removing the parenthetical note, as the separation of ports in the list is already clear.

- **8091**: main backend

Comment on lines +17 to +29
hosts:
- host: pipeshub.example.com
paths:
- path: /
pathType: ImplementationSpecific
port: 3000
serviceName: pipeshub-pipeshub-ai
- host: pipeshub-connector.example.com
paths:
- path: /
pathType: ImplementationSpecific
port: 8088
serviceName: pipeshub-pipeshub-ai

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

For pathType, Prefix is generally a better choice than ImplementationSpecific when the path is /. ImplementationSpecific delegates the interpretation to the Ingress controller, which can lead to inconsistent behavior across different Kubernetes environments. Using Prefix provides a clear, portable definition for path matching. I recommend using Prefix for both host path definitions to ensure predictability.

  hosts:
    - host: pipeshub.example.com
      paths:
        - path: /
          pathType: Prefix
          port: 3000
          serviceName: pipeshub-pipeshub-ai
    - host: pipeshub-connector.example.com
      paths:
        - path: /
          pathType: Prefix
          port: 8088
          serviceName: pipeshub-pipeshub-ai

Comment on lines +50 to +52
- Follow the Helm install guide in [`deployment/kubernetes/helm`](./helm).
- Configure values (secrets, persistence, URLs) in [`deployment/kubernetes/configuration`](./configuration).
- If you want HTTPS + hostnames, see [`deployment/kubernetes/ingress`](./ingress).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The link text in this list is the file path, which is redundant and not very user-friendly. For better readability, consider using more descriptive link text. Additionally, the links are missing the .mdx file extension, which is used in other parts of the documentation. Adding it would improve consistency.

- Follow the [Helm install guide](./helm.mdx).
- Configure values (secrets, persistence, URLs) in the [configuration guide](./configuration.mdx).
- If you want HTTPS + hostnames, see the [Ingress and TLS guide](./ingress.mdx).

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