Skip to content

Implement the init container.#88

Merged
unmarshall merged 3 commits into
ai-dynamo:mainfrom
renormalize:initcontainer
Jun 19, 2025
Merged

Implement the init container.#88
unmarshall merged 3 commits into
ai-dynamo:mainfrom
renormalize:initcontainer

Conversation

@renormalize

@renormalize renormalize commented Jun 13, 2025

Copy link
Copy Markdown
Contributor
  • Implement the init container. The init container currently waits for all PodCliques to be ready simultaneously to the best of its knowledge before exiting.

  • Change the Role to not constrain to specific ResourceNames so the informers can List all PodCliques in a namespace.

* Implement the init container. The init container currently waits
  for all `PodClique`s to be ready simultaneously to the best of its
  knowledge before exiting.

* Add `github.com/NVIDIA/grove/operator/client` to `operator/go.mod`
  so the init container's main package can find the path of the client
  code.

* Change the `Role` to not constrain to specific `ResourceNames` so the
  informers can `List` all `PodClique`s in a namespace.
  Previously, only the `PodCliques` that are created as a part of the
  `PodGangSet` could be `get`, `list`, and `watch`-ed. This approach of
  restricting which `ResourceNames` does not work with informers, since they
  require being able to list all resources in the specified namespace.

Signed-off-by: Saketh Kalaga <51327242+renormalize@users.noreply.github.com>
@renormalize renormalize marked this pull request as ready for review June 18, 2025 09:17
Comment thread operator/initc/Dockerfile Outdated
Comment thread operator/initc/config.go
Comment thread operator/initc/main.go Outdated
unmarshall and others added 2 commits June 18, 2025 15:48
* Renamed initc config fields.

Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>
* Reorganize `initc/` package to adhere to the convention set for the `operator/`.

* Merge `operator/Dockerfile` and `operator/initc/Dockerfile`. Each
  image can be built seperately by specifying the target.

* Use `internal/logger` and `internal/version` pacakges in `initc/`.

* Modify `Makefile` targets, and `operator/hack/docker-build.sh` to build
  both images.

* Enhance `skaffold.yaml` to build `grove-initc`.

Signed-off-by: Saketh Kalaga <51327242+renormalize@users.noreply.github.com>
@unmarshall unmarshall merged commit 244738c into ai-dynamo:main Jun 19, 2025
1 check passed
@renormalize renormalize deleted the initcontainer branch July 4, 2025 09:04
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.

2 participants