48.wkhtml安装使用

下载安装 1 2 3 4 5 6 7 8 9 10 11 12 #安装依赖 yum install -y fontconfig libX11 libXext libXrender xorg-x11-fonts-75dpi xorg-x11-fonts-Type1 #下载: https://wkhtmltopdf.org/downloads.html #根据操作系统情况,选择需要的版本,这里使用 wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm #安装rpm包 rpm -ivh wkhtmltox-0.12.5-1.centos7.x86_64.rpm 中

47.K8S集成EFK

参考资料 https://github.com/elastic/beats/tree/master/deploy/kubernetes https://stackoverflow.com/questions/50931623/multi-line-logs-into-es-from-filebeat-deployed-as-kubernetes-daemonset https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/fluentd-elasticsearch https://arch-long.cn/articles/elasticsearch/FileBeat.html 需要把日志输出到控制台 修改logback.xml 控制台日志格式:%d [%thread] %c:%L-%m%n 使用stdout的方式输出日志 EFK安装 E:elasticsearch F:fil

46.k8s安装ES集群

参考资料 https://github.com/pires/kubernetes-elasticsearch-cluster 单机安装 参照 6.5.3的docker文件: https://github.com/elastic/elasticsearch-docker/releases/tag/6.5.3 build/elasticsearch/bin/docker-entrypoint.sh 外挂pvc到cephfs时,需要手动把文件夹目录权限调整一下(直接修改cephfs)

45.k8s安装MySQL MGR集群

参考资料 https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/ https://mysqlhighavailability.com/setting-up-mysql-group-replication-with-mysql-docker-images/ https://github.com/gites/k8s-mysql-group-replication/blob/master/README.md https://segmentfault.com/a/1190000014966962 单实例MySQL 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

44.k8s安装RedisCluster集群

参考资料 https://github.com/sanderploegsma/redis-cluster https://www.cnblogs.com/cocowool/p/kubernetes_statefulset.html https://www.cnblogs.com/puyangsky/p/6677308.html https://www.cnblogs.com/Jack47/p/deploy-stateful-application-on-Kubernetes.html 单实例Redis 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

43.Istio安装配置

1. Istio简介 1.1.参考资料 https://www.jianshu.com/p/8104194ff6fd https://blog.csdn.net/chenleiking/article/details/79785493 https://yq.aliyun.com/articles/629013 https://istio.io/zh/docs/ http://blog.daocloud.io/where-is-the-request-1/ https://www.yangcs.net/ https://www.yangcs.net/posts/istio-traffic-management-impl-intro/ https://www.jianshu.com/p/7ac4f1de21dd https://istio.io/zh/docs/reference/config/istio.networking.v1alpha3/ https://blog.csdn.net/Ybt_c_index/article/details/81034971 https://istio.io/zh/blog/2018/v1alpha3-routing/ https://www.cnblogs.com/mathli/archive/2018/11/13/9952483.html http://www.servicemesher.com/ ###1.5.0之后,做了重构### https://istio.io/docs/reference/commands/operator/ https://istio.io/docs/reference/config/istio.operator.v1alpha1/ https://istio.io/docs/reference/config/istio.operator.v1alpha1/#KubernetesResourcesSpec https://mp.weixin.qq.com/s/WjiKUSSnxQhgs-t4eJ0CVw 1.2.架构说明(1.5.0做了重构)

41.grpc使用手册

RCP流程 1.服务调用方(Client)将远程方法的信息(如类名.方法方法名.方法传入的参数)封装为统一的请求体: 2.序列化请求对象,转化为

39.k8s安装配置

1. 参考资料 https://www.cnblogs.com/RainingNight/p/using-kubeadm-to-create-a-cluster-1-13.html https://mp.weixin.qq.com/s/JCHyqkXYjToAjazeUwNXnQ https://jimmysong.io/ http://dockone.io/article/8115 https://www.huweihuang.com/kubernetes-notes/ https://my.oschina.net/zili/blog/1031428 https://www.kubernetes.org.cn/4956.html http://docs.kubernetes.org.cn/317.html https://www.kubernetes.org.cn/4664.html https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/ https://blog.csdn.net/mailjoin/article/details/79686934 https://my.oschina.net/u/1791060/blog/830023 https://blog.qikqiak.com/post/pod-workflow/ https://www.huweihuang.com/article/kubernetes/core-principle/kubernetes-core-principle-api-server/ https://www.huweihuang.com/article/kubernetes/core-principle/kubernetes-core-principle-controller-manager/ https://www.huweihuang.com/article/kubernetes/core-principle/kubernetes-core-principle-kubelet/ https://blog.csdn.net/ywq935/article/details/82716366 https://www.cnblogs.com/RainingNight/p/deploying-k8s-dashboard-ui.html https://kubernetes.io/docs/setup/independent/high-availability/ 2. k8s组件说明 2.1.整体架构图 kubernetes的架构分为Master和Node两部分

38.Etcd安装配置

下载安装 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 wget https://github.com/etcd-io/etcd/releases/download/v3.4.13/etcd-v3.4.13-linux-amd64.tar.gz ##解压: mkdir /usr/local/etcd tar xzvf etcd-v3.4.13-linux-amd64.tar.gz -C /usr/local/etcd --strip-components=1 ###查看版本### /usr/local/etcd/etcd --version ###前台启动### /usr/local/etcd/etcd ###另开sh