lablup / lablup/backend.ai

Add config generate-sample command to App Proxy Coordinator and Worker

Open
#6,768 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

## Problem

Other Backend.AI components (manager, agent, storage, webserver) provide a `config generate-sample` CLI command to generate sample configuration files. However, App Proxy Coordinator and Worker components are missing this command.

## Expected Behavior

Users should be able to generate sample configuration files for both components:

```bash
./backend.ai app-proxy-coordinator config generate-sample
./backend.ai app-proxy-worker config generate-sample
```

## Scope

- Add `config generate-sample` command to App Proxy Coordinator CLI
- Add `config generate-sample` command to App Proxy Worker CLI
- Follow the same pattern as other components (manager, agent, storage, webserver)
- Ensure generated sample configs include all necessary fields with appropriate defaults and comments

## References

Existing implementations:

- Manager: `src/ai/backend/manager/cli/`
- Agent: `src/ai/backend/agent/cli/`
- Storage: `src/ai/backend/storage/cli/`
- Webserver: `src/ai/backend/web/cli/`

JIRA Issue: BA-3052

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.