RATATOSK
← All releases

KubeEdgev1.21.1

Breaking changes 3Important fixes 6Enhancements 1Other changes 3

Get KubeEdge alerts

Email is sent weekly only when there are changes to check; critical security advisories are sent immediately.

Breaking changes3

MySQL ReportCycle now uses millisecond units

Affectsmapper-framework setups using the MySQL database method and ReportCycle(Inferred)

Previously, the MySQL handler converted ReportCycle directly to time.Duration without applying a time unit.

Evidence“+ reportCycle := time.Millisecond * time.Duration(twin.Property.ReportCycle)” kubeedge/kubeedge/pull/6578 ↗
Show release-note lines
- Fix data push operation in mapper-framework. ([#6578](https://github.com/kubeedge/kubeedge/pull/6578), [@aAAaqwq](https://github.com/aAAaqwq))
github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md

Redis sorted-set members now store JSON-marshaled data

AffectsRedis sorted-set members written by the mapper-framework Redis database method(Inferred)

Previously, members were formatted strings containing TimeStamp, PropertyName, and data.Value; they now contain the JSON-marshaled data object, while the sorted-set score remains based on data.TimeStamp.

Evidence“- deviceData := "TimeStamp: " + strconv.FormatInt(data.TimeStamp, 10) + " PropertyName: " + data.PropertyName + " data: " + data.Value” kubeedge/kubeedge/pull/6578 ↗
Show release-note lines
- Fix data push operation in mapper-framework. ([#6578](https://github.com/kubeedge/kubeedge/pull/6578), [@aAAaqwq](https://github.com/aAAaqwq))
github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md

Mapper-framework MQTT configuration now uses the mqtt JSON key

Affectsmapper-framework setups configuring the MQTT publish method through JSON(Inferred)

Previously, the MQTT configuration field used the http JSON key.

Evidence“- MQTT *MQTTConfig `json:"http"`” kubeedge/kubeedge/pull/6578 ↗
Show release-note lines
- Fix data push operation in mapper-framework. ([#6578](https://github.com/kubeedge/kubeedge/pull/6578), [@aAAaqwq](https://github.com/aAAaqwq))
github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md

Important fixes6

  • PolicyManager reconciliation uses non-cached reads
    Affectscloud PolicyManager policy reconciliation(Inferred)

    When recently created Pods were not visible to cached reads, PolicyManager could make wrong reconciliation decisions and skip send2Edge() for some nodes. Reconciliation lookups now use the non-cached reader.

    - Fix policyManager reconciliation with non-cached reader. ([#6558](https://github.com/kubeedge/kubeedge/pull/6558), [@mkhon](https://github.com/mkhon))
    github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md
  • PolicyManager Pod update reconciliation fixed
    AffectsPolicyManager setups with matching Pods

    DaemonSet Pods were initially created without .Spec.NodeName and filtered out, then their updates did not trigger reconciliation. Now an update to a matching Pod can trigger reconciliation after its initial creation was filtered out.

    - Fix policyManager reconciliation with non-cached reader. ([#6558](https://github.com/kubeedge/kubeedge/pull/6558), [@mkhon](https://github.com/mkhon))
    github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md
  • MetaServer Leases kind conversion fixed
    Affectssetups where MetaServer handles Leases resources or kinds(Inferred)

    When MetaServer parsed Leases, it produced Leas instead of Leases. The conversion now maps leases to Leases and Leases to leases.

    - Fix Leases being parsed as Leas in MetaServer. ([#6567](https://github.com/kubeedge/kubeedge/pull/6567), [@brinker-tbaker](https://github.com/brinker-tbaker))
    github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md
  • keadm reset container removal fixed
    Affectsedge resets using keadm reset to remove KubeEdge-managed containers(Inferred)

    On edge resets, containers were not removed when the reset flow missed connecting to the container runtime first. The utility now connects before listing Kube containers and returns an error if that connection fails.

    - Fix keadm reset edge failed to remove containers for containerRuntime.Connect missed. ([#6575](https://github.com/kubeedge/kubeedge/pull/6575), [@will4j](https://github.com/will4j))
    github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md
  • Mapper-framework MQTT publisher no longer exits on broker connection errors
    Affectsmapper-framework setups using the MQTT publisher

    Previously, a failed broker connection printed the error and terminated the process. Now the error is logged and Push returns without exiting the process.

    - Fix data push operation in mapper-framework. ([#6578](https://github.com/kubeedge/kubeedge/pull/6578), [@aAAaqwq](https://github.com/aAAaqwq))
    github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md
  • Mapper-framework OpenTelemetry device-data type assertion replaced
    AffectsMapper-framework setups using the OpenTelemetry data handler and supplying device data to it(Inferred)

    Previously, the handler passed data to ObserveFloat64 through a direct float64 type assertion. It now converts data to a string, parses it as float64, and observes the parsed value; conversion or parsing failures return errors.

    - Fix data push operation in mapper-framework. ([#6578](https://github.com/kubeedge/kubeedge/pull/6578), [@aAAaqwq](https://github.com/aAAaqwq))
    github.com/kubeedge/kubeedge/blob/master/CHANGELOG/CHANGELOG-1.21.md

Enhancements1

Other changes3

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.