Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Define the Switch Deletion Lifecycle

未关闭
#175 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
go, kubernetes

调研方向

首先查看 Switch 资源定义以及生成其 ZTP 脚本的 operator 工作流。确定外部系统如何创建和管理 Switch 资源,然后记录一份涵盖 Kubernetes 资源和任何物理交换机清理工作的、经过约定的删除契约;在开始实现之前明确预期的生命周期,即视为完成。

由索引模型根据 Issue 内容生成。

描述

area/switch-automation enhancement triage/needed

Summary

Define the expected behavior when a Switch resource is deleted.

Currently, the resource primarily provides the switch-specific information used by the operator to generate its ZTP script. It is unclear whether deleting the resource should also affect the physical switch.

Basic example

Possible behaviors include:

  • Delete only the Kubernetes resource, without changing the physical switch.
  • Reset or decommission the physical switch.
  • Perform limited cleanup of configuration managed by the operator.

Motivation

The deletion behavior should be defined before implementing cleanup or reset logic. The appropriate workflow may also depend on how Switch resources are created and managed by external systems.

主要语言
Go
星标
5
派生
169
平均合并
2 天 1 小时
30 天内合并 PR
8

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 提供 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ironcore-dev/sonic-operator 的其他 Issue

查看 ironcore-dev/sonic-operator 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。