v0.8.0
[v0.8.0] - 2021-05-03
This release coincides with Cilium 1.10 and has support for new API additions
added in Cilium. Some of the new API features include support for agent and
debug events (#537), as well as prelimary support for the experimental Hubble
Recorder API (#530). Both of these features are currenlty only available via
the local unix domain socket. Other API features include filtering by TCP flags
(#461), IP version (#505) and node name (#412).
Hubble CLI 0.8 also comes with improvements to the CLI utility, such as reading
flows and filtering flows from stdin (#524), more flexible timestamp format
printing (#509), support for Apple silicon (#488), as well as miscellaneous
flag improvements and additions (#411, #420, #421, #443). It also contains a
new hubble list
subcommand which, when targeting Hubble Relay, lists all
Hubble enabled nodes (#427).
Breaking Changes
In accordance with semver 0.x releases, this release contains a few
breaking changes to the Hubble command-line interface:
- The new default Hubble API endpoint (specified with
--server
) is now
localhost:4245
to ease usage with Hubble Relay. To connect to the local
unix domain socket, use--server unix:///var/run/cilium/hubble.sock
or set
theHUBBLE_SERVER
environment variable (default within a Cilium container)
(#535) - The new default output format is now always
compact
regardless of being in
follow-mode or not. To obtain the old table output in thehubble observe
command, use--output=table
(#536) - The source of reply packets is now printed on the left side in the compact
output format. Such flows are indicated with a<-
arrow instead of->
.
Flows with an unknown direction now use the<>
arrow in the compact output
(#533). - The hidden
hubble peers watch
command has been renamed tohubble watch peers
(#542)
Major Changes:
- Add basic support for agent events (#442, @tklauser)
- Add subcommands for agent and debug events (#537, @tklauser)
- cmd/observe: support for filtering events based on tcp-flags (#461, @nyrahul)
- cmd: add node list subcommand to list hubble nodes with status (#427, @rolinh)
Minor Changes:
- change default address to localhost:4245 (#535, @rolinh)
- cmd/config: add shell completion support for keys for get|set|reset (#420, @rolinh)
- cmd/observe: add a new flag to allow specifying different time formats for timestamps (#509, @rolinh)
- cmd/observe: add all flags (#411, @rolinh)
- cmd/observe: Add node name filter (#412, @twpayne)
- cmd/observe: add shell completion support for various flags (#421, @rolinh)
- cmd/observe: add support for IP version filters (#505, @rolinh)
- cmd/observe: mark deprecated output flags as deprecated (#506, @rolinh)
- cmd/observer: add support for agent event sub-type filters (#465, @tklauser)
- cmd: Add record subcommand (#530, @gandro)
- cmd: improve command usage message by grouping related flags (#443, @rolinh)
- compact: Always print original source on the left (#533, @michi-covalent)
- make: build release binaries for darwin/arm64 (aka Apple silicon) (#488, @rolinh)
- printer: Add support for debug events (#473, @gandro)
- RFC: cmd/observe: set default output format to "compact" (#536, @rolinh)
- Support reading flows from stdin (#524, @michi-covalent)
Bugfixes:
Misc Changes:
- Agent event follow-up fixes for #442 (#454, @tklauser)
- all: avoid using the deprecated io/ioutil package (#489, @rolinh)
- Automate release creation and artifacts publishing (#490, @rolinh)
- build(deps): bump actions/setup-go from v1 to v2.1.3 (#476, @dependabot[bot])
- build(deps): bump github.com/sirupsen/logrus from 1.7.0 to 1.8.1 (#525, @dependabot[bot])
- build(deps): bump github.com/spf13/cobra from 1.1.2 to 1.1.3 (#486, @dependabot[bot])
- build(deps): bump google.golang.org/grpc from 1.36.0 to 1.36.1 (#522, @dependabot[bot])
- build(deps): bump google.golang.org/protobuf from 1.25.0 to 1.26.0 (#518, @dependabot[bot])
- build: ensure that binaries are always statically built (#397, @rolinh)
- Bump alpine base image to 3.13 (#472, @tklauser)
- Bump github.com/cilium/cilium to pull in reworked agent/debug event API (#532, @tklauser)
- ci: Add CodeQL analysis (#475, @twpayne)
- ci: Add dependabot configuration (#474, @twpayne)
- ci: do not upload artifacts (#485, @rolinh)
- ci: fix dependabot kind/enhancement label (#477, @kaworu)
- cmd/node: fix completion of output flag (#466, @rolinh)
- cmd/node: Refactor & Test output methods (#496, @simar7)
- cmd/observe: don't list agent/debug events and recorder captures in event type filter (#534, @tklauser)
- cmd/observe: print filters in debug mode (#502, @rolinh)
- cmd/observe: Print the entire request in debug mode (#515, @michi-covalent)
- cmd/observe: use signal.NotifyContext to cancel context on SIGINT (#539, @rolinh)
- cmd/peer: Refactor and test processing of response (#499, @simar7)
- cmd: change "node list" command for "list node" (#541, @rolinh)
- cmd: change 'peers watch' command to 'watch peers' (#542, @rolinh)
- cmd: use config key constants instead of hardcoded strings (#471, @rolinh)
- completion: remove the copyright header (#444, @kaworu)
- doc: #hubble-devel on Slack is now #sig-hubble (#495, @rolinh)
- doc: fix broken links (#406, @rolinh)
- Dockerfile: use alpine 3.12 (#540, @aanm)
- docs: Point to stable documentation (#414, @joestringer)
- Ensure build with Cilium master (#463, @gandro)
- Fix brokenlink on README.md (#500, @kaitoii11)
- make: set missing IMAGE_TAG variable (#432, @rolinh)
- Makefile: Add support for DOCKER_FLAGS environment variable (#456, @jrajahalme)
- Move version into VERSION file (#434, @glibsm)
- readme: bump versions in releases table (#400, @rolinh)
- readme: update releases table, mark Hubble Relay as stable (#404, @rolinh)
- release: fix
release
binary usage instruction (#396, @rolinh) - Revert "ci: fix dependabot kind/enhancement label" (#493, @kaworu)
- set version to 0.8.0-dev (#393, @rolinh)
- stable.txt: Bump to v0.7.0 (#405, @gandro)
- Switch protobuf module to google.golang.org/protobuf (#452, @tklauser)
- update CHANGELOG for releases v0.6.1 and v0.7.0 (#398, @rolinh)
- Update Go to 1.15.4 (#416, @rolinh)
- Update Go to 1.15.5 (#423, @tklauser)
- Update Go to 1.15.6 (#446, @tklauser)
- Update Go to 1.15.7 (#467, @tklauser)
- Update Go to 1.15.8 (#478, @tklauser)
- Update Go to 1.16.1 (#507, @tklauser)
- Update Go to 1.16.2 (#510, @rolinh)
- Update Go to 1.16.3 (#526, @tklauser)
- update Go to v1.16.0 (#487, @rolinh)
- update readme and stable.txt for v0.7.1 (#410, @rolinh)
- update release instructions (#399, @rolinh)
- Update RELEASE.md with
-dev
change (#520, @rolinh) - vendor: bump Cilium and grpc (#538, @rolinh)
- vendor: bump github.com/cilium/cilium (#482, @rolinh)
- vendor: bump github.com/cilium/cilium (#528, @rolinh)
- vendor: bump github.com/google/go-cmp from 0.5.4 to 0.5.5 (#504, @rolinh)
- vendor: bump google.golang.org to v1.33.2 (#437, @tklauser)
- vendor: bump google.golang.org/grpc to v1.34.0 (#457, @tklauser)
- vendor: bump google.golang.org/grpc to v1.35.0 (#464, @tklauser)
- vendor: bump google.golang.org/grpc to v1.36.0 (#498, @rolinh)
- vendor: Bump gopkg.in/yaml.v2 to v2.4.0 (#441, @twpayne)
- vendor: bump honnef.co/go/tools from v0.1.1 to v0.1.2 (#494, @rolinh)
- vendor: bump honnef.co/go/tools from v0.1.2 to v0.1.3 (#513, @rolinh)
- vendor: bump honnef.co/go/tools to v0.1.1 (#484, @rolinh)