Skip to content

Releases: kubernetes-sigs/kwok

v0.5.2

25 Apr 04:10
5a4f0f1
Compare
Choose a tag to compare

Changes by Kind

Bug or Regression

Images

kwok

  • registry.k8s.io/kwok/kwok:v0.5.2

cluster

  • registry.k8s.io/kwok/cluster:{tag}
    • v0.5.2-k8s.v1.29.2
    • v0.5.2-k8s.v1.28.7
    • v0.5.2-k8s.v1.27.11
    • v0.5.2-k8s.v1.26.14
    • v0.5.2-k8s.v1.25.16
    • v0.5.2-k8s.v1.24.17

v0.5.1

18 Feb 07:59
b293e02
Compare
Choose a tag to compare

Changes by Kind

Bug or Regression

Images

kwok

  • registry.k8s.io/kwok/kwok:v0.5.1

cluster

  • registry.k8s.io/kwok/cluster:{tag}
    • v0.5.1-k8s.v1.29.0
    • v0.5.1-k8s.v1.28.0
    • v0.5.1-k8s.v1.27.3
    • v0.5.1-k8s.v1.26.6
    • v0.5.1-k8s.v1.25.11
    • v0.5.1-k8s.v1.24.15

v0.5.0

02 Feb 06:17
af1fea2
Compare
Choose a tag to compare

Changes by Kind

API Change or Feature

Bug or Regression

Images

kwok

  • registry.k8s.io/kwok/kwok:v0.5.0

cluster

  • registry.k8s.io/kwok/cluster:{tag}
    • v0.5.0-k8s.v1.29.0
    • v0.5.0-k8s.v1.28.0
    • v0.5.0-k8s.v1.27.3
    • v0.5.0-k8s.v1.26.6
    • v0.5.0-k8s.v1.25.11
    • v0.5.0-k8s.v1.24.15

Contributors

Thank you to everyone who contributed to this release! ❤️

Users whose commits are in this release (alphabetically by user name)

Contributors since v0.4.0:

And thank you very much to everyone else not listed here who contributed in other ways like filing issues, giving feedback, etc. 🙏

v0.4.0

23 Aug 11:16
bd250ca
Compare
Choose a tag to compare

BROKEN CHANGES in deploying kwok in clusters as a result of CRD support, see more https://kwok.sigs.k8s.io/docs/user/kwok-in-cluster/

Changes by Kind

API Change

Feature

Bug or Regression

Dependencies

Added

  • github.com/evanphx/json-patch/v5: v5.6.0
  • github.com/fatih/color: v1.15.0
  • github.com/go-errors/errors: v1.4.2
  • github.com/gobuffalo/flect: v1.0.2
  • github.com/google/gnostic-models: v0.6.8
  • github.com/google/shlex: e7afc7f
  • github.com/mattn/go-colorable: v0.1.13
  • github.com/monochromegane/go-gitignore: 205db1a
  • github.com/opencontainers/selinux: v1.11.0
  • github.com/sergi/go-diff: v1.1.0
  • github.com/xhit/go-str2duration/v2: v2.1.0
  • github.com/xlab/treeprint: v1.2.0
  • go.starlark.net: 8dd3e2e
  • gomodules.xyz/jsonpatch/v2: v2.4.0
  • google.golang.org/genproto/googleapis/api: dd9d682
  • google.golang.org/genproto/googleapis/rpc: 28d5490
  • k8s.io/apiextensions-apiserver: v0.28.0
  • k8s.io/kubelet: v0.28.0
  • sigs.k8s.io/controller-runtime: v0.16.0
  • sigs.k8s.io/controller-tools: v0.13.0
  • sigs.k8s.io/kustomize/api: v0.14.0
  • sigs.k8s.io/kustomize/cmd/config: v0.11.3
  • sigs.k8s.io/kustomize/kustomize/v5: v5.1.1
  • sigs.k8s.io/kustomize/kyaml: v0.14.3

Changed

  • cloud.google.com/go/compute: v1.19.0 → v1.20.1
  • cloud.google.com/go: v0.110.0 → v0.65.0
  • github.com/Microsoft/go-winio: v0.4.17 → v0.6.0
  • github.com/Microsoft/hcsshim: v0.9.6 → v0.9.9
  • github.com/alecthomas/kingpin/v2: v2.3.1 → v2.3.2
  • github.com/asaskevich/govalidator: f61b66f → a9d515a
  • github.com/cenkalti/backoff/v4: v4.1.3 → v4.2.1
  • github.com/containerd/cgroups: v1.0.1 → v1.1.0
  • github.com/containernetworking/plugins: v1.2.0 → v1.3.0
  • github.com/coreos/go-oidc: v2.1.0+incompatible → v2.2.1+incompatible
  • github.com/coreos/go-semver: v0.3.0 → v0.3.1
  • github.com/distribution/distribution/v3: ebfa2a0 → 36d8c59
  • github.com/dustin/go-humanize: v1.0.0 → v1.0.1
  • github.com/evanphx/json-patch: v4.12.0+incompatible → v5.6.0+incompatible
  • github.com/go-logr/logr: v1.2.3 → v1.2.4
  • github.com/go-logr/zapr: v1.2.3 → v1.2.4
  • github.com/go-openapi/jsonreference: v0.20.1 → v0.20.2
  • github.com/go-task/slim-sprig: 348f09d → 52ccab3
  • github.com/golang-jwt/jwt/v4: v4.4.2 → v4.5.0
  • github.com/google/cel-go: v0.15.2 → v0.16.0
  • github.com/google/gofuzz: v1.1.0 → v1.2.0
  • github.com/google/pprof: 4bb14d4 → e72429f
  • github.com/imdario/mergo: v0.3.13 → v0.3.16
  • github.com/itchyny/gojq: v0.12.12 → v0.12.13
  • github.com/mattn/go-isatty: v0.0.17 → v0.0.19
  • github.com/networkplumbing/go-nft: v0.2.0 → v0.3.0
  • github.com/onsi/ginkgo/v2: v2.9.1 → v2.11.0
  • github.com/onsi/gomega: v1.27.4 → v1.27.10
  • github.com/prometheus/client_golang: v1.15.0 → v1.16.0
  • github.com/prometheus/client_model: v0.3.0 → v0.4.0
  • github.com/prometheus/common: v0.42.0 → v0.44.0
  • github.com/prometheus/procfs: v0.9.0 → v0.10.1
  • github.com/rogpeppe/go-internal: v1.10.0 → ec11942
  • github.com/safchain/ethtool: v0.2.0 → v0.3.0
  • github.com/stretchr/testify: v1.8.1 → v1.8.2
  • github.com/vishvananda/netns: 2eb08e3 → v0.0.4
  • go.etcd.io/bbolt: v1.3.6 → v1.3.7
  • go.etcd.io/etcd/api/v3: v3.5.7 → v3.5.9
  • go.etcd.io/etcd/client/pkg/v3: v3.5.7 → v3.5.9
  • go.etcd.io/etcd/client/v2: v2.305.7 → v2.305.9
  • go.etcd.io/etcd/client/v3: v3.5.7 → v3.5.9
  • go.etcd.io/etcd/pkg/v3: v3.5.7 → v3.5.9
  • go.etcd.io/etcd/raft/v3: v3.5.7 → v3.5.9
  • go.etcd.io/etcd/server/v3: v3.5.7 → v3.5.9
  • go.opencensus.io: v0.22.4 → v0.24.0
  • go.uber.org/atomic: v1.7.0 → v1.11.0
  • go.uber.org/multierr: v1.6.0 → v1.11.0
  • go.uber.org/zap: v1.19.0 → v1.25.0
  • golang.org/x/crypto: v0.1.0 → v0.12.0
  • golang.org/x/exp: 2e198f4 → 89c5cff
  • golang.org/x/mod: v0.9.0 → v0.12.0
  • golang.org/x/net: v0.8.0 → v0.14.0
  • golang.org/x/oauth2: v0.5.0 → v0.11.0
  • golang.org/x/sync: v0.2.0 → v0.3.0
  • golang.org/x/sys: v0.8.0 → v0.11.0
  • golang.org/x/term: v0.8.0 → v0.11.0
  • golang.org/x/text: v0.9.0 → v0.12.0
  • golang.org/x/time: v0.2.0 → v0.3.0
  • golang.org/x/tools: v0.7.0 → v0.12.0
  • google.golang.org/genproto: daa745c → 0005af6
  • google.golang.org/protobuf: v1.30.0 → v1.31.0
  • gopkg.in/natefinch/lumberjack.v2: v2.0.0 → v2.2.1
  • k8s.io/api: v0.27.1 → v0.28.0
  • k8s.io/apimachinery: v0.27.1 → v0.28.0
  • k8s.io/apiserver: v0.27.1 → v0.28.0
  • k8s.io/client-go: v0.27.1 → v0.28.0
  • k8s.io/code-generator: v0.27.1 → v0.28.0
  • k8s.io/component-base: v0.27.1 → v0.28.0
  • k8s.io/cri-api: v0.27.1 → v0.28.0
  • k8s.io/klog/v2: v2.90.1 → v2.100.1
  • k8s.io/kms: v0.27.1 → v0.28.0
  • k8s.io/kube-openapi: 15aac26 → 2695361
  • k8s.io/utils: a36077c → 3b25d92
  • sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.1.1 → v0.1.2

Removed

Read more

v0.3.0

20 Jun 08:26
0dfb4bd
Compare
Choose a tag to compare

Changes by Kind

API Change

  • [Breaking] Make KwokBinaryPrefix consistent with the rest in KwokConfiguration (#534, @wzshiming)

Feature

  • kwok
  • kwokctl
    • Container startup no longer depend on *-compose, setting env KWOK_CONTAINER_SELF_COMPOSE=false can rollback to using *-compose. (#607, @wzshiming)
    • Add export logs command for kwokctl (#630, @Zhuzhenghao)
    • Add kind-podman as the kwoctkl runtime (#574, @wzshiming)
    • Add podman as the kwokctl runtime (#570, @wzshiming)
    • Add the kubeApiserverCertSANs field to the KwokctlConfiguration to add a SAN when creating the cluster. (#636, @forgocode)
    • Enable admission and authorization by default (#606, @Zhuzhenghao)
    • Introduce flags --page-size and --page-buffer-size for kowkctl snapshot export. (#619, @AhmedGrati)
    • Add flag --disable-qps-limits (#625, @Zhuzhenghao)
    • Warn when cluster and kwokctl versions are not equal (#639, @wzshiming)
    • support all feature-gates (#615, @JarHMJ)
    • kwokctl get kubeconfig Support modifies host, user, group and insecureSkipTLSVerify. (#642, @wzshiming)
  • Automatic generation of API docs (#641, @wzshiming)

Bug or Regression

Other (Cleanup or Flake)

  • Add the -alpha suffix to the version installed with go install. (#544, @wzshiming)

Dependencies

Added

  • cloud.google.com/go
  • github.com/ahmetb/gen-crd-api-reference-docs: v0.3.0
  • github.com/antlr/antlr4/runtime/Go/antlr/v4: 5d1fd1a
  • github.com/frankban/quicktest: v1.14.4
  • github.com/google/renameio/v2: v2.0.0
  • github.com/pkg/diff: 20ebb0f
  • github.com/shurcooL/sanitized_anchor_name: v1.0.0
  • github.com/wzshiming/easycel: v0.4.0
  • k8s.io/klog: v0.2.0
  • mvdan.cc/editorconfig: v0.2.0
  • mvdan.cc/sh/v3: v3.6.0

Changed

Removed

  • github.com/antihax/optional: v1.0.0
  • github.com/ghodss/yaml: v1.0.0
  • github.com/rogpeppe/fastuuid: v1.2.0

Images

kwok

  • registry.k8s.io/kwok/kwok:v0.3.0

cluster

  • registry.k8s.io/kwok/cluster:{tag}
    • v0.3.0-k8s.v1.27.3
    • v0.3.0-k8s.v1.26.6
    • v0.3.0-k8s.v1.25.11
    • v0.3.0-k8s.v1.24.15
    • v0.3.0-k8s.v1.23.17
    • v0.3.0-k8s.v1.22.17

Contributors

Thank you to everyone who contributed to this release! ❤️

Users whose commits are in this release (alphabetically by user name)

Contributors since v0.2.0:

And thank you very much to everyone else not listed here who contributed in other ways like filing issues, giving feedback, etc. 🙏

Full Changelog: v0.2.0...v0.3.0

v0.2.1

07 Jun 02:46
d5fd978
Compare
Choose a tag to compare

This is the last version of release 0.2

What's Changed

  • Automated cherry pick of #542: Fix error template value for node-fast.yaml in #543
  • Automated cherry pick of #551: Fix hugo version check in #552
  • Automated cherry pick of #549: Suppress downloading binaries when --disable-kube* is in #550
  • Automated cherry pick of #569: Fix snapshot on kind runtime in #571
  • Automated cherry pick of #583: Fix duplicate loading of default configuration in #586

For full release notes please see v0.2.0

Full Changelog: v0.2.0...v0.2.1

v0.2.0

20 Apr 06:57
1dcfb0e
Compare
Choose a tag to compare

What's Changed

This release focuses on improving the simulation of Pod-related operations, as well as some bug fixes, and code cleanup.

Full Changelog: v0.1.0...v0.2.0

Breaking Changes

  • Default version of Go has been updated to v1.20
  • [kwokctl] Default version of Kubernetes has been updated to v1.27.1
  • [kwokctl] Default version of Etcd has been updated to v3.5.7
  • [kwokctl] Default version of Prometheus has been updated to v2.43.0
  • [kwokctl] Default version of Docker-compose has been updated to v2.17.2
  • [kwokctl] Default version of Kind has been updated to v0.18.0
  • [kwokctl] Update current-context after cluster create/deletion
  • [kwokctl] Treat the unknown version as the latest
  • [kwokctl] Default heartbeat interval extension
  • [kwok] If the Node does not have a version, it will default to kwok-${version} instead of fake

API Changes

  • New API
    • Exec and ClusterExec for exec command in container
    • Logs and ClusterLogs for get logs of container
    • Attach and ClusterAttach for attach in container
    • PortForward and ClusterPortForward for port forward to pod
  • Stage
    • Add ImmediateNextStage for immediate match next stage
  • KwokctlConfiguration
    • Add ExtraVolumes for add extra volumes to components
    • Add ExtraArgs for add extra args to components
    • Supports configuration of node heartbeat
  • Use new apiGroup (config.kwok.x-k8s.io) for KwokctlConfiguration and KwokConfiguration

Tools Changes

  • Common
    • Support parse string for flag -v
  • kwok
    • Fix some conditions not updating
    • Respect HostNetwork of Pod
    • Respect PodCIDR of Node
  • kwokctl
    • Allow clusters to be created without setting kubeconfig
    • Add --kube-admission for enable admission plugins
    • Automatically detect runtime in order: docker, nerdctl, binary
    • Support k8s format for snapshot
    • Support port exposure
      • --controller-port
      • --etcd-port
      • --kube-scheduler-port
      • --kube-controller-manager-port

Fixed Bug

  • #250: Fix pprof
  • #275: Avoid clearing empty finalizers
  • #277: Fix default stages name
  • #276: Uniform "not found" output
  • #294: Fixes CVE-2022-41723/GHSA-vvpx-j8f3-3w6h: Bump golang.org/x/net from 0.4.0 to 0.7.0
  • #344: config: ignore empty documents while loading
  • #347: initialize nodeSelectorFunc when
  • #360: check error
  • #400: Fixes node not initialized
  • #409: Fix node controller accidental exit
  • #440: Fix featureGates and runtimeConfig on kind runtime
  • #475: fix get port used

Images

kwok

  • registry.k8s.io/kwok/kwok:v0.2.0

cluster

  • registry.k8s.io/kwok/cluster:{tag}
    • v0.2.0-k8s.v1.27.1
    • v0.2.0-k8s.v1.26.3
    • v0.2.0-k8s.v1.25.8
    • v0.2.0-k8s.v1.24.12
    • v0.2.0-k8s.v1.23.17
    • v0.2.0-k8s.v1.22.17

Contributors

Thank you to everyone who contributed to this release! ❤️

Users whose commits are in this release (alphabetically by user name)

And thank you very much to everyone else not listed here who contributed in other ways like filing issues, giving feedback, etc. 🙏

v0.1.2

20 Apr 05:19
14e60ad
Compare
Choose a tag to compare

This is the last version of release 0.1

What's Changed

  • Automated cherry pick of #400: Fixes node not initialized in #402
  • Automated cherry pick of #409: Fix node controller accidental exit in #410
  • Automated cherry pick of #440: Fix featureGates and runtimeConfig on kind runtime in #441
  • Automated cherry pick of #475: fix get port used in #479

For full release notes please see v0.1.1

Full Changelog: v0.1.1...v0.1.2

v0.1.1

17 Mar 02:20
3f11a3c
Compare
Choose a tag to compare

What's Changed

  • Automated cherry pick of #266: Update benchmark in #281
  • Automated cherry pick of #250: Fix pprof in #278
  • Automated cherry pick of #275: Avoid clearing empty finalizers in #279
  • Automated cherry pick of #277: Fix default stages name in #280
  • Automated cherry pick of #276: Uniform "not found" output in #282
  • Cherry pick of #294: Bump golang.org/x/net from 0.4.0 to 0.7.0 in #297
  • Automated cherry pick of #344: config: ignore empty documents while loading in #345
  • Automated cherry pick of #347: initialize nodeSelectorFunc when in #348
  • Automated cherry pick of #360: check error in #362

Since v0.1.0 only some bugs and golang.org/x/net CVE have been fixed

Fixes CVE-2022-41723/GHSA-vvpx-j8f3-3w6h

For full release notes please see v0.1.0

Full Changelog: v0.1.0...v0.1.1

v0.1.0

16 Jan 03:01
840110b
Compare
Choose a tag to compare

What's Changed

This version has many changes and is still largely compatible with v0.0.1,
but it is best to recreate the old cluster to avoid unexpected failures.

Full Changelog: v0.0.1...v0.1.0

Breaking Changes

  • Default version of Kubernetes has been updated to v1.26.0
  • Default version of Prometheus has been updated to v2.41.0
  • Prefer to use the existing kubectl instead of downloading it
  • The default secure port is enabled by default for Apiserver greater than v1.12, previously it was v1.18
  • Cluster's information kwok.yaml has changed significantly
  • If the Pod is created by a Job, it will become completed

New Features

  • Common
    • Add website and logo
    • Add shutdown mechanism on SIGTERM+INT
    • Structured logging
    • Add --version flag to print version information
    • Add --config flag to specify config file to set default values
    • Provide all-in-one cluster images
  • Kwok
    • Support Pod/Node lifecycle simulation with Stage
    • Add --experimental-enable-cni flag to experimentally support managing IP addresses with CNI on Linux.
    • Add Kubelet services stubs, e.g. using kubectl logs will return TODO messages instead of errors.
  • Kwokctl
    • Add --kube-authorization flag to support enabling kube authorization
    • Add --kube-scheduler-config flag to support passing kube scheduler config
    • Add --disable-kube-scheduler flag to support disabling kube scheduler
    • Add --disable-kube-controller-manager flag to support disabling kube controller manager
    • Add subcommand etcdctl to run the command in the etcd container
    • Add subcommand start and stop to start and stop a cluster
    • Download docker-compose, kind, etcdctl binary automatically

Images

kwok

  • registry.k8s.io/kwok/kwok:v0.1.0

cluster

  • registry.k8s.io/kwok/cluster:{tag}
    • v1.26 & v1.26.0 & v0.1.0-k8s.v1.26.0
    • v1.25 & v1.25.3 & v0.1.0-k8s.v1.25.3
    • v1.24 & v1.24.7 & v0.1.0-k8s.v1.24.7
    • v1.23 & v1.23.13 & v0.1.0-k8s.v1.23.13
    • v1.22 & v1.22.15 & v0.1.0-k8s.v1.22.15
    • v1.21 & v1.21.14 & v0.1.0-k8s.v1.21.14

Contributors

Thank you to everyone who contributed to this release! ❤️

Users whose commits are in this release (alphabetically by user name)

And thank you very much to everyone else not listed here who contributed in other ways like filing issues,
giving feedback, testing fixes, etc. 🙏