Changes by Kind
Feature
-
Added
--transport / -r
flag tocrictl exec
andattach
to select between the "spdy" (default) and "websocket" transport. (#1383, @saschagrunert) -
Added
--transport / -r
flag tocrictl port-forward
andattach
to select between the "spdy" (default) and "websocket" transport. (#1385, @saschagrunert) -
Added support for OTEL tracing via the new CLI flags
--enable-tracing
,--tracing-endpoint
and--tracing-sampling-rate-per-million
. (#1319, @saschagrunert) -
Added user namespaces tests to
critest
. The tests try to find a working runtime handler and automatically skip if not existing. (#1354, @saschagrunert) -
Changed default behaviour in
rm
command to also delete the container's log file.
Added--keeplogs, -k
option to therm
command to preserve logs. (#1367, @fformica) -
Crictl rmi will not remove pinned images on --prune (#1360, @sondavidb)
-
Implemented the
--filter
flag forcrictl images
command.
The following filters are available:dangling=(true/false)
reference=regex
before=<image-name>[:<tag>]|<image id>|<image@digest>
since=<image-name>[:<tag>]|<image id>|<image@digest>
(#1359, @roman-kiselenko)
-
Support Recursive Read-only (RRO) mounts (KEP-3857) (#1344, @AkihiroSuda)
Documentation
- Provide precompiled manpage version in
docs/crictl.1
. (#1320, @saschagrunert)
Other (Cleanup or Flake)
- A bunch of changes :
- handle regexp error
- better usage info
- better documentatio (#1361, @roman-kiselenko)
- Dockershim was removed in k8s 1.24 (#1339, @afbjorklund)
Dependencies
Added
- github.com/fxamacker/cbor/v2: v2.6.0
- github.com/x448/float16: v0.8.4
- golang.org/x/telemetry: b75ee88
- k8s.io/gengo/v2: 51d4e06
- sigs.k8s.io/knftables: v0.0.14
Changed
- cloud.google.com/go/compute: v1.23.0 → v1.24.0
- github.com/cenkalti/backoff/v4: v4.2.1 → v4.3.0
- github.com/cncf/xds/go: e9ce688 → 0fa0005
- github.com/distribution/reference: v0.5.0 → v0.6.0
- github.com/docker/docker: v24.0.7+incompatible → v26.0.1+incompatible
- github.com/envoyproxy/go-control-plane: v0.11.1 → v0.12.0
- github.com/envoyproxy/protoc-gen-validate: v1.0.2 → v1.0.4
- github.com/go-logr/logr: v1.3.0 → v1.4.1
- github.com/go-logr/zapr: v1.2.3 → v1.3.0
- github.com/golang/glog: v1.1.0 → v1.2.0
- github.com/golang/protobuf: v1.5.3 → v1.5.4
- github.com/google/cadvisor: v0.48.1 → v0.49.0
- github.com/google/cel-go: v0.17.7 → v0.17.8
- github.com/google/uuid: v1.4.0 → v1.6.0
- github.com/grpc-ecosystem/grpc-gateway/v2: v2.16.0 → v2.19.0
- github.com/onsi/ginkgo/v2: v2.13.2 → v2.17.1
- github.com/onsi/gomega: v1.30.0 → v1.32.0
- github.com/opencontainers/runc: v1.1.10 → v1.1.12
- github.com/stretchr/testify: v1.8.4 → v1.9.0
- github.com/urfave/cli/v2: v2.26.0 → v2.27.1
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.19.0 → v1.25.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.19.0 → v1.25.0
- go.opentelemetry.io/otel/metric: v1.19.0 → v1.25.0
- go.opentelemetry.io/otel/sdk: v1.19.0 → v1.25.0
- go.opentelemetry.io/otel/trace: v1.19.0 → v1.25.0
- go.opentelemetry.io/otel: v1.19.0 → v1.25.0
- go.opentelemetry.io/proto/otlp: v1.0.0 → v1.1.0
- go.uber.org/goleak: v1.2.1 → v1.3.0
- go.uber.org/zap: v1.19.0 → v1.26.0
- golang.org/x/crypto: v0.16.0 → v0.22.0
- golang.org/x/mod: v0.13.0 → v0.15.0
- golang.org/x/net: v0.19.0 → v0.24.0
- golang.org/x/oauth2: v0.10.0 → v0.17.0
- golang.org/x/sync: v0.4.0 → v0.6.0
- golang.org/x/sys: v0.15.0 → v0.19.0
- golang.org/x/term: v0.15.0 → v0.19.0
- golang.org/x/tools: v0.14.0 → v0.18.0
- google.golang.org/appengine: v1.6.7 → v1.6.8
- google.golang.org/genproto/googleapis/api: 23370e0 → 6ceb2ff
- google.golang.org/genproto/googleapis/rpc: b8732ec → c3f9821
- google.golang.org/genproto: f966b18 → 6ceb2ff
- google.golang.org/grpc: v1.58.3 → v1.63.0
- google.golang.org/protobuf: v1.31.0 → v1.33.0
- k8s.io/klog/v2: v2.110.1 → v2.120.1
- k8s.io/kube-openapi: 2dd684a → 70dd376
- k8s.io/kubernetes/staging/src/k8s.io/api: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/apiextensions-apiserver: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/apimachinery: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/apiserver: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/cli-runtime: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/client-go: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/cloud-provider: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/cluster-bootstrap: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/code-generator: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/component-base: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/component-helpers: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/controller-manager: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/cri-api: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/csi-translation-lib: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/dynamic-resource-allocation: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/endpointslice: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/kms: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/kube-aggregator: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/kube-controller-manager: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/kube-proxy: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/kube-scheduler: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/kubectl: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/kubelet: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/legacy-cloud-providers: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/metrics: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/mount-utils: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/pod-security-admission: e4636d0 → 7c48c2b
- k8s.io/kubernetes/staging/src/k8s.io/sample-apiserver: e4636d0 → 7c48c2b
- k8s.io/kubernetes: v1.29.0-rc.2 → v1.30.0
- sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.28.0 → v0.29.0
Removed
- github.com/Azure/azure-sdk-for-go: v68.0.0+incompatible
- github.com/Azure/go-autorest/autorest/adal: v0.9.23
- github.com/Azure/go-autorest/autorest/date: v0.3.0
- github.com/Azure/go-autorest/autorest/mocks: v0.4.2
- github.com/Azure/go-autorest/autorest/to: v0.4.0
- github.com/Azure/go-autorest/autorest/validation: v0.3.1
- github.com/Azure/go-autorest/autorest: v0.11.29
- github.com/Azure/go-autorest/logger: v0.2.1
- github.com/Azure/go-autorest/tracing: v0.6.0
- github.com/Azure/go-autorest: v14.2.0+incompatible
- github.com/cncf/udpa/go: c52dc94
- github.com/danwinship/knftables: v0.0.13
- github.com/gofrs/uuid: v4.4.0+incompatible
- github.com/rubiojr/go-vhd: 02e2102
- github.com/vmware/govmomi: v0.30.6
- go.uber.org/atomic: v1.10.0
- k8s.io/gengo: 9cce18d
Downloads
file | sha256 | sha512 |
---|---|---|
crictl-v1.30.0-darwin-amd64.tar.gz | 417312332d14184f03a85d163c57f48d99483f903b20b422d3089e8c09975a77 | 12d0abf4aa00cf47728b3f8c6a85a72cbf04e23b46bc46c7fd5d7941c27aa5eed39b7e1afd05330e0fd85f5bbda3829c50d2846ffdd5906461daf1e43964c260 |
crictl-v1.30.0-darwin-arm64.tar.gz | 9e53d46c8f07c4bee1396f4627d3a65f0b81ca1d80e34852757887f5c8485df7 | 162e97e93477f779fd8b2f2e6b55291829beb43281a17743b4e2d37c3457ae99e112d8256cffd62d9141c4fb1a1168b29471f2f968a34d06da59660f826d2168 |
crictl-v1.30.0-linux-386.tar.gz | 80607b1e1c371bd0e2dc7f39511e66ecda10738a9f286a7b6eab1831d48528d7 | 9baed3ed08a09127adcbb706e5bf479a45fac6cec57440d7c27a0cd682d8aa7e4b26c40bfedb98c5ad1119bf52b9b41172a5600be44549bac57d529a29dc4b0d |
crictl-v1.30.0-linux-amd64.tar.gz | 3dd03954565808eaeb3a7ffc0e8cb7886a64a9aa94b2bfdfbdc6e2ed94842e49 | 2bd1e85ab6abd2ac59e6d1a4ccb316fd08e3b025f8de85a6c8396defb7df5ee4e8daf884c4ad9d6451477ef9754240ec786cc5c5ccf1e9a2f616450f2a98a0d0 |
crictl-v1.30.0-linux-arm64.tar.gz | 3769043fc6018a9e1697fcb768bb89ecd429176bd71e849058916f79a46a07a8 | bf2d18b781fd4072058862e23e787dd9b1c6c18626bfc5140fbbf34b78b4fca4b3243eff42d28f0a10f1054b4547405a82afae319c9d9975669ef9a7e27a6b42 |
crictl-v1.30.0-linux-mips64le.tar.gz | 47142293e9a3e9fc4e07051472a255bab94214b7d2948ceeb48c361716af8057 | f29fb5af1852ee60186faffabcf562aae8349314dafd0f30027fd411fac2cf2c9e21c3e6cfd509230cbd3620f14d6755cdf22f8e88fe51c79b3fa556c263d873 |
crictl-v1.30.0-linux-ppc64le.tar.gz | ada550cecb5647014f16dd3ff6c59d7ef7d942ca8cb6c51c15ed019622f39ee9 | 1f4756e6c16d126e336bbe8e55ecce5c10ece3cbd4a3cdf5cfec54390c452295996be066c28754b3d9caa9fb58206d21b199731abe6d899aed43417437293dd2 |
crictl-v1.30.0-linux-riscv64.tar.gz | 2093314a4a8158fc3813948a70fbad173080c6a27eeb418a8b2d37fe7e7697f4 | 31748779f5396f8bdf364745695dc200696dad272ec7eea8856cf305ae11372000d9f957571b5ba766b134cae2af465508bf5fe855a13a7e36e7a06c1659af8a |
crictl-v1.30.0-linux-s390x.tar.gz | 1e4b42174f486dd33ddf6c3050dc6676e3972dece84ea5734c3dd0006974f663 | 3ae2b6bb8c8f6aff48305218820202b589394f9b203e3d60790f6998886974663644908192a81137335c68d5858208e96c06b4a134fa1be8bcb2f8429c240cf0 |
crictl-v1.30.0-windows-386.tar.gz | aba28e1f32318db7b039c39df08f6580855ac96d290d194cebd0e8ae56897650 | aecf2b088cf7ad14577c11e2f3e42e568849431ae6e50b20df3323e57b4b2bddb32d50e54471a534f83730456c78b8618eac343ea69427cd954c3af7fcdf0b3d |
crictl-v1.30.0-windows-amd64.tar.gz | 43d37d94c0dc03830c0988049537fc22fe4b0ad4273ec9066e03586dc8920eb0 | c7538532da5f8dc822981b696330daf7ca9a5347ccff6a9dcdcfce38e3f82423b85d5d35e7bc7fd582a666e78f22c6c1bb0ab41b1a4ce9c7be31c0a592d3e282 |
critest-v1.30.0-darwin-amd64.tar.gz | f73ba27fc28423d66f7a2978fd0837b34ade3f2cebd4d313a7b528ff33df9b79 | acac5ef476cc02c63cc6a5b2650ad57c17ad0de24b8afc809b8fcd4e9aab475d36d272ba42180224ba7f5a517f48fc89c1a3280ab6a619116ca86cbb1089daad |
critest-v1.30.0-darwin-arm64.tar.gz | b11427b8c5baf4c521cf786b5d62330e35da7ffcea1ef5930d0d1e20c5c7777b | 3b2efaafffac7a59e91b47358fc75c63e10d4b54a8b3649a859249cc57a49c17cee3e32c13c3fd2443c8a4a4f0074b284f956644b1dfed9e05c379d8e32a9fce |
critest-v1.30.0-linux-386.tar.gz | c0eff761d4a08764af525ab590c7e18a389f561b76c20775bfd4f14adb9a735b | 6feca34c66db9b9a8f2ac37a8c01e3135814c90478f1f77b1140072126f5b05d6525c72585e113db537a9bf173a18727eebc27de340132c22a66076b72cf4b70 |
critest-v1.30.0-linux-amd64.tar.gz | 3cb9a938a63aca4f04bca3193e8de2b59080f5d160209d735a87fd56c8280ca5 | 518fb355b9d7b390aa8b0ef5abde4249eb50f5c6821648c56d4b6d967e857cfe8c4390cc4c1dc998a2eedc52db3f7527832af4f36195f9281afcb435ced61b91 |
critest-v1.30.0-linux-arm64.tar.gz | 4302ef9f73e0ecb511851b7fed2147a63cd4328727fb90165d6eb4a659b9114c | 25a37f999531bb87d1f8594807aba2be2de6d53ad2a20fa77f916058569fe33922c98a6d2e214d7387ef3e087bdb9f27414212323dbf76c2bc22ebfb7449f9ff |
critest-v1.30.0-windows-386.tar.gz | 95564fbc095cd79eb85eb6d6c510c84cd9e5ea8697eeeebfdc9a854ff14624b3 | 3a81f5f50bb2a04e2389b8e357ed10c7bf0451c8e85b0b1c6cdaf5256a8e8b4b3743e28aee692137525df52d1a035aafb6e0d9661baada414424676df1d9bd1e |
critest-v1.30.0-windows-amd64.tar.gz | 78a9218c21da2c6cd1f497f1db78f8d02311b2df0122bccc3ec6e1f9085a73bd | c5efa991408a55705f5c7da69afddd4283e4f29e71d21011e70e561d5f4c237e72f7cd63511f3a2ded4903f2239077b17afabbbe21f5ea38c0946fa299821e53 |