Support native sidecar containers in the Pod builder(s)

Aberta
#1,317 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
62/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
kubernetes, rust
Domínio
tooling

Direção de pesquisa

Start in the builder code around ContainerBuilder and PodBuilder::add_init_container; the issue names both entry points and the default-resource behavior to change. Read how init containers currently receive default limits, then expose restartPolicy and make it possible to add a native sidecar without those defaults. Done means a builder-created init container can use restartPolicy: Always without the 10m CPU / 128Mi memory defaults, with builder tests covering the new path.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

Problem

The builders have no way to add a native sidecar (init container with restartPolicy: Always). ContainerBuilder doesn't expose restartPolicy, and PodBuilder::add_init_container sets default limits of 10m CPU / 128Mi memory on any init container without resources. Those defaults apparently exist for ResourceQuota support (stackabletech/issues#368) and are probably fine for one-shot init containers but also probably not for Vector et.al.

Scope

Adding a native sidecar through the builders, without the init-container resource defaults.

Expected effort

1 day. If it takes longer, stop and flag it.

Out of scope

  • Moving any existing sidecar (Vector, git-sync, ...) over to it.
  • The container-type / default-resources refactor the FIXME in add_init_container asks for.
Linguagem predominante
Rust
Estrelas
170
Forks
20
Merge médio
2d 12h
PRs com merge (30d)
24

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de stackabletech/operator-rs

Todas as issues de stackabletech/operator-rs

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.