当前位置:网站首页>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
边栏推荐
- Openlayers 5.0 two centering methods
- Some speculation about the decline of adults' language learning ability
- Why is the hexadecimal printf output of C language sometimes with 0xff and sometimes not
- How to select the third-party package of golang
- Codeforces Round #783 (Div. 2) D题解
- Customize the non slidable viewpage and how to use it
- MySQL syntax collation
- Speculation on the way to realize the smooth drag preview of video editing software
- Zero base to build profit taking away CPS platform official account
- MySQL数据库 - 单表查询(二)
猜你喜欢
Mfcc: Mel frequency cepstrum coefficient calculation of perceived frequency and actual frequency conversion
Possible root causes include a too low setting for -Xss and illegal cyclic inheritance dependencies
ArcMap publishing slicing service
@Mapperscan and @ mapper
MySQL lock
ESP8266-入门第一篇
山大网安靶场实验平台项目—个人记录(四)
Using oes texture + glsurfaceview + JNI to realize player picture processing based on OpenGL es
Use of fluent custom fonts and pictures
深度学习——特征工程小总结
随机推荐
Class loading process of JVM
Speculation on the way to realize the smooth drag preview of video editing software
MySQL syntax collation (2)
深度分析数据恢复原理——那些数据可以恢复那些不可以数据恢复软件
Customize the non slidable viewpage and how to use it
MySQL数据库 - 单表查询(三)
RuntimeError: Providing a bool or integral fill value without setting the optional `dtype` or `out`
Redis core technology and practice 1 - start with building a simple key value database simplekv
TI DSP的 FFT与IFFT库函数的使用测试
Prefer composition to inheritance
FFT物理意义: 1024点FFT就是1024个实数,实际进入fft的输入是1024个复数(虚部为0),输出也是1024个复数,有效的数据是前512个复数
MFCC: Mel频率倒谱系数计算感知频率和实际频率转换
No, some people can't do the National Day avatar applet (you can open the traffic master and earn pocket money)
Zero base to build profit taking away CPS platform official account
Openlayers 5.0 reload the map when the map container size changes
考试系统进入试卷优化思路
仓库管理数据库系统设计
Lottery applet, mother no longer have to worry about who does the dishes (assign tasks), so easy
JS controls the file type and size when uploading files
MySQL syntax collation (5) -- functions, stored procedures and triggers