Kubernetes实战

Kubernetes (一) 

1.梳理k8s 各组件功能

https://www.cnblogs.com/birkhoffxia/articles/17150229.html

2.基本掌握containerd的安装和是使用

https://www.cnblogs.com/birkhoffxia/articles/17150488.html

3.基于kubeadm和containerd部署单master k8s v1.26.0

https://www.cnblogs.com/birkhoffxia/articles/17167414.html

4.部署harbor并实现https(SAN签发证书)

https://www.cnblogs.com/birkhoffxia/articles/17153652.html

5.部署haproxy和keepalived高可用负载均衡

 https://www.cnblogs.com/birkhoffxia/articles/17164418.html

 

Kubernetes (二) 

1.kubernetes高可用集群二进制部署-kubeasz

https://www.cnblogs.com/birkhoffxia/articles/17831579.html

2.etcd的备份和恢复-基于快照

https://www.cnblogs.com/birkhoffxia/articles/17850263.html

3.整理coredns的域名解析流程和Corefile配置

https://www.cnblogs.com/birkhoffxia/articles/17854908.html

4.dashboard的使用

https://www.cnblogs.com/birkhoffxia/articles/17854908.html

 

Kubernetes (三) 

1.实现基于velero对etcd的单独namespace的备份和恢复

https://www.cnblogs.com/birkhoffxia/articles/17192328.html

2.掌握k8s中常见的资源对象的使用:

job & cronjob

https://www.cnblogs.com/birkhoffxia/articles/17863106.html

deployment

https://www.cnblogs.com/birkhoffxia/articles/17198215.html

service

https://www.cnblogs.com/birkhoffxia/articles/17198686.html

configmap

https://www.cnblogs.com/birkhoffxia/articles/17202336.html

secret

https://www.cnblogs.com/birkhoffxia/articles/17208830.html

3.掌握基于NFS实现pod数据持久化的使用方式,测试emptyDir、hostPath的使用

https://www.cnblogs.com/birkhoffxia/articles/17210709.html

4.实现基于Secret实现nginx的tls认证、并实现私有仓库镜像的下载认证【有待实操,后续补】

https://www.cnblogs.com/birkhoffxia/articles/17855434.html

 

Kubernetes (四)-第六周

1.基于StatefulSet部署有状态访问、基于DaemonSet在每一个node节点部署一个prometheus node-exporter

StatefulSet:https://www.cnblogs.com/birkhoffxia/articles/17213792.html

Daemonset:https://www.cnblogs.com/birkhoffxia/articles/17213726.html

2.熟悉pod的常见状态及故障原因.

https://www.cnblogs.com/birkhoffxia/articles/17213934.html

3.熟练使用startupProbe、livenessProbe、readinessProbe探针对pod进行状态监测

https://www.cnblogs.com/birkhoffxia/articles/17213934.html

4.掌握基于nerdctl + buildkitd构建容器镜像

https://www.cnblogs.com/birkhoffxia/articles/17217316.html

5.自定义镜像运行Nginx及Java服务并基于NAS实现动静分离
6.运行zookeeper集群

 

Kubernetes (五)-第七周

1.基于StatefulSet控制器运行Redis Cluster

https://www.cnblogs.com/birkhoffxia/articles/17259911.html

https://www.cnblogs.com/birkhoffxia/articles/17262782.html

2.基于StatefulSet控制器运行MySQL一主多从

https://www.cnblogs.com/birkhoffxia/articles/17267022.html

3.实现单Pod多容器并实现LNMP且上一步骤的MySQL pod作为SQL服务器

https://www.cnblogs.com/birkhoffxia/articles/17267297.html

https://www.cnblogs.com/birkhoffxia/articles/17267217.html

4.基于Zookeeper案例实现微服务动态注册和发现案例

后补未做

扩展:  
    1.掌握HPA控制器的使用

https://www.cnblogs.com/birkhoffxia/articles/17252308.html
    2.掌握k8s 的账户授权

https://www.cnblogs.com/birkhoffxia/articles/17267592.html

 

Kubernetes (六)-第八周

1.Kubernetes Container、Pod、Namespace内存及CPU限制

https://www.cnblogs.com/birkhoffxia/articles/17293930.html

2.nodeSelector、nodeName、node亲和与反亲和

https://www.cnblogs.com/birkhoffxia/articles/17221003.html

3.pod亲和与反亲和、污点与容忍、驱逐

https://www.cnblogs.com/birkhoffxia/articles/17221103.html

4.搭建ELK及kafka日志收集环境

https://www.cnblogs.com/birkhoffxia/articles/17283817.html

5.实现daemonset和sidcar日志收集

https://www.cnblogs.com/birkhoffxia/articles/17294792.html

 

Kubernetes (七)-第九周

1.日志收集案例-容器内置日志收集

https://www.cnblogs.com/birkhoffxia/articles/17300994.html

2.overlay与underlay通信总结

https://www.cnblogs.com/birkhoffxia/articles/17300997.html

3.网络组件flannel总结

https://www.cnblogs.com/birkhoffxia/articles/17301000.html

4.NetworkPolicy Ingress及Egress简介及案例

https://www.cnblogs.com/birkhoffxia/articles/17301003.html

5.ingress使用总结

https://www.cnblogs.com/birkhoffxia/articles/17301005.html

 

Kubernetes (八)-第十周

1.基于Operator和二进制安装prometheus环境 & 2.通过node-exporter和cadvisor收集指标数据 & 3.通过grafana展示prometheus的node和pod数据

https://www.cnblogs.com/birkhoffxia/articles/17275357.html

https://www.cnblogs.com/birkhoffxia/articles/17275329.html

4.梳理prometheus服务发现

kubernetes_sd_configs: #基于 Kubernetes API 实现的服务发现,让 prometheus 动态发现 kubernetes 中被监控的目标
static_configs:#静态服务发现,基于prometheus 配置文件指定的监控目标
dns_sd _configs:#DNS 服务发现监控目标
consul_sd_configs:#Consul 服务发现,基于consul 服务动态发现监控目标
file_sd_configs:#基于指定的文件实现服务发现,基于指定的文件发现监控目标

5.在prometheus实现kubernetes-apiserver及coredns服务发现 

https://www.cnblogs.com/birkhoffxia/articles/17275357.html

 

Kubernetes (九)-第十一周

1.kubernetes 二进制部署的prometheus实现服务发现

2.prometheus 基于consul、file实现服务发现

https://www.cnblogs.com/birkhoffxia/articles/17276178.html

3.prometheus 监控案例-kube-state-metrics

https://www.cnblogs.com/birkhoffxia/articles/17364974.html

4.prometheus 监控案例-Tomcat、Redis、Mysql、Haproxy、Nginx

https://www.cnblogs.com/birkhoffxia/articles/17358125.html

5.基于blackbox_exporter实现对URL状态、IP可用性、端口状态、TLS证书的过期时间监控

https://www.cnblogs.com/birkhoffxia/articles/17362174.html

6.prometheus 结合钉钉实现告警通知、企业微信实现告警通知、告警模板的使用、告警分类发送

https://www.cnblogs.com/birkhoffxia/articles/17363461.html

 

Kubernetes (十)-第十二周

1.实现基于prometheus联邦收集node的指标数据

https://www.cnblogs.com/birkhoffxia/articles/17364926.html

2.总结prometheus单机存储、实现victoriametrics单机远程存储 

https://www.cnblogs.com/birkhoffxia/articles/17367352.html

3.实现prometheus 基于victoriametrics 集群远程存储

https://www.cnblogs.com/birkhoffxia/articles/17367352.html

4.skywalking 架构整理、docker-compsoe安装、skywalking实现收集java博客追踪案例

https://www.cnblogs.com/birkhoffxia/articles/17331745.html

5.skywalking 实现基于nginx+java服务的全链路数据收集

https://www.cnblogs.com/birkhoffxia/articles/17333080.html

 

Kubernetes (十一)-第十三周

1.虚拟机环境 dubbo微服务链路跟踪案例

https://www.cnblogs.com/birkhoffxia/articles/17345448.html

2.skywalking 实现收集kubernetes环境dubbo微服务链路跟踪案例

https://www.cnblogs.com/birkhoffxia/articles/17345448.html

3.skywalking 实现收集基于python的Django项目链路追踪案例

https://www.cnblogs.com/birkhoffxia/articles/17348544.html

4.skywalking 实现钉钉告警

https://www.cnblogs.com/birkhoffxia/articles/17348835.html

 

 

 

 

 
posted @ 2023-02-28 12:41  しみずよしだ  阅读(53)  评论(0)    收藏  举报