https://github.com/goharbor/harbor-helm1.添加harbor的helm库helmrepoaddharborhttps://helm.goharbor.io2.将harbor下载到本地helmfetchharbor/harbortarxfharbor-1.1.1.tgz3.自定义配置默认的values.yaml基本不需要多大改动,只有极个别的需要自定义修改具体改
https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-clientnfs服务器见此篇kubernetes集群下安装nfs服务器一、helm安装helminstallstable/nfs-client-provisioner--setnfs.server=172.18.1.3--setnfs.path=/da
找一台服务器搭建一台nfs服务器系统:Ubuntu16.04IP:172.18.1.13aptinstallnfs-commonnfs-kernel-server-y#配置挂载信息cat/etc/exports/data/k8s*(rw,sync,no_root_squash)#给目录添加权限chmod-R777/data/k8s#启动/etc/init.d/nfs-kernel-serverst
操作系统:Ubuntu16.04服务器IP:172.18.1.121.安装bind9aptinstallbind9-y2.配置解析文件进入/etc/bind目录下,打开named.conf.local////Doanylocalconfigurationhere////Consideraddingthe1918zoneshere,iftheyarenotusedinyour//organizati
一、安装Jenkins1.安装存储服务器找一台服务器搭建一台nfs服务器<<详见Ubuntu16.04安装nfs>>系统:Ubuntu16.04IP:172.18.1.13aptinstallnfs-commonnfs-kernel-server-y#配置挂载信息cat/etc/exports/data/k8s*(rw,sync,no_root_squash)#给目录添加权
注意helm使用需要kubectl,点击了解安装和配置kubectl。Helm是Kubernetes首选的包管理工具。Helmcharts为KubernetesYAML清单文档提供模板语法。使用Helm,我们可以创建可配置的部署,而不仅仅是使用静态文件。有关创建自己的charts的更多信息,请查看https://helm.sh/文档。Helm有两个部分:Helm客户端(helm)和Helm服务端(
1.常规节点配置optionrequireddescriptionaddressyes公共域名或IP地址useryes可以运行docker命令的用户roleyes分配给节点的Kubernetes角色列表internal_addressno内部集群通信的私有域名或IP地址ssh_key_pathno用于对节点进行身份验证的SSH私钥的路径(默认为~/.ssh/id_rsa)以上表格的意思是:使用rk
一、架构说明二、配置负载均衡集群负载均衡列表:test-kube-nginx-lb-01172.18.1.12test-kube-nginx-lb-02172.18.1.10创建nginx配置cat>>/etc/nginx.conf<<EOFworker_processes4;worker_rlimit_nofile40000;events{worker_connectio
BackupsandDisasterRecoveryAsofv0.1.7,youcanconfigureaRKEclustertoautomaticallytakesnapshotsofetcd.Inadisasterscenario,youcanrestorethesesnapshots,whicharestoredonothernodesinthecluster.One-TimeSnapsho
InstallationRKEisafast,versatileKubernetesinstallerthatyoucanusetoinstallKubernetesonyourLinuxhosts.Youcangetstartedinacoupleofquickandeasysteps:DownloadtheRKEBinaryPreparetheNodesfortheKubernetesClus
OperatingSystemRequirementsRKErunsonalmostanyLinuxOSwithDockerinstalled.MostofthedevelopmentandtestingofRKEoccurredonUbuntu16.04.However,someOS'shaverestrictionsandspecificrequirements.SSHuser-The
ManagingRKEClustersAdding/RemovingNodeslinkRKEsupportsadding/removingnodesforworkerandcontrolplanehosts.Inordertoaddadditionalnodes,youupdatetheoriginalcluster.ymlfilewithanyadditionalnodesandspecifyt
sudoapt-getupdatesudoapt-get-yinstallapt-transport-httpsca-certificatescurlsoftware-properties-commoncurl-fsSLhttp://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg|sudoapt-keyadd-sudoadd-apt-repository
http://www.cnblogs.com/lemon-le/p/6266921.html 完整版的OpenLDAP搭建全过程 总结: 先写总结,再写正文,嘿嘿嘿。这还是第一次认真的写个文档,写个总结,哈哈。大概在一个月前,第一次听说这个东西,完全没有概念,刚开始的时候看理论的知识,看了几次之
https://www..com/lemon-le/p/7800879.html李先生在平凡中坚持前行,总有一天会遇到不一样的自己。nginx里proxy_pass有无/的区别nginx在反向代理的时候,proxy_pass需要指定路径,有无"/"的区别,如下:location/lile{配置一:proxy_passhttp://192.168.0.37/;配置二
1、配置docker的国内加速器docker版本为1.13.1需要配置一下daemon.json配置阿里云的docker加速器:wangpeng@ubuntu:~$ sudo vim /etc/docker/daemon.json { "registry-mirrors": [
>>> import sys >>> print sys.path ['', '/usr/lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-li
1、查看kvm镜像的格式信息[root@base-12-199 bakup]# qemu-img info 10.1.12.201_base-12-201 image: 10.1.12.201_base-12-201 file format: qcow2 virtual size: 200G (21
有个需求,需要特定的ip才能访问制定域名,但是使用私有云的slb负载后透过的ip,指向nginx反向代理后,使用nginx的ip限制无法控制ip访问。试了很多办法但是没有效果,后来尝试了以下方式,发现可以了。server{listen80;server_namexxx.xxx.xxx.cn;set$x$remote_addr;if($http_ali_cdn_real_ip){set$x$http
配置反向代理后发现访问域名是403,后来检查nginx.conf配置文件后发现,没有添加includexxxxxxx.conf;添加完毕访问正常!
51CTO博客开发王春海的博客Linux运维-小墨一壶浊酒马哥Linux培训老男孩linux培训滴水穿石孙杰koumm的linux技术博客CloudMan
新式类多重继承原则:广度优先,从左到右 ==================正确================== In [19]: class P1(object): ...: def foo(self): &nb
pip install pycrypto报错src/MD2.c:31:20: error: Python.h: No such file or directory src/MD2.c:120: error: expected
统计nginx访问日志,access.log形式:1xx.xx.xxx.xxx - - [09/Oct/2017:10:48:21 +0800] "GET /p_w_picpaths/yyy/2044/974435412336/Cover/9787503434r.jpg HTTP/1.1" 304 0 "http://www.xxx.net/" "Mozilla/5.0 (Window
出自:快乐的雨点的博客http://blog.csdn.net/xsj_blog/article/details/51847831字典排序在程序中使用字典进行数据信息统计时,由于字典是无序的所以打印字典时内容也是无序的。因此,为了使统计得到的结果更方便查看需要进行排序。Python中字典的排序分为按“键”排序和按“值”排序。按“值”排序按“值”排序就是根据字典的值进行排序,可以使用内置的sorte
root@ubuntu:~# apt-get update root@ubuntu:~# apt-get install ubuntu-desktoproot@ubuntu:~# apt-get install vnc4server root@ubuntu:~# vncserver root@ubuntu:~
一、Python 字符串大小写转换1、字符串大小写转换In [1]: string = 'www.test.com' In [2]: print('lower --> upper: %s' % string.upper()) lower --> upper:
django上传文件超过100M大小就会报Server responded with 0 code这个错误。在官方github上找到了解决方法,https://github.com/jumpserver/jumpserver/issues/270 1、nginx做反向代理2、后台jumpserver启动两个进程,一个是主进程负责界面处理,另一个负责上传一、安装nginx配置nginx反向代理(没有
给apm换一个软件源Atom的插件实际上在npm上,npm的官方源在国内访问起来是非常缓慢的。但是,国内有许多镜像源可以使用,如淘宝源(http://registry.npm.taobao.org/),CNPM(http://r.cnpmjs.org)。要设置apm使用的软件源很简单,执行下列命令:apm config set registry npm_mi
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号