Repository navigation
Conversation
…ls use it A new admin page, Package mirror, covers the mirror settings and the egress namespace they need, what happens when the mirror is down, lacks a package (404, no fallback) or its trust bundle is missing, and two checks for whether installs use it: pixi's retry warnings in the env-install log, and the pod's address in the mirror's request log. TAPAS_PIXI_MIRROR tells "no mirror" from "configured but not used". The admin index lists the page, and the environments page says installs may come from the cluster's mirror. Refs #25
Refuse a mirror url with a user name or password, and stop repeating the url in its errors, since it may hold a password. Refuse environments.node unless environments.location is written as node. Docs: the trust bundle replaces the pod's CA list, so it must hold the public CAs; the mirror chart's callers value must list every namespace Tapas runs pods in; a package missing upstream answers 500 and falls back, while a late build answers 404 and does not. The example host is the mirror chart's default Service name. Add pixienv.NodeEnvsSubPath for the envs subPath and use it in the tests that had compared against EnvsDir. Note in patterns.md that new platform env names use TAPAS_ and are reserved one by one. Refs #25
When the app exits 0 on the eviction's SIGTERM, the pod can end Succeeded with no status reason or message (seen on EKS 1.37), so ClassifyPod never matched it and the app showed AppNotAnswering instead of EnvsFull or ScratchFull. Take the eviction message from the pod's status when it says Evicted, and otherwise from the newest Evicted event, then classify it by message as before. Tests cover the event-only envs and scratch cases, a memory eviction that matches neither, the status winning over an event, the newest event winning, and the whole path through Observe and status.Derive. The EnvsFull contract says where the line comes from. Refs #25
|
Ran the cluster checks for this stack on an EKS 1.37 test cluster running Nebari and the OCI mirror pack, with The eviction: with
Two numbers from the open questions. JupyterLab's environment is 906M on the node, so the default One thing we need to look at in the mirror pack: during the first install it answered 500 once, for a noarch repodata blob. pixi carried on and the install succeeded, but I don't know what caused it. |
Slice 4: The mirror holds up on a cluster, and operators can see it
This adds the operator docs for the pixi package mirror added in #63. It is part of #25, stacked on #63, and the diff is against
feat/pixi-mirror.Contracts touched: none.
Depends on: #63.
What changes
env-installlog, and the pod's address in the mirror's request log.TAPAS_PIXI_MIRRORtells "no mirror" apart from "configured but not used".using/environments.md): one paragraph says installs may come from the cluster's mirror.Validation
astro buildvalues.yaml, config validation,pixienv, labels,contracts.md)