当前位置:网站首页>kubernetes部署ldap
kubernetes部署ldap
2022-07-06 16:37:00 【阳光很暖吧】
从github取得openldap的yaml文件。
git clone https://github.com/atjapan2015/kuberneteshandson.git
启动deployment和service。
kubectl apply -f kuberneteshandson/openldap/ldap-deployment.yaml
kubectl apply -f kuberneteshandson/openldap/ldap-service.yaml
kubectl apply -f kuberneteshandson/openldap/phpldapadmin-deployment.yaml
kubectl apply -f kuberneteshandson/openldap/phpldapadmin-service.yaml
查看service,deploy和pod的启动情况。
kubectl get svc,deploy,pod
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
svc/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 147d
svc/ldap-service ClusterIP 10.101.39.82 <none> 389/TCP 7m
svc/phpldapadmin ClusterIP 10.107.0.197 <none> 8080/TCP 7m
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
deploy/ldap 1 1 1 1 7m
deploy/phpldapadmin 1 1 1 1 7m
NAME READY STATUS RESTARTS AGE
po/ldap-645864c96c-ltmzc 1/1 Running 0 7m
po/phpldapadmin-85cb5df8b7-j8mjj 1/1 Running 0 7m
使用浏览器访问phpldapadmin。地址为CLUSTER-IP:PORT
,此例为10.107.0.197:8080
。
点击login
,输入Login DN和Password后,点击Authenticate
。此例中,Loing DN为“cn=admin,dc=example,dc=org
”,Password为“admin
”。
创建Posix Group和User Account。此例中,Posix Group为“ldap
”,User Account为“ldap_login
”,Password设置为“admin
”。
退出admin用户。使用“ldap_login
”用户(cn=ldap_login,dc=example,dc=org),Password为“admin
”登录。
边栏推荐
- Server SMP, NUMA, MPP system learning notes.
- 本地部署 zeppelin 0.10.1
- Computer reinstallation system teaching, one click fool operation, 80% of people have learned
- PostgreSQL highly available repmgr (1 master 2 slave +1witness) + pgpool II realizes master-slave switching + read-write separation
- 微信小程序uploadfile服务器,微信小程序之wx.uploadFile[通俗易懂]
- AVL树到底是什么?
- Automatic test tool katalon (WEB) test operation instructions
- 自动化测试工具Katalon(Web)测试操作说明
- 11 preparations for Web3 and Decentralization for traditional enterprises
- The programmer said, "I'm 36 years old, and I don't want to be rolled, let alone cut."
猜你喜欢
DAY FIVE
DAY SIX
The intranet penetrates the zerotier extranet (mobile phone, computer, etc.) to access intranet devices (raspberry pie, NAS, computer, etc.)
The largest single investment in the history of Dachen was IPO today
Interface joint debugging test script optimization v4.0
Entropy information entropy cross entropy
达晨史上最大单笔投资,今天IPO了
Newsletter L Huobi ventures is in-depth contact with genesis public chain
Who said that new consumer brands collapsed? Someone behind me won
Today, I met a senior test developer from Tencent and saw the ceiling of the foundation
随机推荐
[system analyst's road] Chapter 7 double disk system design (service-oriented development method)
Cas d'essai fonctionnel universel de l'application
GPIO简介
Competition between public and private chains in data privacy and throughput
DAY ONE
DAY SIX
Gradle知識概括
【2022全网最细】接口测试一般怎么测?接口测试的流程和步骤
I've been laid off, and I'll lose money for everything. The days when I once made a monthly salary of 20000 are not coming back
MATLIB从excel表中读取数据并画出函数图像
The important data in the computer was accidentally deleted by mistake, which can be quickly retrieved by this method
DAY THREE
STM32 enters and wakes up the stop mode through the serial port
Experiment 4: installing packages from Gui
openresty ngx_lua子请求
DAY SIX
Résumé des connaissances de gradle
Pytest multi process / multi thread execution test case
GEO数据挖掘(三)使用DAVID数据库进行GO、KEGG富集分析
【CVPR 2022】半监督目标检测:Dense Learning based Semi-Supervised Object Detection