Skip to content

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 02:26
· 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 scan and a kx diag sweep, and kx top --sort -mem% orders by a column kubectl's own --sort-by lacks.
  • 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-healthy flag replaces --full on a namespace sweep (#577).
  • Findings write a Pod as the type, like the rest of kx (#569).

Features

  • The --sort flag orders a scan's summary and a diag sweep (#573).
  • The --sort flag 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 --sort flag beside --sum is refused rather than sorted wrong (#593).
  • A sorted listing refreshes after its column has gone (#589).
  • A --sort after -- is kubectl's (#590).
  • The --sort flag's help names a Secret listing's own columns (#585).
  • The --sort flag refuses a table it cannot read across namespaces too (#584).
  • The --sort flag beside an index is refused for the index (#582).
  • The --sort flag refuses a table it cannot read rather than ignore it (#581).
  • A --sort with no value says it needs one (#580).
  • The --sort flag's help names kx top's columns and kubectl top's --sort-by (#578).
  • The --sort flag tells kubectl's CPU(%) from the CPU(cores) beside it (#576).
  • The --sort flag 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