Repository navigation
v0.10.0
·
128 commits
to develop
since this release
Immutable
release. Only release title and notes can be modified.
Highlights
Listings can now be put in the order you care about before kx numbers them, so the row you want is row 1.
- Sort by columns: With
kx get pods --sort -restarts,age, the worst-restarting Pod comes first, and each column sorts as what it holds, AGE as a duration and READY as a ratio. - Every table kx draws: Sorting works on
kx get,kx top,kx secret,kx scanand akx diagsweep, andkx top --sort -mem%orders by a column kubectl's own--sort-bylacks. - Refresh lines you can paste: When the resource behind an index is gone and a program is reading the output, the line kx prints now keeps the listing's flags, as in
Run 'kx get pods -n diagnostics --output=wide --sort="nominated node" -m web' to refresh the list. - Kinds as types: Findings name kinds as types, as in
CrashLoopBackOff in Pod cache-oom-cc849dbdb-2qdkw.
Breaking: If a script passes kx diag --full, change it to --show-healthy; kx scan --full keeps its name. If it parses a sweep's findings or kx top nodes, check it: kinds are spelled as types, and the memory column is always MEM%.
Breaking changes
- A relist hint names the shape its listing was taken in (#592).
- A relist hint quotes a value holding a space (#591).
- Nodes print MEM% whichever kubectl heads it MEMORY% (#588).
- The
--show-healthyflag replaces--fullon a namespace sweep (#577). - Findings write a Pod as the type, like the rest of kx (#569).
Features
- The
--sortflag orders a scan's summary and a diag sweep (#573). - The
--sortflag orders a listing by its columns, several at once (#572).
Fixes
- A report's invocation line quotes a value holding a space (#596).
- A relist hint keeps a flag's empty value (#595).
- The
--sortflag beside--sumis refused rather than sorted wrong (#593). - A sorted listing refreshes after its column has gone (#589).
- A
--sortafter--is kubectl's (#590). - The
--sortflag's help names a Secret listing's own columns (#585). - The
--sortflag refuses a table it cannot read across namespaces too (#584). - The
--sortflag beside an index is refused for the index (#582). - The
--sortflag refuses a table it cannot read rather than ignore it (#581). - A
--sortwith no value says it needs one (#580). - The
--sortflag's help names kx top's columns and kubectl top's--sort-by(#578). - The
--sortflag tells kubectl's CPU(%) from the CPU(cores) beside it (#576). - The
--sortflag leaves an empty listing alone instead of refusing it (#575). - A sorted sweep numbers its rows by the listing it saved (#574).
- Help and messages write Kubernetes kinds as types (#568).
Full Changelog: v0.9.2...v0.10.0