linux中操作k8s的基本命令 最近工作中使用到了k8s,那么就来总结下平时使用到的基本的命令 获取某个namespace下的pod 获取某个namespace下的pod,展示出ip和pod信息 查看节点控制台的日志 获取某个namespace下的pod kubectl get pods -n namespace # kubectl get pods -n handle NAME READY STATUS RESTARTS AGE access-7754f795dd-f267n / Runni…
参考资料: K8S-网络隔离参考 OpenContrail is an open source network virtualization platform for the cloud. – Kube-O-Contrail – get your hands dirty with Kubernetes and OpenContrail OpenContrail is an open source network virtualization platform for the cloud. Ope…
1:show databases; 查看所有的数据库,等同于select schema_name from information_schema.schemata\G.\G 替换;,以纵向报表的形式输出结果,有利于阅读. 2. status 查看mysql数据库的运行状态 3. use 命令选择数据库 例如 use information_schema,当使用此命令后 select schema_name from information_schema.schemata\G,可以为 select…
<The Linux Command Line> 读书笔记01 基本命令介绍 1. What is the Shell? The Shell is a program that takes keyboard commands and passes them to the operating system to carry out. 提示符 $被称作shell prompt,它表明shell准备好接收输入. 通常是包含了你的用户名和机器名(username@machinename),之后是当前的…
--------------------------------------------------------SQL基本命令开始------------------------------------------------------- --切换数据库 use master go ---------------------------------------数据库操作---------------------------------------------------------------…