apiVersion: batch/v1
kind: Job
metadata:
  annotations:
    hash: n58bh68h676h696h597h95h5bh64fh9bh574h684hfchfdh685h5f9h558h68bh7h4hdbhf7h595hf6hd4h576h6dh8dh57h98h549h8ch54dq
    k8s.v1.cni.cncf.io/networks: '[{"name":"ctlplane","namespace":"openstack","interface":"ctlplane"}]'
  creationTimestamp: "2026-04-04T02:48:03Z"
  generation: 1
  labels:
    app: openstackansibleee
    openstackdataplanedeployment: edpm-deployment
    openstackdataplanenodeset: openstack-edpm-ipam
    openstackdataplaneservice: telemetry
  name: telemetry-edpm-deployment-openstack-edpm-ipam
  namespace: openstack
  ownerReferences:
  - apiVersion: dataplane.openstack.org/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: OpenStackDataPlaneDeployment
    name: edpm-deployment
    uid: c2e28dd1-a961-413c-8fce-ad8b4f0aed8e
  resourceVersion: "67183"
  uid: ff1c3a63-147f-49a1-8b0e-c0d5de33138b
spec:
  backoffLimit: 6
  completionMode: NonIndexed
  completions: 1
  manualSelector: false
  parallelism: 1
  podReplacementPolicy: TerminatingOrFailed
  selector:
    matchLabels:
      batch.kubernetes.io/controller-uid: ff1c3a63-147f-49a1-8b0e-c0d5de33138b
  suspend: false
  template:
    metadata:
      annotations:
        k8s.v1.cni.cncf.io/networks: '[{"name":"ctlplane","namespace":"openstack","interface":"ctlplane"}]'
      creationTimestamp: null
      labels:
        app: openstackansibleee
        batch.kubernetes.io/controller-uid: ff1c3a63-147f-49a1-8b0e-c0d5de33138b
        batch.kubernetes.io/job-name: telemetry-edpm-deployment-openstack-edpm-ipam
        controller-uid: ff1c3a63-147f-49a1-8b0e-c0d5de33138b
        job-name: telemetry-edpm-deployment-openstack-edpm-ipam
        openstackdataplanedeployment: edpm-deployment
        openstackdataplanenodeset: openstack-edpm-ipam
        openstackdataplaneservice: telemetry
    spec:
      containers:
      - args:
        - ansible-runner
        - run
        - /runner
        - -p
        - osp.edpm.telemetry
        - -i
        - telemetry-edpm-deployment-openstack-edpm-ipam
        env:
        - name: ANSIBLE_VERBOSITY
          value: "2"
        - name: RUNNER_PLAYBOOK
          value: |2+

            osp.edpm.telemetry

        - name: RUNNER_EXTRA_VARS
          value: |2+

            edpm_override_hosts: openstack-edpm-ipam
            edpm_service_type: telemetry


        envFrom:
        - configMapRef:
            name: openstack-aee-default-env
            optional: true
        image: quay.io/openstack-k8s-operators/openstack-ansibleee-runner:latest
        imagePullPolicy: Always
        name: telemetry-edpm-deployment-openstack-edpm-ipam
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /var/lib/openstack/configs/telemetry/ceilometer.conf
          name: ceilometer-compute-config-data-0
          subPath: ceilometer.conf
        - mountPath: /var/lib/openstack/configs/telemetry/custom.conf
          name: ceilometer-compute-config-data-1
          subPath: custom.conf
        - mountPath: /var/lib/openstack/configs/telemetry/polling.yaml
          name: ceilometer-compute-config-data-2
          subPath: polling.yaml
        - mountPath: /var/lib/openstack/cacerts/telemetry
          name: telemetry-combined-ca-bundle
        - mountPath: /runner/env/ssh_key/ssh_key_openstack-edpm-ipam
          name: ssh-key-openstack-edpm-ipam
          subPath: ssh_key_openstack-edpm-ipam
        - mountPath: /runner/inventory/hosts
          name: inventory
          subPath: inventory
      dnsConfig:
        nameservers:
        - 10.217.5.31
        searches:
        - ctlplane.example.com
      dnsPolicy: None
      restartPolicy: Never
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: openstack-edpm-ipam
      serviceAccountName: openstack-edpm-ipam
      terminationGracePeriodSeconds: 30
      volumes:
      - name: ceilometer-compute-config-data-0
        secret:
          defaultMode: 420
          items:
          - key: ceilometer.conf
            path: ceilometer.conf
          secretName: ceilometer-compute-config-data
      - name: ceilometer-compute-config-data-1
        secret:
          defaultMode: 420
          items:
          - key: custom.conf
            path: custom.conf
          secretName: ceilometer-compute-config-data
      - name: ceilometer-compute-config-data-2
        secret:
          defaultMode: 420
          items:
          - key: polling.yaml
            path: polling.yaml
          secretName: ceilometer-compute-config-data
      - name: telemetry-combined-ca-bundle
        secret:
          defaultMode: 420
          secretName: combined-ca-bundle
      - name: ssh-key-openstack-edpm-ipam
        secret:
          defaultMode: 384
          items:
          - key: ssh-privatekey
            path: ssh_key_openstack-edpm-ipam
          secretName: dataplane-ansible-ssh-private-key-secret
      - name: inventory
        secret:
          defaultMode: 420
          items:
          - key: inventory
            path: inventory
          secretName: dataplanenodeset-openstack-edpm-ipam
status:
  completionTime: "2026-04-04T02:50:05Z"
  conditions:
  - lastProbeTime: "2026-04-04T02:50:05Z"
    lastTransitionTime: "2026-04-04T02:50:05Z"
    message: Reached expected number of succeeded pods
    reason: CompletionsReached
    status: "True"
    type: SuccessCriteriaMet
  - lastProbeTime: "2026-04-04T02:50:05Z"
    lastTransitionTime: "2026-04-04T02:50:05Z"
    message: Reached expected number of succeeded pods
    reason: CompletionsReached
    status: "True"
    type: Complete
  ready: 0
  startTime: "2026-04-04T02:48:03Z"
  succeeded: 1
  terminating: 0
  uncountedTerminatedPods: {}
