
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
go 语言中函数是一等公民,因此针对函数的使用也可以多种多样。在go语言中函数可以作为参数传递,也可以作为函数的返回值返回。function type就是一种典型的应用。关于type function 官方的定义如下A function type denotes the set of all functions with the same parameter and result types...
ee.Value.(*entry).value以上代码就是将ee.Value 的值转换为*entry的类型,并取其中的value的值
importcv2printcv2.getBuildInformation()
1.RUN echo 'root:Docker!' | chpasswdorRUN echo 'Docker!' | passwd --stdin root2.For thebashcommand specifically, I added in the .bashrc file the commandexitat the end of the file, so the user logs in
ubuntu 裸机部署遇到的一些问题1. 依赖包 etcd flannel 和k8s 本身是通过curl下载的,默认的下载地址被墙需要翻墙下载下来,并更改脚本download-release.sh2.运行安装命令的机器和master和minion之间要能ssh登录, ssh 登录最好设置成key免密码省去一些麻烦3. 各个机器预先安装好docker 和
安装 influxdb1. wget https://s3.amazonaws.com/influxdb/influxdb-0.9.5.1-1.x86_64.rpm2. yum local install influxdb-0.9.5.1-1.x86_64.rpm3. 修改配置文件信息:/etc/influxdb/influxdb.confhostname = "10.5.254.
参考:https://github.com/kubernetes/heapster/blob/master/docs/influxdb.md注意:1. docker镜像被墙需要想办法拉取到自己的本地的dockerhub2. github上的是为loadbalaner 使用的如果是哟个nodePort或者externalIP需要改一个地方influxdb-grafana-co







