Add init containers, shared namespaces, per-volume sizing, and user/label support #997
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
in progress
invalid
K8s
question
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/stack-orchestrator#997
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/init-containers"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add support for k8s init containers defined in docker-compose files using the `laconic.init-container` label. Services with this label set to "true" are built as init containers instead of regular containers in the pod spec. This enables stacks to fetch runtime-created ConfigMaps (e.g. from deployer jobs) before the main containers start, without requiring manual operator steps between deployments. Example compose usage: services: fetch-config: image: bitnami/kubectl:latest labels: laconic.init-container: "true" command: ["sh", "-c", "kubectl get configmap ..."] volumes: - shared-config:/config Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>Add get_volume_resources_for(volume_name) to look up per-volume storage sizes from the spec. Supports both the original global format and a new per-volume format: # Global (unchanged, backwards compatible) resources: volumes: reservations: storage: 5Gi # Per-volume (new) resources: volumes: my-data: reservations: storage: 10Gi my-cache: reservations: storage: 1Gi Fallback chain: per-volume -> global -> default (2Gi). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>