一、查看集群状态 kubectl cluster-info kubectl cluster-info 二、查看各组件状态 kubectl get componentstatuses kubectl get cs #上条命名缩写 三、GET信息(加上-o wide查看详细信息) kubectl get ...
分类:
其他好文 时间:
2021-01-27 13:30:59
阅读次数:
0
1。导入mongoose的js const Koa = require('koa') const app = new Koa() const Router = require('koa-router') let router = new Router() const mongoose = requi ...
分类:
Web程序 时间:
2021-01-27 13:24:09
阅读次数:
0
最近在看《Go语言圣经》,译者是哪个不太清楚,不过从下面一段注释看来,译者也是个有个性的人,呵呵。。。 我大天朝果然并非浪得虚名,连这种ip地址都屏蔽。。。 ...
分类:
其他好文 时间:
2021-01-27 13:16:24
阅读次数:
0
创世区块配置文件genesis.json的格式解读 中文网站上关于genesis 的解析大多数都来自于这个Gist:Ethereum private network configuration guide. (github.com),但实际上genesis 中的配置项还有一些其他内容。 首先,gen ...
分类:
Web程序 时间:
2021-01-27 13:14:36
阅读次数:
0
1、修改/etc/docker/daemon.json配置文件 sudo /etc/docker/daemon.json 2、修改daemon.json文件的内容 { "registry-mirrors": ["https://docker.mirrors.ustc.edu.cn"] } syste ...
分类:
其他好文 时间:
2021-01-27 13:12:05
阅读次数:
0
作用: 依赖 ==> webpack ==> 静态资源 把错综复杂的依赖 通过 webpack 打包成 一块一块的 一. 一般把 index.js 当做入口文件,把资源变成树状 index.js | | 处理 / 打包 / less JQ .... ==> | less ==> css | => b ...
分类:
其他好文 时间:
2021-01-27 13:06:55
阅读次数:
0
41、[FlareOn4]IgniteMe [MRCTF2020]Xor [GKCTF2020]BabyDriver [MRCTF2020]hello_world_go crackMe [WUSTCTF2020]level3 [FlareOn6]Overlong [WUSTCTF2020]Cr0ss ...
分类:
其他好文 时间:
2021-01-27 12:53:28
阅读次数:
0
在tsConfig中,配置: 在.eslintrc.json中: 这样做是为了防止eslint报找不到模块的错误。经过上述配置,你就可以像import node_modules一样,import 本地的文件,假设目录结构如下: 在配置之前,你在页面中import api: 配置之后: 完美~ 参考文 ...
分类:
Web程序 时间:
2021-01-26 12:16:11
阅读次数:
0
client.go:9:2: cannot find module providing package google.golang.org/grpc: working directory is not part of a module 因为开启mod模式了export GO111MODULE=aut ...
分类:
其他好文 时间:
2021-01-26 12:04:45
阅读次数:
0
参考官网流程: https://golang.google.cn/doc/install wget https://golang.google.cn/dl/go1.15.7.linux-amd64.tar.gz tar -C /usr/local -zxvf go1.15.7.linux-amd64 ...
分类:
系统相关 时间:
2021-01-26 11:52:20
阅读次数:
0