会员
周边
新闻
博问
融资
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2020年9月11日
Simple way to create a tunnel from one local port to another?
摘要: nc -k -l -p 8001 -c "nc 127.0.0.1 8000"
阅读全文
posted @ 2020-09-11 09:13 xuchenCN
阅读(113)
评论(0)
推荐(0)
编辑
2020年9月4日
Add new k8s node
摘要: 省略部分内容, 禁用swap sudo swapoff -a 注释掉 /etc/fstab 文件中 /dev/mapper/centos-swap swap 安装calico插件 https://docs.projectcalico.org/getting-started/kubernetes/ha
阅读全文
posted @ 2020-09-04 15:17 xuchenCN
阅读(128)
评论(0)
推荐(0)
编辑
2020年6月5日
kube-proxy ipvs calico
摘要: 1. 关闭防火墙 #/etc/selinux/config SELINUX=disabled #sestatus SELinux status: disabled #systemctl stop firewalld #systemctl disable firewalld 2. 修改系统参数 # /
阅读全文
posted @ 2020-06-05 15:46 xuchenCN
阅读(1474)
评论(0)
推荐(0)
编辑
2020年5月8日
go-micro v2 api gateway kubernetes
摘要: 官方文档更新较慢,记录一下部署在kubernetes上卻的问题。 1. 源码编译 1.1 clone源码 git clone https://github.com/micro/micro.git 1.2 修改main.go 在Import中增加 _ "github.com/micro/go-plug
阅读全文
posted @ 2020-05-08 10:49 xuchenCN
阅读(863)
评论(0)
推荐(0)
编辑
2020年4月10日
k8s jupyter deployment service ingress https
摘要: kubectl create configmap my-cert --from-file=ca-key.pem=/root/ca-key.pem --from-file=ca.pem=/root/ca.pemapiVersion: networking.k8s.io/v1beta1 kind: In
阅读全文
posted @ 2020-04-10 16:56 xuchenCN
阅读(395)
评论(0)
推荐(0)
编辑
2020年4月7日
http(s) 性能测试工具
摘要: ab ab 测试工具是 Apache 提供的一款测试工具,具有简单易上手的特点,在测试 Web 服务时非常实用。 ab 可以在 Windows 系统中使用,也可以在 Linux 系统中使用。这里我说下在 Linux 系统中的安装方法,非常简单,只需要在 Linux 系统中输入 yum-y insta
阅读全文
posted @ 2020-04-07 16:31 xuchenCN
阅读(408)
评论(0)
推荐(0)
编辑
2020年4月3日
go mod module declares its path as but was required as
摘要: module declares its path as: github.com/sirupsen/logrus but was required as: github.com/Sirupsen/logrus replace ( github.com/Sirupsen/logrus v1.5.0 =>
阅读全文
posted @ 2020-04-03 12:18 xuchenCN
阅读(7942)
评论(1)
推荐(1)
编辑
2020年3月19日
k8s 编写 CRD subresources
摘要: 在写 k8s的CRD controller的时候遇到需要用到subresources的情况 首先编写CRD文件的时候生命subresource 这里用kube-batch举例子 apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResource
阅读全文
posted @ 2020-03-19 09:38 xuchenCN
阅读(2008)
评论(0)
推荐(0)
编辑
2020年2月27日
nginx-vts
摘要: 从 https://github.com/vozlt/nginx-module-vts 下载vts 从 https://github.com/nginx/nginx 下载nginx 根据说明编译nginx 设置编译参数 ./auto/configruation --user=nginx --grou
阅读全文
posted @ 2020-02-27 10:49 xuchenCN
阅读(253)
评论(0)
推荐(0)
编辑
2020年1月17日
kuberneets 1.17 设置 kube-reserved, system-reserved
摘要: 主要修改 kubelet的启动命令 增加reserved相关参数 [Unit] Description=Kubernetes Kubelet Server After=docker.service Requires=docker.service [Service] ExecStartPre=/usr
阅读全文
posted @ 2020-01-17 14:26 xuchenCN
阅读(2403)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
下一页
公告