当前位置:网站首页>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”登录。
边栏推荐
- Wasserstein Slim GAIN with Gradient Penalty(WSGAIN-GP)介绍及代码实现——基于生成对抗网络的缺失数据填补
- DAY ONE
- Without CD, I'll teach you a trick to restore the factory settings of win10 system
- App general function test cases
- 谁说新消费品牌大溃败?背后有人赢麻了
- 亚朵三顾 IPO
- Wasserstein slim gain with gradient poverty (wsgain-gp) introduction and code implementation -- missing data filling based on generated countermeasure network
- Why is bat still addicted to 996 when the four-day working system is being tried out in Britain?
- 2022 latest blind box mall complete open source operation source code / docking visa free payment interface / building tutorial
- DAY THREE
猜你喜欢

Wu Enda 2022 machine learning course evaluation is coming!

11 preparations for Web3 and Decentralization for traditional enterprises

基于SSM框架实现的房屋租赁管理系统

Penetration test --- database security: detailed explanation of SQL injection into database principle

每年 2000 亿投资进入芯片领域,「中国芯」创投正蓬勃

DAY THREE

自动化测试工具Katalon(Web)测试操作说明

Why is bat still addicted to 996 when the four-day working system is being tried out in Britain?

Automatic test tool katalon (WEB) test operation instructions

【无人机】多无人协同任务分配程序平台含Matlab代码
随机推荐
Gradle知识概括
Automatic test tool katalon (WEB) test operation instructions
【精品】pinia 基于插件pinia-plugin-persist的 持久化
app通用功能测试用例
SuperSocket 1.6 创建一个简易的报文长度在头部的Socket服务器
【OFDM通信】基于深度学习的OFDM系统信号检测附matlab代码
Experiment 6: installing eve-ng
Newsletter L Huobi ventures is in-depth contact with genesis public chain
《LaTex》LaTex数学公式简介「建议收藏」
Pdf document signature Guide
Entropy information entropy cross entropy
MATLIB从excel表中读取数据并画出函数图像
【CVPR 2022】目标检测SOTA:DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection
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
STM32 enters and wakes up the stop mode through the serial port
Yaduo Sangu IPO
微信小程序uploadfile服务器,微信小程序之wx.uploadFile[通俗易懂]
MySQL master-slave multi-source replication (3 master and 1 slave) setup and synchronization test
PostgreSQL highly available repmgr (1 master 2 slave +1witness) + pgpool II realizes master-slave switching + read-write separation
Quickly use various versions of PostgreSQL database in docker