argo-cd/resource_customizations/apps.kruise.io/DaemonSet/testdata/no-update-strategy-partition.yaml
Jingchao f980187f17
fix: openkruise health check npe error #19545 (#19660)
* test: add broken unit test data

Signed-off-by: Jingchao <alswlx@gmail.com>

* fix: npe error in kruise ds health-check

Signed-off-by: Jingchao <alswlx@gmail.com>

---------

Signed-off-by: Jingchao <alswlx@gmail.com>
2024-09-11 15:32:37 -07:00

34 lines
775 B
YAML

apiVersion: apps.kruise.io/v1alpha1
kind: DaemonSet
metadata:
name: rdma-device-plugin
namespace: nvidia-gpu
generation: 2
spec:
selector:
matchLabels:
app-name: rdma-device-plugin-pod
template:
metadata:
labels:
app-name: rdma-device-plugin-pod
spec:
containers:
image: 'my-k8s-rdmaplugin'
imagePullPolicy: IfNotPresent
name: k8s-rdma-device-plugin
hostNetwork: true
updateStrategy:
rollingUpdate:
maxSurge: 0
maxUnavailable: 50
rollingUpdateType: Standard
type: RollingUpdate
status:
currentNumberScheduled: 0
daemonSetHash: 5998d4d4d7
desiredNumberScheduled: 0
numberMisscheduled: 0
numberReady: 0
observedGeneration: 2
updatedNumberScheduled: 0