apiVersion: apps/v1
kind: ReplicaSet
metadata:
  annotations:
    deployment.kubernetes.io/desired-replicas: "1"
    deployment.kubernetes.io/max-replicas: "2"
    deployment.kubernetes.io/revision: "18"
  creationTimestamp: "2026-04-02T14:04:31Z"
  generation: 1
  labels:
    pod-template-hash: 8c6f6df99
    service: dnsmasq
  name: dnsmasq-dns-8c6f6df99
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: Deployment
    name: dnsmasq-dns
    uid: 237c7d86-fa6d-4724-b2a7-3812eff4900d
  resourceVersion: "49878"
  uid: 4a6d436c-6670-4092-889f-86b526ae794d
spec:
  replicas: 1
  selector:
    matchLabels:
      pod-template-hash: 8c6f6df99
      service: dnsmasq
  template:
    metadata:
      creationTimestamp: null
      labels:
        pod-template-hash: 8c6f6df99
        service: dnsmasq
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: service
                  operator: In
                  values:
                  - dnsmasq
              topologyKey: kubernetes.io/hostname
            weight: 100
      containers:
      - args:
        - -c
        - dnsmasq --interface=* --conf-dir=/etc/dnsmasq.d --hostsdir=/etc/dnsmasq.d/hosts
          --keep-in-foreground --log-debug --bind-interfaces --listen-address=$(POD_IP)
          --port 5353 --log-facility=- --no-hosts --domain-needed --no-resolv --bogus-priv
          --log-queries
        command:
        - /bin/bash
        env:
        - name: CONFIG_HASH
          value: nf5hd6h688h7ch5c9h54h5b4h58fh59ch56ch64h57ch5hf7hd4h64dhdh598h5fbh69hch674h557h5f4h654h58fh5c4h586h78h5dhbdh57cq
        - name: POD_IP
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: status.podIP
        image: quay.io/podified-antelope-centos9/openstack-neutron-server:current-podified
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 3
          initialDelaySeconds: 3
          periodSeconds: 3
          successThreshold: 1
          tcpSocket:
            port: 5353
          timeoutSeconds: 5
        name: dnsmasq-dns
        readinessProbe:
          failureThreshold: 3
          initialDelaySeconds: 5
          periodSeconds: 5
          successThreshold: 1
          tcpSocket:
            port: 5353
          timeoutSeconds: 5
        resources: {}
        securityContext:
          allowPrivilegeEscalation: false
          runAsNonRoot: true
          seccompProfile:
            type: RuntimeDefault
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /etc/dnsmasq.d/config.cfg
          name: config
          readOnly: true
          subPath: dns
        - mountPath: /etc/dnsmasq.d/hosts/dns-svc
          name: dns-svc
          readOnly: true
          subPath: dns-svc
        - mountPath: /etc/dnsmasq.d/hosts/dns-swift-storage-0
          name: dns-swift-storage-0
          readOnly: true
          subPath: dns-swift-storage-0
        - mountPath: /etc/dnsmasq.d/hosts/openstack-edpm-ipam
          name: openstack-edpm-ipam
          readOnly: true
          subPath: openstack-edpm-ipam
        - mountPath: /etc/dnsmasq.d/hosts/ovsdbserver-nb
          name: ovsdbserver-nb
          readOnly: true
          subPath: ovsdbserver-nb
        - mountPath: /etc/dnsmasq.d/hosts/ovsdbserver-sb
          name: ovsdbserver-sb
          readOnly: true
          subPath: ovsdbserver-sb
      dnsPolicy: ClusterFirst
      initContainers:
      - args:
        - -c
        - dnsmasq --interface=* --conf-dir=/etc/dnsmasq.d --hostsdir=/etc/dnsmasq.d/hosts
          --keep-in-foreground --log-debug --bind-interfaces --listen-address=$(POD_IP)
          --port 5353 --log-facility=- --no-hosts --domain-needed --no-resolv --bogus-priv
          --log-queries --test
        command:
        - /bin/bash
        env:
        - name: CONFIG_HASH
          value: nf5hd6h688h7ch5c9h54h5b4h58fh59ch56ch64h57ch5hf7hd4h64dhdh598h5fbh69hch674h557h5f4h654h58fh5c4h586h78h5dhbdh57cq
        - name: POD_IP
          valueFrom:
            fieldRef:
              apiVersion: v1
              fieldPath: status.podIP
        image: quay.io/podified-antelope-centos9/openstack-neutron-server:current-podified
        imagePullPolicy: IfNotPresent
        name: init
        resources: {}
        securityContext:
          allowPrivilegeEscalation: false
          runAsNonRoot: true
          seccompProfile:
            type: RuntimeDefault
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /etc/dnsmasq.d/config.cfg
          name: config
          readOnly: true
          subPath: dns
        - mountPath: /etc/dnsmasq.d/hosts/dns-svc
          name: dns-svc
          readOnly: true
          subPath: dns-svc
        - mountPath: /etc/dnsmasq.d/hosts/dns-swift-storage-0
          name: dns-swift-storage-0
          readOnly: true
          subPath: dns-swift-storage-0
        - mountPath: /etc/dnsmasq.d/hosts/openstack-edpm-ipam
          name: openstack-edpm-ipam
          readOnly: true
          subPath: openstack-edpm-ipam
        - mountPath: /etc/dnsmasq.d/hosts/ovsdbserver-nb
          name: ovsdbserver-nb
          readOnly: true
          subPath: ovsdbserver-nb
        - mountPath: /etc/dnsmasq.d/hosts/ovsdbserver-sb
          name: ovsdbserver-sb
          readOnly: true
          subPath: ovsdbserver-sb
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: dnsmasq-dns
      serviceAccountName: dnsmasq-dns
      terminationGracePeriodSeconds: 10
      volumes:
      - configMap:
          defaultMode: 420
          name: dns
        name: config
      - configMap:
          defaultMode: 420
          name: dns-svc
        name: dns-svc
      - configMap:
          defaultMode: 420
          name: dns-swift-storage-0
        name: dns-swift-storage-0
      - configMap:
          defaultMode: 420
          name: openstack-edpm-ipam
        name: openstack-edpm-ipam
      - configMap:
          defaultMode: 420
          name: ovsdbserver-nb
        name: ovsdbserver-nb
      - configMap:
          defaultMode: 420
          name: ovsdbserver-sb
        name: ovsdbserver-sb
status:
  availableReplicas: 1
  fullyLabeledReplicas: 1
  observedGeneration: 1
  readyReplicas: 1
  replicas: 1
