@codiac.io/codiac-cli 1.3.259 → 1.3.260
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +169 -169
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/skill/references/concepts.md +7 -1
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -150,7 +150,7 @@ A setting's `targetFile` says *what artifact it becomes*:
|
|
|
150
150
|
|---|---|
|
|
151
151
|
| `[helm]` | a Helm chart value (`.Values.<path>`) for a helm asset |
|
|
152
152
|
| `[env]` | an OS environment variable on the container |
|
|
153
|
-
| `[footprint]` | container
|
|
153
|
+
| `[footprint]` | container CPU/memory footprint + replicas (key names below) |
|
|
154
154
|
| `[label]` | a Kubernetes label |
|
|
155
155
|
| `[annotation]` | a Kubernetes annotation |
|
|
156
156
|
| `[filestore]` | a mounted file/volume value |
|
|
@@ -159,6 +159,12 @@ A setting's `targetFile` says *what artifact it becomes*:
|
|
|
159
159
|
Choosing the wrong `targetFile` is a common error — e.g. putting a helm chart value under `[env]`
|
|
160
160
|
(where Codiac builds Deployments for *service* assets) instead of `[helm]`.
|
|
161
161
|
|
|
162
|
+
**`[footprint]` key names.** The canonical keys are the *flat* `cpuRequest`, `cpuLimit`,
|
|
163
|
+
`memRequest`, `memLimit`, and `replicas` — this is what the interactive `cod config add -t footprint`
|
|
164
|
+
prompt offers. The k8s-native *nested* shape (`requests.cpu`, `requests.memory`, `limits.cpu`,
|
|
165
|
+
`limits.memory`) is also accepted and mapped onto the flat keys automatically, so either works.
|
|
166
|
+
Confirm with `cod config view -t footprint`, which shows the resolved doc.
|
|
167
|
+
|
|
162
168
|
### Literal value vs sourced reference
|
|
163
169
|
A setting's value is either:
|
|
164
170
|
- a **literal** `value` (stored directly), or
|