1apiVersion: v1 2kind: Service 3metadata: 4 labels: 5 app: ldap 6 name: ldap-service 7spec: 8 ports: 9 - port: 389 10 selector: 11 app: ldap 12