当前位置:网站首页>Kubernetes introduction to mastery - ktconnect (full name: kubernetes toolkit connect) is a small tool based on kubernetes environment to improve the efficiency of local test joint debugging.
Kubernetes introduction to mastery - ktconnect (full name: kubernetes toolkit connect) is a small tool based on kubernetes environment to improve the efficiency of local test joint debugging.
2022-04-23 19:30:00 【Lao wa next door】
Quick start
KtConnect It provides two-way interconnection between local and test environment clusters . In this document , We'll use a simple example , To quickly demonstrate through KtConnect Complete local direct access to services in the cluster 、 And the process of forwarding the request of the specified service in the cluster to the local .
Deploy instance application
In order to show the results , First, deploy a in the cluster Tomcat Service and create a default home page :
$ kubectl create deployment tomcat --image=tomcat:9 --port=8080 deployment.apps/tomcat created $ kubectl expose deployment tomcat --port=8080 --target-port=8080 service/tomcat exposed $ kubectl exec deployment/tomcat -c tomcat -- /bin/bash -c 'mkdir webapps/ROOT; echo "kt-connect demo v1" > webapps/ROOT/index.html'
Inquire about Pod And service IP Address :
$ kubectl get pod -o wide --selector app=tomcat NAME READY STATUS RESTARTS AGE IP ... tomca
版权声明
本文为[Lao wa next door]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231923218682.html
边栏推荐
- @Mapperscan and @ mapper
- Data analysis learning directory
- uIP1.0 主动发送的问题理解
- 【webrtc】Add x264 encoder for CEF/Chromium
- 2021-2022-2 ACM training team weekly Programming Competition (8) problem solution
- Class loading mechanism
- 深度分析数据恢复原理——那些数据可以恢复那些不可以数据恢复软件
- Speex维纳滤波与超几何分布的改写
- MySQL syntax collation
- Strange passion
猜你喜欢
Pdf reference learning notes
Lottery applet, mother no longer have to worry about who does the dishes (assign tasks), so easy
Zero cost, zero foundation, build profitable film and television applet
Why is PostgreSQL about to surpass SQL Server?
ArcMap connecting ArcGIS Server
NiO related Basics
Is meituan, a profit-making company with zero foundation, hungry? Coupon CPS applet (with source code)
MySQL syntax collation (4)
Oracle configuration st_ geometry
精简CUDA教程——CUDA Driver API
随机推荐
Why is the hexadecimal printf output of C language sometimes with 0xff and sometimes not
Openharmony open source developer growth plan, looking for new open source forces that change the world!
arcMap 发布切片服务
Kubernetes入门到精通-在 Kubernetes 上安装 OpenELB
@Analysis of conditional on Web Application
Openlayers 5.0 thermal diagram
Zero cost, zero foundation, build profitable film and television applet
Machine learning catalog
C语言的十六进制printf为何输出有时候输出带0xFF有时没有
Codeworks round 783 (Div. 2) d problem solution
Why is PostgreSQL about to surpass SQL Server?
FFT物理意义: 1024点FFT就是1024个实数,实际进入fft的输入是1024个复数(虚部为0),输出也是1024个复数,有效的数据是前512个复数
MySQL syntax collation (2)
MySQL syntax collation (5) -- functions, stored procedures and triggers
OpenHarmony开源开发者成长计划,寻找改变世界的开源新生力!
Executor、ExecutorService、Executors、ThreadPoolExecutor、Future、Runnable、Callable
Customize the non slidable viewpage and how to use it
MySQL lock
C学习完结
命令-sudo