![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tech
文章平均质量分 67
王化冰
技术是用来分享的,想法是自己的
展开
-
Rancher管理K8s集群
Rancher 的官网:https://rancher.com/主机 ip master:k8s/centos7 192.168.xx.01 master:rancher/centos7 192.168.xx.02 首先安装dockeryum install -y docker启动 Rancherdocker run --privileged -d --restart=unless-stopped -p 8080:80 -p 8443:443 -v ..原创 2021-11-21 17:31:46 · 1151 阅读 · 0 评论 -
K8s主节点安装dashboard
一,下载dashboard配置文件修改并应用,(注意k8s版本与dashboard版本一致)curl https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc7/aio/deploy/recommended.yaml -o recommended.yaml修改recommended.yaml新增type: NodePort 和 nodePort:31443spec: type: NodePort ports:原创 2021-09-27 09:49:50 · 297 阅读 · 0 评论 -
K8s使用Kubeadm搭建主从节点
一,环境规划环境Ip/hostname 节点名称 内存 192.168.10.30/master.example.com master 8G 192.168.10.31/node01.example.com node01 4G 192.168.10.32/node02.example.com node02 4G 二,#固定虚拟机Ipcd /etc/sysconfig/net-script/xxx-enth修改dhcp->sta.原创 2021-09-27 09:26:12 · 327 阅读 · 0 评论 -
CentOS7下使用Docker容器整合nginx+tomcat集群+redis+mysql实现Session共享第一篇(框架篇)
首先来个截图,需要制作nginx tomcat redis 和redis镜像。然后运行容器开放相应服务的端口访问代理服务访问主页查看session存储访问数据库 1,在docker运行容器中访问数据库:docker exec -it mymysql /bin/bash 数据库中表 testdata 中的数据是这样的:网页访问数据,获取数据:docker使用确实很方便,不过前期摸索,...原创 2018-06-03 11:24:54 · 3965 阅读 · 2 评论