当前位置:网站首页>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”登录。
边栏推荐
- web渗透测试是什么_渗透实战
- [system analyst's road] Chapter 7 double disk system design (service-oriented development method)
- app通用功能测试用例
- Entropy information entropy cross entropy
- Résumé des connaissances de gradle
- Why is bat still addicted to 996 when the four-day working system is being tried out in Britain?
- The programmer said, "I'm 36 years old, and I don't want to be rolled, let alone cut."
- The important data in the computer was accidentally deleted by mistake, which can be quickly retrieved by this method
- 谁说新消费品牌大溃败?背后有人赢麻了
- Competition between public and private chains in data privacy and throughput
猜你喜欢

MATLIB reads data from excel table and draws function image

Résumé des connaissances de gradle

Design a red envelope grabbing system

app通用功能测试用例

Gradle知识概括

DAY TWO

Eureka Client启动后就关闭 Unregistering application xxx with eureka with status DOWN

Building lease management system based on SSM framework

求帮助xampp做sqlilab是一片黑

Do you still have to rely on Simba to shout for a new business that is Kwai?
随机推荐
基于jsp+servlet+mysql框架的旅游管理系统【源码+数据库+报告】
求帮助xampp做sqlilab是一片黑
How rider uses nuget package offline
【212】php发送post请求有哪三种方法
SQL的一种写法,匹配就更新,否则就是插入
Today, I met a senior test developer from Tencent and saw the ceiling of the foundation
The intranet penetrates the zerotier extranet (mobile phone, computer, etc.) to access intranet devices (raspberry pie, NAS, computer, etc.)
okcc呼叫中心的订单管理时怎么样的
DAY THREE
MySQL主从之多源复制(3主1从)搭建及同步测试
氢创未来 产业加速 | 2022氢能专精特新创业大赛报名通道开启!
Building lease management system based on SSM framework
App general function test cases
【系统分析师之路】第七章 复盘系统设计(面向服务开发方法)
The best sister won the big factory offer of 8 test posts at one go, which made me very proud
Competition between public and private chains in data privacy and throughput
17、 MySQL - high availability + read / write separation + gtid + semi synchronous master-slave replication cluster
Eureka Client启动后就关闭 Unregistering application xxx with eureka with status DOWN
Oracle中使用包FY_Recover_Data.pck来恢复truncate误操作的表
《数字经济全景白皮书》保险数字化篇 重磅发布