Skip to content

Implement Default Resource Interpreter for Kubernetes ReplicaSet #6794

@RainbowMango

Description

@RainbowMango

What would you like to be added:
This task involves implementing the default resource interpreter for the native Kubernetes ​​ReplicaSet​​ resource within the Karmada control plane. The interpreter will enable Karmada to understand ReplicaSet-specific semantics for multi-cluster propagation, including replica calculation, status aggregation, and health assessment.

Why is this needed:

Karmada's Resource Interpreter is responsible for interpreting custom resources' behaviors
. For native Kubernetes resources like ReplicaSet, Karmada requires built-in rules to properly handle operations such as replica scheduling across member clusters and status aggregation back to the control plane
. The ReplicaSet interpreter will ensure Karmada can manage ReplicaSet resources as effectively as it handles other native workloads like Deployment.

Interfaces to Implement
Flowing ResourceInterpreter interfaces need to be implemented:

  • GetReplicas
  • ReviseReplica
  • GetDependencies
  • ReflectStatus
  • InterpretHealth
  • AggregateStatus

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions