Skip to content

Update pre-require and installation - #33

Merged
KUASWoodyLIN merged 4 commits into
mainfrom
feat/update_get_started
Dec 3, 2025
Merged

KUASWoodyLIN merged 4 commits into
mainfrom
feat/update_get_started

Conversation

@terrywu510

Copy link
Copy Markdown
Contributor

No description provided.

@terrywu510 terrywu510 self-assigned this Dec 3, 2025
@terrywu510 terrywu510 added the enhancement New feature or request label Dec 3, 2025
@gemini-code-assist

Copy link
Copy Markdown

Summary of Changes

Hello @terrywu510, 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 focuses on enhancing the clarity and completeness of the OtterScale documentation, specifically for prerequisites and installation. The changes aim to provide users with more precise instructions for setting up their environment and installing the software, including a more organized and comprehensive firewall configuration guide, ultimately improving the initial user experience.

Highlights

  • Documentation Clarity: Added clarifying notes to the 'Operating System', 'Hardware', and 'Network Configuration' sections in the prerequisites documentation to provide more context for users.
  • Firewall Configuration Restructuring: The firewall configuration section has been significantly reorganized into distinct tabs for 'Canonical', 'Snap Package', 'Ubuntu Repositories', 'GitHub', 'Kubernetes', 'HuggingFace', 'RedHat Models', and 'HELM Charts', making the information easier to navigate and consume.
  • Expanded Firewall Domains: The lists of required domains and ports for various services in the firewall configuration have been updated and expanded to ensure comprehensive coverage.
  • Revised Installation Steps: The installation guide now includes explicit steps for preparing apt packages, cloning the OtterScale repository, and configuring the .env file, providing a more detailed and robust installation process.
  • Streamlined Docker Compose Execution: The Docker Compose command in the installation steps now explicitly uses sudo, and the install.cfg configuration step has been removed, simplifying the setup.
  • Documentation Consolidation: The src/content/docs/guides/install.md file has been removed, indicating a consolidation of installation-related content into the main getting started documentation.
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.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

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

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 updates the prerequisite and installation documentation, restructuring the firewall requirements into tabs for better readability and updating the installation steps. My review includes suggestions to improve the clarity and accuracy of the documentation, such as clarifying potentially misleading statements, correcting an invalid domain in the firewall list, and making the installation instructions more explicit and easier to follow.

| `registry.k8s.io` | TCP 443 (HTTPS) |
| `k8s.gcr.io` | TCP 443 (HTTPS) |
| `ghcr.io` | TCP 443 (HTTPS) |
| `coredns` | TCP 443 (HTTPS) |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The domain coredns is listed as a requirement for firewall whitelisting. coredns is typically a service name within a Kubernetes cluster and not a public, fully qualified domain name (FQDN) that can be resolved over the internet. This is likely an error and could cause confusion. Please verify the correct domain for the CoreDNS container image registry or remove this entry if it's not an external endpoint.


### Network Configuration

The installer will help set up networking - no manual configuration needed.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The statement "no manual configuration needed" could be misleading. The subsequent section on "Bridge Configuration" mentions that the user might be prompted to select an existing bridge, which is a form of manual configuration. Consider rephrasing to better reflect the potential for user interaction.

The installer will help set up networking, though some manual input may be required.

Comment on lines +83 to +87
| `tw.archive.ubuntu.com` | TCP 443 (HTTPS)<br/>TCP 80 (HTTP)\* |
| `archive.ubuntu.com` | TCP 443 (HTTPS)<br/>TCP 80 (HTTP)\* |
| `ports.ubuntu.com` | TCP 443 (HTTPS)<br/>TCP 80 (HTTP)\* |
| `security.ubuntu.com` | TCP 443 (HTTPS)<br/>TCP 80 (HTTP)\* |
| `esm.ubuntu.com` | TCP 443 (HTTPS)<br/>TCP 80 (HTTP)\* |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The asterisk (*) in TCP 80 (HTTP)* is not explained anywhere in the document. This could cause confusion for users trying to configure their firewalls. Please either remove the asterisk if it has no specific meaning, or add a footnote explaining it. This applies to all entries in this table.


| Domains | Port(s) | Description |
| :------------------------------------- | :---------------| :-------------|
| `otterscale.github.io` | TCP 443 (HTTPS) | #OtterScale |

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The Description column in the HELM Charts table uses a hash prefix (e.g., #OtterScale). This is unconventional for a description in a markdown table and can be confusing. For better clarity, I suggest removing the # prefix from all entries in this column.

| `otterscale.github.io`                 | TCP 443 (HTTPS) | OtterScale    |

Comment on lines +31 to 36
Update .env APP_VERSION and PUBLIC_API_URL

## OtterScale Web IP
OTTERSCALE_WEB_IP="192.168.197.220"
```bash
APP_VERSION=0.6.0-beta.3
PUBLIC_API_URL=http://xx.xx.xx.xx:8299
```

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The instructions for updating the .env file are a bit fragmented. Also, the code block containing the environment variables is incorrectly highlighted as bash, as these are not executable shell commands. To improve clarity, I suggest combining the instructions and using a more appropriate format for the code block, like env or no language specifier.

    Update the `.env` file with your specific values. For example:

    ```env
    APP_VERSION=0.6.0-beta.3
    PUBLIC_API_URL=http://xx.xx.xx.xx:8299
    ```


1. Access the OtterScale UI.
2. Execute the `install.sh` script.
2. Copy the CLI from OtterScale UI and execute the command with sudo privilege.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The instruction "Copy the CLI from OtterScale UI and execute the command with sudo privilege" is vague. It would be very helpful for users to see an example of what the command might look like.

2.  Copy the installation command from the OtterScale UI and execute it with `sudo` privilege. The command will look similar to this: `curl -sSL http://<your-otterscale-ip>:8299/install.sh | sudo bash`

@KUASWoodyLIN
KUASWoodyLIN merged commit aad7b33 into main Dec 3, 2025
1 check passed
@terrywu510
terrywu510 deleted the feat/update_get_started branch December 9, 2025 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants