当前位置:网站首页>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”登录。
边栏推荐
- TypeScript增量编译
- Close unregistering application XXX with Eureka with status down after Eureka client starts
- The tutorial of computer reinstallation win10 system is simple and easy to understand. It can be reinstalled directly without U disk
- Newsletter L Huobi ventures is in-depth contact with genesis public chain
- 微信小程序uploadfile服务器,微信小程序之wx.uploadFile[通俗易懂]
- ArrayExpress数据库里的细胞只有两个txt是不是只能根据Line到ENA下载测序跑矩阵?
- 求帮助xampp做sqlilab是一片黑
- Gradle知識概括
- PostgreSQL高可用之repmgr(1主2从+1witness)+Pgpool-II实现主从切换+读写分离
- MIT 6.824 - Raft学生指南
猜你喜欢

专为决策树打造,新加坡国立大学&清华大学联合提出快速安全的联邦学习新系统

Experiment 4: installing packages from Gui

Gradle知识概括

The largest single investment in the history of Dachen was IPO today

设计一个抢红包系统

How rider uses nuget package offline

How to find out if the U disk file of the computer reinstallation system is hidden

Wind chime card issuing network source code latest version - commercially available

11 preparations for Web3 and Decentralization for traditional enterprises

Every year, 200 billion yuan is invested in the chip field, and "China chip" venture capital is booming
随机推荐
STM32 enters and wakes up the stop mode through the serial port
Design of short chain
openresty ngx_lua子请求
PostgreSQL highly available repmgr (1 master 2 slave +1witness) + pgpool II realizes master-slave switching + read-write separation
谷歌百度雅虎都是中国公司开发的通用搜索引擎_百度搜索引擎url
Eureka Client启动后就关闭 Unregistering application xxx with eureka with status DOWN
Gold three silver four, don't change jobs
Gradle知识概括
The tutorial of computer reinstallation win10 system is simple and easy to understand. It can be reinstalled directly without U disk
士大夫哈哈哈
MATLIB从excel表中读取数据并画出函数图像
The method of reinstalling win10 system is as simple as that
Résumé des connaissances de gradle
(leetcode) sum of two numbers
The largest single investment in the history of Dachen was IPO today
Oracle中使用包FY_Recover_Data.pck来恢复truncate误操作的表
短链的设计
MySQL主从之多源复制(3主1从)搭建及同步测试
[communication] optimal power allocation in the uplink of two-layer wireless femtocell network with matlab code
《数字经济全景白皮书》保险数字化篇 重磅发布