podman-desktop icon indicating copy to clipboard operation
podman-desktop copied to clipboard

Kubernetes: Add ReplicaSet support (unsure?)

Open cdrage opened this issue 10 months ago • 4 comments

Is your enhancement related to a problem? Please describe

Part of: https://github.com/podman-desktop/podman-desktop/issues/7192

ReplicaSet's are deployed by Deployments and managed by them. Deployment's are an abstraction of ReplicaSet.

However, we cover all of the functionality of ReplicaSet within Deployment.

Describe the solution you'd like

Unsure if we should support this or not to be honest and open for discussion!

Describe alternatives you've considered

No response

Additional context

No response

cdrage avatar Feb 12 '25 14:02 cdrage

Not sure either. ReplicaSet is a kind of implement details of Deployments, I'm not completely sure we want to display them as a normal resource. But I think it would be nice to integrate them nicely in the Deployments details (displaying events of ReplicaSet in the related Deployment's page, etc).

feloy avatar Feb 12 '25 14:02 feloy

The event logging implemented as part of https://github.com/podman-desktop/podman-desktop/pull/9657 seem to display some basic information about scaling replicaset up/down in the Events section. Additional event log for replicaset would look like this

Image

Seems the output could be a bit noisy so I think it would make sense to separate it from the general event logging either by setting a log level or having a separate section. I think just logging it could be a good starting point instead of a more robust ReplicaSet management

jiridostal avatar Jun 16 '25 12:06 jiridostal

Another feature related to replicasets which would be interesting to integrate is the rollout feature (it could be added to Deployments/Daemonsets/Statefulsets), see:

% kubectl rollout 
Manage the rollout of one or many resources.
        
 Valid resource types include:

  *  deployments
  *  daemonsets
  *  statefulsets

Examples:
  # Rollback to the previous deployment
  kubectl rollout undo deployment/abc
  
  # Check the rollout status of a daemonset
  kubectl rollout status daemonset/foo
  
  # Restart a deployment
  kubectl rollout restart deployment/abc
  
  # Restart deployments with the 'app=nginx' label
  kubectl rollout restart deployment --selector=app=nginx

Available Commands:
  history       View rollout history
  pause         Mark the provided resource as paused
  restart       Restart a resource
  resume        Resume a paused resource
  status        Show the status of the rollout
  undo          Undo a previous rollout

feloy avatar Jun 16 '25 12:06 feloy

This issue has been automatically marked as stale because it has not had activity in the last 6 months. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!

github-actions[bot] avatar Dec 14 '25 00:12 github-actions[bot]