Proposal: API desired state / current state cleanup #1200
Labels
area/api
Indicates an issue on api area.
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
kind/design
Categorizes issue or PR as related to design.
Splitting off from #1178.
@smarterclayton For the API overhaul. @dchen1107 may also be interested.
Goals:
Currently, our API objects contain:
In JSONBase, only ID is explicitly provided by the client and only ResourceVersion is mutable.
In Pod, DesiredState and CurrentState use the same schema, mixing input and output fields (Manifest, RestartPolicy, Host, HostIP, PodIP, Info).
Service lacks DesiredState and CurrentState.
ReplicationController lacks CurrentState (though that may change with #736).
Proposals:
The text was updated successfully, but these errors were encountered: