title: openldap setup on Kubernetes cluster
body: <p>I want to set up OpenLDAP in a Kubernetes cluster running on AWS.
  I’ve applied YAML files “<a href="https://github.com/osixia/docker-openldap/tree/stable/example/kubernetes/simple" rel="nofollow noreferrer">https://github.com/osixia/docker-openldap/tree/stable/example/kubernetes/simple</a>” except for service type I choose load balancer.</p>
  
  <p>I’ve added below two ldif files:</p>
  
  <h1>base.ldif</h1>
  
  <pre><code>dn: ou=People,dc=example,dc=com   
  objectClass: organizationalUnit
  ou: People
  dn: ou=Group,dc=example,dc=com
  objectClass: organizationalUnit
  ou: Group
  </code></pre>
  
  <h1>test.ldif</h1>
  
  <pre><code>dn: uid=test,ou=People,dc=example,dc=com
  objectClass: top
  objectClass: account
  objectClass: posixAccount
  objectClass: shadowAccount
  cn: test
  uid: test
  uidNumber: 9999
  gidNumber: 100
  homeDirectory: /home/test
  loginShell: /bin/bash
  gecos: test admin user
  userPassword: password
  shadowLastChange: 17058
  shadowMin: 0
  shadowMax: 99999
  shadowWarning: 7
  </code></pre>
  
  <p>I’ve setup LDAP client on centos 7 system but no result is showing if I execute “getent passwd test”</p>
  
  <p>Please help me with this?</p>