apiVersion: v1 kind: Service metadata: name: openldap labels: app.kubernetes.io/name: openldap spec: type: ClusterIP ports: - name: openldap port: 389 targetPort: 1389 selector: app.kubernetes.io/name: openldap