---
apiVersion: apps/v1
items:
- apiVersion: apps/v1
  kind: DaemonSet
  metadata:
    annotations:
      deprecated.daemonset.template.generation: "1"
    creationTimestamp: "2025-10-27T12:41:21Z"
    generation: 1
    labels:
      app: kubernetes-nmstate
      component: kubernetes-nmstate-handler
    managedFields:
    - apiVersion: apps/v1
      fieldsType: FieldsV1
      fieldsV1:
        f:status:
          f:currentNumberScheduled: {}
          f:desiredNumberScheduled: {}
          f:numberAvailable: {}
          f:numberReady: {}
          f:observedGeneration: {}
          f:updatedNumberScheduled: {}
      manager: kube-controller-manager
      operation: Update
      subresource: status
      time: "2025-10-27T12:41:44Z"
    - apiVersion: apps/v1
      fieldsType: FieldsV1
      fieldsV1:
        f:metadata:
          f:annotations:
            .: {}
            f:deprecated.daemonset.template.generation: {}
          f:labels:
            .: {}
            f:app: {}
            f:component: {}
          f:ownerReferences:
            .: {}
            k:{"uid":"c449c622-896c-406e-8487-20bb9b129f67"}: {}
        f:spec:
          f:revisionHistoryLimit: {}
          f:selector: {}
          f:template:
            f:metadata:
              f:annotations:
                .: {}
                f:description: {}
                f:target.workload.openshift.io/management: {}
              f:labels:
                .: {}
                f:app: {}
                f:component: {}
                f:name: {}
            f:spec:
              f:affinity: {}
              f:containers:
                k:{"name":"nmstate-handler"}:
                  .: {}
                  f:args: {}
                  f:command: {}
                  f:env:
                    .: {}
                    k:{"name":"COMPONENT"}:
                      .: {}
                      f:name: {}
                      f:valueFrom:
                        .: {}
                        f:fieldRef: {}
                    k:{"name":"ENABLE_PROFILER"}:
                      .: {}
                      f:name: {}
                      f:value: {}
                    k:{"name":"MANAGED_BY"}:
                      .: {}
                      f:name: {}
                      f:valueFrom:
                        .: {}
                        f:fieldRef: {}
                    k:{"name":"NMSTATE_INSTANCE_NODE_LOCK_FILE"}:
                      .: {}
                      f:name: {}
                      f:value: {}
                    k:{"name":"NODE_NAME"}:
                      .: {}
                      f:name: {}
                      f:valueFrom:
                        .: {}
                        f:fieldRef: {}
                    k:{"name":"OPERATOR_NAME"}:
                      .: {}
                      f:name: {}
                      f:value: {}
                    k:{"name":"PART_OF"}:
                      .: {}
                      f:name: {}
                      f:valueFrom:
                        .: {}
                        f:fieldRef: {}
                    k:{"name":"POD_NAME"}:
                      .: {}
                      f:name: {}
                      f:valueFrom:
                        .: {}
                        f:fieldRef: {}
                    k:{"name":"PROBE_DNS_HOST"}:
                      .: {}
                      f:name: {}
                      f:value: {}
                    k:{"name":"PROFILER_PORT"}:
                      .: {}
                      f:name: {}
                      f:value: {}
                    k:{"name":"VERSION"}:
                      .: {}
                      f:name: {}
                      f:valueFrom:
                        .: {}
                        f:fieldRef: {}
                    k:{"name":"WATCH_NAMESPACE"}:
                      .: {}
                      f:name: {}
                  f:image: {}
                  f:imagePullPolicy: {}
                  f:livenessProbe:
                    .: {}
                    f:exec:
                      .: {}
                      f:command: {}
                    f:failureThreshold: {}
                    f:initialDelaySeconds: {}
                    f:periodSeconds: {}
                    f:successThreshold: {}
                    f:timeoutSeconds: {}
                  f:name: {}
                  f:readinessProbe:
                    .: {}
                    f:exec:
                      .: {}
                      f:command: {}
                    f:failureThreshold: {}
                    f:initialDelaySeconds: {}
                    f:periodSeconds: {}
                    f:successThreshold: {}
                    f:timeoutSeconds: {}
                  f:resources:
                    .: {}
                    f:limits:
                      .: {}
                      f:cpu: {}
                      f:memory: {}
                    f:requests:
                      .: {}
                      f:cpu: {}
                      f:memory: {}
                  f:securityContext:
                    .: {}
                    f:privileged: {}
                  f:terminationMessagePath: {}
                  f:terminationMessagePolicy: {}
                  f:volumeMounts:
                    .: {}
                    k:{"mountPath":"/run/dbus/system_bus_socket"}:
                      .: {}
                      f:mountPath: {}
                      f:name: {}
                    k:{"mountPath":"/run/openvswitch"}:
                      .: {}
                      f:mountPath: {}
                      f:name: {}
                    k:{"mountPath":"/var/k8s_nmstate"}:
                      .: {}
                      f:mountPath: {}
                      f:name: {}
              f:dnsPolicy: {}
              f:hostNetwork: {}
              f:nodeSelector: {}
              f:priorityClassName: {}
              f:restartPolicy: {}
              f:schedulerName: {}
              f:securityContext: {}
              f:serviceAccount: {}
              f:serviceAccountName: {}
              f:terminationGracePeriodSeconds: {}
              f:tolerations: {}
              f:volumes:
                .: {}
                k:{"name":"dbus-socket"}:
                  .: {}
                  f:hostPath:
                    .: {}
                    f:path: {}
                    f:type: {}
                  f:name: {}
                k:{"name":"nmstate-lock"}:
                  .: {}
                  f:hostPath:
                    .: {}
                    f:path: {}
                    f:type: {}
                  f:name: {}
                k:{"name":"ovs-socket"}:
                  .: {}
                  f:hostPath:
                    .: {}
                    f:path: {}
                    f:type: {}
                  f:name: {}
          f:updateStrategy:
            f:rollingUpdate:
              .: {}
              f:maxSurge: {}
              f:maxUnavailable: {}
            f:type: {}
      manager: manager
      operation: Update
      time: "2025-10-27T12:48:22Z"
    name: nmstate-handler
    namespace: openshift-nmstate
    ownerReferences:
    - apiVersion: nmstate.io/v1
      blockOwnerDeletion: true
      controller: true
      kind: NMState
      name: nmstate
      uid: c449c622-896c-406e-8487-20bb9b129f67
    resourceVersion: "65010"
    uid: ded5b53e-f971-4e3e-9cab-268ea1560b09
  spec:
    revisionHistoryLimit: 10
    selector:
      matchLabels:
        name: nmstate-handler
    template:
      metadata:
        annotations:
          description: kubernetes-nmstate-handler configures and presents node networking,
            reconciling declerative NNCP and reports with NNS and NNCE
          target.workload.openshift.io/management: |
            {"effect": "PreferredDuringScheduling"}
        creationTimestamp: null
        labels:
          app: kubernetes-nmstate
          component: kubernetes-nmstate-handler
          name: nmstate-handler
      spec:
        affinity: {}
        containers:
        - args:
          - --zap-time-encoding=iso8601
          command:
          - manager
          env:
          - name: WATCH_NAMESPACE
          - name: POD_NAME
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: metadata.name
          - name: COMPONENT
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: metadata.labels['app.kubernetes.io/component']
          - name: PART_OF
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: metadata.labels['app.kubernetes.io/part-of']
          - name: VERSION
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: metadata.labels['app.kubernetes.io/version']
          - name: MANAGED_BY
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: metadata.labels['app.kubernetes.io/managed-by']
          - name: OPERATOR_NAME
            value: nmstate
          - name: NODE_NAME
            valueFrom:
              fieldRef:
                apiVersion: v1
                fieldPath: spec.nodeName
          - name: ENABLE_PROFILER
            value: "False"
          - name: PROFILER_PORT
            value: "6060"
          - name: NMSTATE_INSTANCE_NODE_LOCK_FILE
            value: /var/k8s_nmstate/handler_lock
          - name: PROBE_DNS_HOST
            value: root-servers.net
          image: registry.redhat.io/openshift4/ose-kubernetes-nmstate-handler-rhel9@sha256:de6880c892c17ae7fa7a564a6383738d65d3f08058afc82b5f987ffe1bcb84cb
          imagePullPolicy: IfNotPresent
          livenessProbe:
            exec:
              command:
              - nmstatectl
              - show
            failureThreshold: 5
            initialDelaySeconds: 60
            periodSeconds: 60
            successThreshold: 1
            timeoutSeconds: 10
          name: nmstate-handler
          readinessProbe:
            exec:
              command:
              - cat
              - /tmp/healthy
            failureThreshold: 3
            initialDelaySeconds: 5
            periodSeconds: 5
            successThreshold: 1
            timeoutSeconds: 1
          resources:
            limits:
              cpu: 500m
              memory: 1Gi
            requests:
              cpu: 100m
              memory: 100Mi
          securityContext:
            privileged: true
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: FallbackToLogsOnError
          volumeMounts:
          - mountPath: /run/dbus/system_bus_socket
            name: dbus-socket
          - mountPath: /var/k8s_nmstate
            name: nmstate-lock
          - mountPath: /run/openvswitch
            name: ovs-socket
        dnsPolicy: Default
        hostNetwork: true
        nodeSelector:
          kubernetes.io/arch: amd64
          kubernetes.io/os: linux
        priorityClassName: system-node-critical
        restartPolicy: Always
        schedulerName: default-scheduler
        securityContext: {}
        serviceAccount: nmstate-handler
        serviceAccountName: nmstate-handler
        terminationGracePeriodSeconds: 30
        tolerations:
        - operator: Exists
        volumes:
        - hostPath:
            path: /run/dbus/system_bus_socket
            type: Socket
          name: dbus-socket
        - hostPath:
            path: /var/k8s_nmstate
            type: ""
          name: nmstate-lock
        - hostPath:
            path: /run/openvswitch
            type: ""
          name: ovs-socket
    updateStrategy:
      rollingUpdate:
        maxSurge: 0
        maxUnavailable: 10%
      type: RollingUpdate
  status:
    currentNumberScheduled: 3
    desiredNumberScheduled: 3
    numberAvailable: 3
    numberMisscheduled: 0
    numberReady: 3
    observedGeneration: 1
    updatedNumberScheduled: 3
kind: DaemonSetList
metadata:
  resourceVersion: "2220165"
