mirror of https://github.com/k3s-io/k3s
![]() This address a TODO when collecting the node version information so it will properly report the configured runtime and its version. Previously, this was hardcoded to "docker://" and the docker version, and would show "docker://1.9.1" even when the kubelet was configured to use rkt. With this change, it will use the runtime's Type() and Version() data. This also changes the container.Runtime interface to add an APIVersion() method. This can be used when the runtime has separate versions for the engine and the API, such as with Docker. The Docker minimum version validation has been updated to use APIVersion(), and DockerManager.Version() now returns the engine version. |
||
---|---|---|
.. | ||
cap.go | ||
config.go | ||
container_id.go | ||
doc.go | ||
fake_rkt_interface.go | ||
image.go | ||
log.go | ||
rkt.go | ||
rkt_test.go | ||
systemd.go | ||
version.go |