apiVersion: apps/v1
kind: Deployment
metadata:
  annotations:
    deployment.kubernetes.io/revision: "2"
  creationTimestamp: "2026-04-06T12:18:54Z"
  generation: 2
  name: neutron
  namespace: openstack
  ownerReferences:
  - apiVersion: neutron.openstack.org/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: NeutronAPI
    name: neutron
    uid: f112cd04-90a3-4569-9d63-6a57cde97558
  resourceVersion: "48560"
  uid: fcfcce1f-15ef-4a11-863e-26e97d46fa6f
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      service: neutron
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      annotations:
        k8s.v1.cni.cncf.io/networks: '[{"name":"internalapi","namespace":"openstack","interface":"internalapi"}]'
      creationTimestamp: null
      labels:
        service: neutron
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: service
                  operator: In
                  values:
                  - neutron
              topologyKey: kubernetes.io/hostname
            weight: 100
      containers:
      - args:
        - -c
        - /usr/local/bin/kolla_start
        command:
        - /bin/bash
        env:
        - name: CONFIG_HASH
          value: n5c5h684h5f6hd4h565h5bfh56bh5f9hfbh64hffhf4h597h98h5d6h645hc7hd5h66h5cfh679h57fh646h58dh57dh9bh5b6h5dbh69hcdh566h5cdq
        - name: KOLLA_CONFIG_STRATEGY
          value: COPY_ALWAYS
        image: 38.102.83.94:5001/podified-master-centos10/openstack-neutron-server:watcher_latest
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /
            port: 9696
            scheme: HTTPS
          initialDelaySeconds: 5
          periodSeconds: 30
          successThreshold: 1
          timeoutSeconds: 30
        name: neutron-api
        resources: {}
        securityContext:
          capabilities:
            drop:
            - MKNOD
          runAsGroup: 42435
          runAsNonRoot: true
          runAsUser: 42435
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: FallbackToLogsOnError
        volumeMounts:
        - mountPath: /var/lib/config-data/default
          name: config
          readOnly: true
        - mountPath: /var/lib/kolla/config_files/config.json
          name: config
          readOnly: true
          subPath: neutron-api-config.json
        - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
          name: combined-ca-bundle
          readOnly: true
          subPath: tls-ca-bundle.pem
        - mountPath: /var/lib/config-data/tls/certs/ovndb.crt
          name: ovndb-tls-certs
          readOnly: true
          subPath: tls.crt
        - mountPath: /var/lib/config-data/tls/private/ovndb.key
          name: ovndb-tls-certs
          readOnly: true
          subPath: tls.key
        - mountPath: /var/lib/config-data/tls/certs/ovndbca.crt
          name: ovndb-tls-certs
          readOnly: true
          subPath: ca.crt
      - args:
        - -c
        - /usr/local/bin/kolla_start
        command:
        - /bin/bash
        env:
        - name: CONFIG_HASH
          value: n5c5h684h5f6hd4h565h5bfh56bh5f9hfbh64hffhf4h597h98h5d6h645hc7hd5h66h5cfh679h57fh646h58dh57dh9bh5b6h5dbh69hcdh566h5cdq
        - name: KOLLA_CONFIG_STRATEGY
          value: COPY_ALWAYS
        image: 38.102.83.94:5001/podified-master-centos10/openstack-neutron-server:watcher_latest
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /
            port: 9696
            scheme: HTTPS
          initialDelaySeconds: 5
          periodSeconds: 30
          successThreshold: 1
          timeoutSeconds: 30
        name: neutron-httpd
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /
            port: 9696
            scheme: HTTPS
          initialDelaySeconds: 5
          periodSeconds: 30
          successThreshold: 1
          timeoutSeconds: 30
        resources: {}
        securityContext:
          capabilities:
            drop:
            - MKNOD
          runAsGroup: 42435
          runAsNonRoot: true
          runAsUser: 42435
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: FallbackToLogsOnError
        volumeMounts:
        - mountPath: /var/lib/config-data/default
          name: httpd-config
          readOnly: true
        - mountPath: /var/lib/kolla/config_files/config.json
          name: config
          readOnly: true
          subPath: neutron-httpd-config.json
        - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
          name: combined-ca-bundle
          readOnly: true
          subPath: tls-ca-bundle.pem
        - mountPath: /etc/pki/tls/certs/internal.crt
          name: internal-tls-certs
          readOnly: true
          subPath: tls.crt
        - mountPath: /etc/pki/tls/private/internal.key
          name: internal-tls-certs
          readOnly: true
          subPath: tls.key
        - mountPath: /etc/pki/tls/certs/public.crt
          name: public-tls-certs
          readOnly: true
          subPath: tls.crt
        - mountPath: /etc/pki/tls/private/public.key
          name: public-tls-certs
          readOnly: true
          subPath: tls.key
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext:
        fsGroup: 42435
      serviceAccount: neutron-neutron
      serviceAccountName: neutron-neutron
      terminationGracePeriodSeconds: 30
      volumes:
      - name: config
        secret:
          defaultMode: 420
          secretName: neutron-config
      - name: httpd-config
        secret:
          defaultMode: 420
          secretName: neutron-httpd-config
      - name: combined-ca-bundle
        secret:
          defaultMode: 292
          secretName: combined-ca-bundle
      - name: internal-tls-certs
        secret:
          defaultMode: 256
          secretName: cert-neutron-internal-svc
      - name: public-tls-certs
        secret:
          defaultMode: 256
          secretName: cert-neutron-public-svc
      - name: ovndb-tls-certs
        secret:
          defaultMode: 256
          secretName: cert-neutron-ovndbs
status:
  availableReplicas: 1
  conditions:
  - lastTransitionTime: "2026-04-06T12:19:24Z"
    lastUpdateTime: "2026-04-06T12:19:24Z"
    message: Deployment has minimum availability.
    reason: MinimumReplicasAvailable
    status: "True"
    type: Available
  - lastTransitionTime: "2026-04-06T12:18:54Z"
    lastUpdateTime: "2026-04-06T12:19:27Z"
    message: ReplicaSet "neutron-bbf455d7c" has successfully progressed.
    reason: NewReplicaSetAvailable
    status: "True"
    type: Progressing
  observedGeneration: 2
  readyReplicas: 1
  replicas: 1
  updatedReplicas: 1
