apiVersion: v1
kind: Service
metadata:
  annotations:
    percona.com/last-config-hash: eyJwb3J0cyI6W3sibmFtZSI6Im15c3FsIiwicG9ydCI6MzMwNiwidGFyZ2V0UG9ydCI6MzMwNn0seyJuYW1lIjoicHJveHktcHJvdG9jb2wiLCJwb3J0IjozMzA5LCJ0YXJnZXRQb3J0IjozMzA5fSx7Im5hbWUiOiJteXNxbC1hZG1pbiIsInBvcnQiOjMzMDYyLCJ0YXJnZXRQb3J0IjozMzA2Mn0seyJuYW1lIjoibXlzcWx4IiwicG9ydCI6MzMwNjAsInRhcmdldFBvcnQiOjMzMDYwfSx7Im5hbWUiOiJzdGF0cyIsInBvcnQiOjg0MDQsInRhcmdldFBvcnQiOjg0MDR9XSwic2VsZWN0b3IiOnsiYXBwLmt1YmVybmV0ZXMuaW8vY29tcG9uZW50IjoiaGFwcm94eSIsImFwcC5rdWJlcm5ldGVzLmlvL2luc3RhbmNlIjoicGVyY29uYS14dHJhZGIiLCJhcHAua3ViZXJuZXRlcy5pby9tYW5hZ2VkLWJ5IjoicGVyY29uYS14dHJhZGItY2x1c3Rlci1vcGVyYXRvciIsImFwcC5rdWJlcm5ldGVzLmlvL25hbWUiOiJwZXJjb25hLXh0cmFkYi1jbHVzdGVyIiwiYXBwLmt1YmVybmV0ZXMuaW8vcGFydC1vZiI6InBlcmNvbmEteHRyYWRiLWNsdXN0ZXIifSwidHlwZSI6IkNsdXN0ZXJJUCJ9
  creationTimestamp: "2026-09-07T08:37:44Z"
  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: c871aa65-4ab2-425f-aafc-5c0d3ec783d4
  resourceVersion: "1817"
  uid: d63018a6-5076-4604-9ec1-299939fd4226
spec:
  clusterIP: 10.110.228.237
  clusterIPs:
  - 10.110.228.237
  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: {}
