当前位置:网站首页>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
边栏推荐
- Coordinate conversion WGS-84 to gcj-02 and gcj-02 to WGS-84
- MySQL数据库 - 数据库和表的基本操作(二)
- 【h264】libvlc 老版本的 hevc h264 解析,帧率设定
- PostgreSQL
- ArcMap connecting ArcGIS Server
- Codeworks round 783 (Div. 2) d problem solution
- JVM的类加载过程
- Go three ways to copy files
- SQL of contention for system time plus time in ocrale database
- Deep learning -- Summary of Feature Engineering
猜你喜欢

【webrtc】Add x264 encoder for CEF/Chromium

2021-2022-2 ACM training team weekly Programming Competition (8) problem solution

MySQL syntax collation (2)

An algorithm problem was encountered during the interview_ Find the mirrored word pairs in the dictionary

Lottery applet, mother no longer have to worry about who does the dishes (assign tasks), so easy

优先使用组合而不使用继承

arcMap 发布切片服务

MySQL syntax collation

【webrtc】Add x264 encoder for CEF/Chromium

Build intelligent garbage classification applet based on Zero
随机推荐
MySQL syntax collation (3)
[report] Microsoft: application of deep learning methods in speech enhancement
An algorithm problem was encountered during the interview_ Find the mirrored word pairs in the dictionary
【webrtc】Add x264 encoder for CEF/Chromium
Virtual machine performance monitoring and fault handling tools
MFC获取本机IP(网络通讯时用得多)
2021-2022-2 ACM集训队每周程序设计竞赛(8)题解
kibana 报错 server is not ready yet 可能的原因
@Mapperscan and @ mapper
@Analysis of conditional on Web Application
IIS data conversion problem: 16bit to 24bit
【webrtc】Add x264 encoder for CEF/Chromium
Easy mock local deployment (you need to experience three times in a crowded time. Li Zao will do the same as me. Love is like a festival mock)
SQL of contention for system time plus time in ocrale database
Redis core technology and practice 1 - start with building a simple key value database simplekv
Problems caused by flutter initialroute and home
5 minutes to achieve wechat cloud applet payment function (including source code)
Zero cost, zero foundation, build profitable film and television applet
No, some people can't do the National Day avatar applet (you can open the traffic master and earn pocket money)
Kubernetes入门到精通-裸机LoadBalence 80 443 端口暴露注意事项
