apiVersion: v1
kind: Service
metadata:
  annotations:
    percona.com/last-config-hash: eyJwb3J0cyI6W3sibmFtZSI6Im15c3FsIiwicG9ydCI6MzMwNiwidGFyZ2V0UG9ydCI6MzMwNn0seyJuYW1lIjoicHJveHktcHJvdG9jb2wiLCJwb3J0IjozMzA5LCJ0YXJnZXRQb3J0IjozMzA5fSx7Im5hbWUiOiJteXNxbC1hZG1pbiIsInBvcnQiOjMzMDYyLCJ0YXJnZXRQb3J0IjozMzA2Mn0seyJuYW1lIjoibXlzcWx4IiwicG9ydCI6MzMwNjAsInRhcmdldFBvcnQiOjMzMDYwfSx7Im5hbWUiOiJzdGF0cyIsInBvcnQiOjg0MDQsInRhcmdldFBvcnQiOjg0MDR9XSwic2VsZWN0b3IiOnsiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiaGFwcm94eSIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoicGVyY29uYS14dHJhZGIiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoicGVyY29uYS14dHJhZGItY2x1c3Rlci1vcGVyYXRvciIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJwZXJjb25hLXh0cmFkYi1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vcGFydC1vZiI6InBlcmNvbmEteHRyYWRiLWNsdXN0ZXIifSwidHlwZSI6IkNsdXN0ZXJJUCJ9
  creationTimestamp: "2026-04-06T21:01:06Z"
  labels:
    app.kubernetes.io/component: haproxy
    app.kubernetes.io/instance: percona-xtradb
    app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
    app.kubernetes.io/name: percona-xtradb-cluster
    app.kubernetes.io/part-of: percona-xtradb-cluster
  name: percona-xtradb-haproxy
  namespace: openstack
  ownerReferences:
  - apiVersion: pxc.percona.com/v1
    controller: true
    kind: PerconaXtraDBCluster
    name: percona-xtradb
    uid: 5de672b9-59b1-4965-b07c-b5a0d80fec07
  resourceVersion: "1813"
  uid: 5192c0c9-4d3b-4d86-8bce-6892ea0244a9
spec:
  clusterIP: 10.107.63.24
  clusterIPs:
  - 10.107.63.24
  internalTrafficPolicy: Cluster
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack
  ports:
  - name: mysql
    port: 3306
    protocol: TCP
    targetPort: 3306
  - name: proxy-protocol
    port: 3309
    protocol: TCP
    targetPort: 3309
  - name: mysql-admin
    port: 33062
    protocol: TCP
    targetPort: 33062
  - name: mysqlx
    port: 33060
    protocol: TCP
    targetPort: 33060
  - name: stats
    port: 8404
    protocol: TCP
    targetPort: 8404
  selector:
    app.kubernetes.io/component: haproxy
    app.kubernetes.io/instance: percona-xtradb
    app.kubernetes.io/managed-by: percona-xtradb-cluster-operator
    app.kubernetes.io/name: percona-xtradb-cluster
    app.kubernetes.io/part-of: percona-xtradb-cluster
  sessionAffinity: None
  type: ClusterIP
status:
  loadBalancer: {}
