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
