zoukankan
html css js c++ java
ssh*
1. 目的:
通过过隧道将服务对外暴露
2. 说明:
k8s中的一个服务以NodePort的方式部署在了集群中,service端口为30098
1.1.1.6为集群中的一个节点。
2.2.2.7这个节点的端口3xx5可以ssh且与本地是通的。
3. 步骤:
ssh -N -p 3xx5 root@2.2.2.7 -L 127.0.0.1:30098:1.1.1.6:30098
在浏览器中输入localhost:30098即可访问此服务。
查看全文
相关阅读:
java对redis的基本操作(一)
Android RelativeLayout 属性
查看jdk的位数
Java简单文件传输 socket简单文件传输示例
Java使用socket实现两人聊天对话
Java观察者设计模式
Java装饰设计模式的例子
php邮件发送 phpmailer
php smarty 缓存和配置文件的基本使用方法
php smarty insert用法
原文地址:https://www.cnblogs.com/double12gzh/p/11613348.html
最新文章
【《Effective C#》提炼总结】提高Unity中C#代码质量的21条准则
C#使用(NamedPipe)命名管道通信的例子
解读 JavaScript 之引擎、运行时和堆栈调用
移动端适配
手把手教你用原生JavaScript造轮子(2)——轮播图(更新:ES6版本)
Web 应用架构基础课(转载)
create-react-app @observer装饰器报错
HTML超链接
HTML元素的属性
tomcat与HTML命令提示符
热门文章
HTML入门
Java代码优化(一)
集合(六)LinkedHashMap
集合(五)不正确地使用HashMap引发死循环及元素丢失
集合(四)HashMap
集合(三)CopyOnWriteArrayList
集合(二)LinkedList
集合(一)ArrayList
web.xml
JDK的安装与配置
Copyright © 2011-2022 走看看