Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Documentation roadmap

オープン
#19 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
45/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go, kubernetes
領域
documentation

調査の方向性

ロードマップでは README.md、docs/reference/crd-api.md、docs/、config/samples/、go.mod が挙げられています。まずこれらのファイルと、提案されている第一波のトピックを読んでください。Diataxis のサブディレクトリを作成し、README を簡潔なリンク付きのランディングページに分割して、選択したワークフローと要件を文書化してください。例と Go バージョンへの参照を一致させ、API 型を変更した場合は make api-docs を実行してください。

索引モデルが issue の本文から書いたものです。

説明

Documentation Roadmap

Background

This project is a Kubernetes operator that brokers disposable guest OpenShift
clusters for CI. It supports CRC single-node clusters and HyperShift hosted
control planes with KubeVirt workers. It has three audiences: CI engineers
(lease and use clusters), cluster operators (install and configure), and
contributors (Go/Kubebuilder development).

The repository has a roughly 750-line README.md and generated CRD API reference at
docs/reference/crd-api.md. The Diataxis framework
suggests splitting content by the user's need, along two axes: action versus
cognition and study versus work.

Serves study (acquisition) Serves work (application)
Action Tutorials How-to guides
Cognition Explanation Reference

Status

  • R1: CRD API reference at docs/reference/crd-api.md.
  • Split the README into focused documents while keeping it as a concise
    landing page.
  • Resolve the documentation tasks below.

Planned Topics

Tutorials
  • T1 - "Lease your first guest cluster": A CI engineer applies a
    ClusterLease, waits for Bound, reads its kubeconfig Secret, runs
    oc get nodes against the guest, then deletes the lease. The tutorial uses
    a ready, unclaimed instance in a preconfigured pool.
  • T2 - "Deploy the operator on a prepared management cluster": An operator
    verifies the OpenShift Virtualization, storage, networking, and HyperShift
    prerequisites that apply; builds and publishes the manager and crc-agent
    images; runs make install and make deploy; configures CRC_AGENT_IMAGE;
    creates a first ClusterPool; and watches an instance reach Ready.
  • T3 - "Set up local development and testing": A contributor clones the
    repository, runs make test with envtest, uses make test-e2e with Kind,
    and runs make run against a configured OpenShift management cluster.
How-to Guides
  • H1 - Configure a CRC pool (turnkey template.crcVersion and manual
    releaseImage / bundleSSHKeyRef paths)
  • H2 - Configure a HyperShift pool (KubeVirt NodePool sizing and control
    plane availability)
  • H3 - Pre-warm a CRCBundle to speed up first provisioning
  • H4 - Configure pull secrets (management cluster default or a custom
    pullSecretRef)
  • H5 - Size pools to hypervisor capacity (minSize / warmSpares / maxSize)
  • H6 - Consume a lease from a CI pipeline (scripted poll + kubeconfig extraction)
  • H7 - Access a CRC guest API externally (Service + passthrough Route)
  • H8 - Troubleshoot a stuck lease, instance, or bundle (capacity, failed
    provisioning, crc-agent/CSR failures, and bundle-prep failures)
  • H9 - Build and push the crc-agent image
  • H10 - Upgrade or uninstall the operator (make undeploy then
    make uninstall)
Reference
  • R2 - Runtime configuration reference: manager environment variables
    (OPERATOR_NAMESPACE, CRC_AGENT_IMAGE, and service-account overrides)
    and flags (--metrics-bind-address, --leader-elect, and related TLS and
    probe flags).
  • R3 - Makefile targets reference: every make target and its variables
    (IMG, CRC_AGENT_IMG).
  • R4 - Resource lifecycle reference: CRCBundle, ClusterInstance, and
    ClusterLease phases, plus ClusterPool capacity and resource conditions.
  • R5 - Prerequisites and deployment requirements: supported management
    OpenShift baseline, OpenShift Virtualization/CDI, HyperShift, OVNKubernetes,
    ingress, storage, LoadBalancer, registry access, and required images.
Explanation
  • E1 - Architecture overview: the broker model, four controllers, four
    CRDs, crc-agent, and how supply (pool) meets demand (lease).
  • E2 - The binding model: why the lease↔instance binding lives in exactly
    one place (ClusterLease.Status.InstanceRef), modeled on the Kube
    scheduler; why LeaseRef is a derived read-only projection.
  • E3 - Recycle semantics & the disposable-cluster philosophy: why clusters
    are ephemeral and how clean-slate recycling works.
  • E4 - CRC vs. HyperShift topologies: the tradeoffs, and which CI suites each is
    meant for.
  • E5 - Why crc-agent exists: the post-boot fixup problem for CRC VMs and
    why it's a separate SSH-based Go binary reusing the bundle-prep image.

Structure And Priorities

Create docs/ subdirectories for
(tutorials/, how-to/, reference/, explanation/), keeping the README as
a concise landing page that links out. This addresses the current dense,
monolithic README.

Suggested first wave:

  1. R5 Prerequisites and deployment requirements + T2 Deploy the operator
    (make installation requirements and the first deployment reliable)
  2. T1 Lease your first cluster + H6 CI pipeline consumption (unblock the main
    consumer workflow)
  3. H1/H2 pool configuration + H8 troubleshooting
  4. E1 Architecture overview + E2 Binding model (move the established
    conceptual material out of the README)

Maintenance

  • Keep examples aligned with the files in config/samples/.
  • Keep the required Go version aligned with go.mod.
  • Run make api-docs and commit docs/reference/crd-api.md after API type
    changes.
主要言語
Go
スター
1
フォーク
0
平均マージ
16時間 21分
マージ済み PR(30日)
28

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opdev/guestcluster のほかの issue

opdev/guestcluster の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。