Check replica counts, image-cache DaemonSets, and workspace startup time so that you can confirm optimization changes are working.
Procedure
- Verify that OpenShift Dev Spaces server components are running with the expected replica count:
$ oc get deployment -n openshift-devspaces \
-o custom-columns='NAME:.metadata.name,REPLICAS:.spec.replicas,AVAILABLE:.status.availableReplicas'
All components should show the configured number of replicas in the AVAILABLE column.
- If you enabled the Kubernetes Image Puller, verify that the DaemonSet is running on all schedulable nodes:
$ oc get daemonset -n openshift-devspaces -l app=kubernetes-image-puller
The DESIRED and READY columns should show the same number, matching your schedulable node count.
- Verify that the pre-cached images are present on a node by checking the DaemonSet pod logs:
$ oc logs -n openshift-devspaces -l app=kubernetes-image-puller --tail=5
- Start a workspace and observe the startup time. With image pre-caching enabled, workspaces on nodes that have the DaemonSet pod should start within 30 seconds.
- Verify overall platform health:
$ oc get pods -n openshift-devspaces -o custom-columns='NAME:.metadata.name,READY:.status.containerStatuses[*].ready,STATUS:.status.phase'
All pods should show Running status with all containers ready.