原创 《將博客搬至CSDN》

將博客搬至CSDN

原创 kubernetes實踐:使用nfs-client實現storageclass

https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-client nfs服務器見此篇kubernetes集羣下安裝nfs服務器 一、helm安裝

原创 kubernetes實踐:內部dns域名解析服務器

操作系統:Ubuntu 16.04 服務器IP:172.18.1.12 1. 安裝bind9 apt install bind9 -y 2. 配置解析文件 進入/etc/bind目錄下,打開named.conf.local // // Do

原创 kubernetes實踐:helm安裝harbor

GitHub:Helm Chart for Harbor 1. 添加harbor的helm庫 helm repo add harbor https://helm.goharbor.io 2. 將harbor下載到本地 helm fetc

原创 kubernetes實踐:安裝nfs服務器

找一臺服務器搭建一臺nfs服務器 系統:Ubuntu 16.04 IP:172.18.1.13 apt install nfs-common nfs-kernel-server -y #配置掛載信息 cat /etc/exports /d

原创 kubernetes集羣實現jenkins slave

一、安裝Jenkins 1. 安裝存儲服務器 找一臺服務器搭建一臺nfs服務器 系統:Ubuntu 16.04 IP:172.18.1.13 apt install nfs-common nfs-kernel-server -y #配置

原创 五、rancher-ha-Helm安裝Rancher

參考 https://www.cnrancher.com/docs/rancher/v2.x/cn/installation/ha-install/ 1. 添加Chart倉庫地址 使用helm repo add命令添加Rancher c

原创 三、rancher-ha-rke安裝k8s

1. 常規節點配置 option required description address yes 公共域名或IP地址 user yes 可以運行docker命令的用戶 role yes 分配給節點的Kubernete

原创 四、rancher-ha-安裝配置Helm

注意helm使用需要kubectl,點擊瞭解安裝和配置kubectl。 Helm是Kubernetes首選的包管理工具。Helmcharts爲Kubernetes YAML清單文檔提供模板語法。使用Helm,我們可以創建可配置的部署,而

原创 二、rancher-ha-四層負載均衡Helm HA部署

一、架構說明 二、配置負載均衡集羣 負載均衡列表: test-kube-nginx-lb-01 172.18.1.12 test-kube-nginx-lb-02 172.18.1.10 創建nginx配置 cat >> /etc/n

原创 jumpserver解決"Server responded with 0 code"

django上傳文件超過100M大小就會報Server responded with 0 code這個錯誤。在官方github上找到了解決方法,https://github.com/jumpserver/jumpserver/issues/

原创 error: command 'gcc' failed with exit status 1

   pip install  pycrypto報錯src/MD2.c:31:20: error: Python.h: No such file or directory     src/MD2.c:120: error: expected

原创 python導入自定義模塊

>>> import sys >>> print sys.path ['', '/usr/lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-lin

原创 nginx裏proxy_pass有無/的區

https://www.cnblogs.com/lemon-le/p/7800879.html nginx裏proxy_pass有無/的區別 nginx在反向代理的時候,proxy_pass需要指定路徑,有無"/"的區別,如下: lo

原创 我的友情鏈接

51CTO博客開發王春海的博客Linux運維-小墨一壺濁酒馬哥Linux培訓老男孩linux培訓滴水穿石孫杰koumm的linux技術博客CloudMan