Kubernetes技术详解-从理论到实践-(附录A)-配套资料包介绍
1 配套资料包地址及专栏地址
本资源为专栏《kubernetes技术详解-从理论到实践》的配套资源。
资源地址:
https://download.csdn.net/download/field1003/91965690
专栏《kubernetes技术详解-从理论到实践》地址如下:
https://blog.csdn.net/field1003/article/details/151859722
2 配套资料包资源简介
本资源包分为两大部分,环境搭建和案例实践。1-Setup为Kubernetes环境部署;其余目录和专栏文章一一对应,为Kubernetes技术实践案例。
Kubernetes安装时需要连接到github等站点,国内用户访问可能受限。为聚焦核心问题,快速掌握Kubernetes技术,本资料包1-setup目录包含了本专栏所需的所有离线安装包,包括常用rpm安装包,常用镜像,Docker离线安装包,K3s离线安装包,Helm离线安装包,可以在离线情况下单台虚拟机快速部署K3s环境。
Kubernetes较为厚重,本专栏演示环境采用了K3s轻量级方案。对于个人开发和学习而言,K3s和K8s体验感差别不是很大,K3s掌握后可以很轻松切换到K8s。
本专栏文章示例所涉及源码在配套资料包对应目录下,直接下载即可运行,方便边学边练。
注:配套资料包请尽快下载,上传时选择的是不需要积分就可以下载,但CSDN系统后台有时候会根据某种算法修改为需要积分才能下载,所以建议早下手,早囤早吃灰。
3 配套资料包目录结构
配套资料包的目录结构如下,每一个目录对应专栏的一个章节。
- 1-setup 环境部署
- 2-pod Pod
- 3-namespace 命名空间
- 4-replicaset ReplicaSet控制器
- 5-deployment Deployment控制器
- 6-service 服务
- 7-storage 存储
- 8-statefulset StatefulSet有状态控制器
- 9-controlling-access 访问控制
- 10-dashboard WebUI
- 11-ingress 网关
- 12-helm 包管理
- 13-cluster 集群
- 14-job 任务
- 15-cronjob 定时任务
- 16-daemonset DaemonSet控制器
- 17-scheduling 调度
- readme.txt 说明文档
4 配套资料包详细目录及文件
下面是配套资料包的详细目录和文件。
每个目录和文件的作用,在各章节已经详细说明,这里就不再赘述了。
├── 1-setup
│ ├── images
│ │ ├── busybox_1.34.1.tar.gz
│ │ ├── dashboard-v2.7.0.tar
│ │ ├── ingress-nginx-controller-v1.12.0.tar
│ │ ├── kube-webhook-certgen-v1.5.0.tar
│ │ ├── metrics-scraper-v1.0.8.tar
│ │ ├── nfs-provisioner-v4.0.2.tar.gz
│ │ └── nginx_1.27.3.tar.gz
│ ├── install-docker
│ │ ├── docker.service
│ │ ├── docker.tgz
│ │ └── install_docker.sh
│ ├── install-helm
│ │ ├── helm
│ │ └── install_helm.sh
│ ├── install-k3s
│ │ ├── install-k3s.sh
│ │ ├── k3s
│ │ └── k3s-images.tar.gz
│ └── rpm-packages
│ ├── busybox-1.34.1-13.oe2203.x86_64.rpm
│ ├── net-tools-2.10-1.oe2203.x86_64.rpm
│ ├── nfs-utils-2.5.4-4.oe2203.x86_64.rpm
│ ├── tar-1.34-1.oe2203.x86_64.rpm
│ └── tree-1.8.0-2.oe2203.x86_64.rpm
├── 2-pod
│ ├── multi-containers-pod.yaml
│ ├── nginx-busybox-pods.yaml
│ └── nginx-pod.yaml
├── 3-namespace
│ ├── dev-namespace.yaml
│ └── nginx-namespace-pod.yaml
├── 4-replicaset
│ └── nginx-replicas.yaml
├── 5-deployment
│ ├── nginx-deploy-update-recreate.yaml
│ ├── nginx-deploy-update-rollingupdate.yaml
│ └── nginx-deploy.yaml
├── 6-service
│ ├── nginx-busybox-pods.yaml
│ ├── nginx-clusterip-svc.yaml
│ ├── nginx-deploy.yaml
│ ├── nginx-endpoints-svc.yaml
│ ├── nginx-endpoints.yaml
│ ├── nginx-externalname2-svc.yaml
│ ├── nginx-externalname-svc.yaml
│ ├── nginx-loadbalancer-svc.yaml
│ └── nginx-nodeport-svc.yaml
├── 7-storage
│ ├── configmap
│ │ ├── configmap-as-env
│ │ │ ├── nginx-configmap.yaml
│ │ │ └── nginx-pod.yaml
│ │ └── configmap-as-file
│ │ ├── nginx-file-configmap.yaml
│ │ └── nginx-file-pod.yaml
│ ├── data
│ │ ├── hostpath
│ │ └── hostpath-delete
│ ├── dynamic-pv
│ │ ├── nfs-client-provisioner.yaml
│ │ ├── nfs-storageclass-rbac.yaml
│ │ ├── nfs-storageclass.yaml
│ │ ├── nginx-autopv-deploy.yaml
│ │ └── nginx-autopv-pvc.yaml
│ ├── nginx-lsc-pvc-deploy.yaml
│ ├── nginx-nfs-deploy-svc.yaml
│ ├── nginx-nfs-deploy.yaml
│ ├── nginx-pvc-deploy.yaml
│ ├── secret
│ │ ├── nginx-sec-pod.yaml
│ │ └── nginx-secret.yaml
│ ├── storage-delete-pvc.yaml
│ ├── storage-emptydir-pod.yaml
│ ├── storage-hostpath-delete-pv.yaml
│ ├── storage-hostpath-pod.yaml
│ ├── storage-hostpath-pv.yaml
│ ├── storage-local-path-sc-pvc.yaml
│ ├── storage-nfs-pv.yaml
│ └── storage-pvc.yaml
├── 8-statefulset
│ ├── data
│ ├── nginx-clusterip-svc.yaml
│ ├── nginx-deploy-headless-svc.yaml
│ ├── nginx-deploy.yaml
│ ├── nginx-headless-svc.yaml
│ ├── nginx-parallel-statefulset.yaml
│ ├── nginx-statefulset.yaml
│ └── nginx-sts-headless-svc.yaml
├── 9-controlling-access
│ ├── clusterrolebinding-test-sa.yaml
│ ├── clusterrole-pod-deploy-full.yaml
│ ├── rolebinding-alice.yaml
│ ├── role-pod-ro.yaml
│ ├── secret-token
│ │ └── testaaa.yaml
│ ├── testsauser
│ ├── test-sa.yaml
│ └── testuser
│ ├── testuser.crt
│ ├── testuser.csr
│ └── testuser.key
├── 10-dashboard
│ ├── dashboard-admin-sa.yaml
│ ├── recommended-offline.yaml
│ └── recommended.yaml
├── 11-ingress
│ ├── data
│ │ ├── www.a.com
│ │ │ └── index.html
│ │ └── www.b.com
│ │ └── index.html
│ ├── nginx-deploy-svc-a.yaml
│ ├── nginx-deploy-svc-b.yaml
│ ├── nginx-ingress-base-deploy.yaml
│ ├── nginx-ingress.yaml
│ └── nginx-traefik-ingress.yaml
├── 12-helm
│ ├── data
│ │ ├── busybox-data
│ │ ├── index.html
│ │ ├── pv0
│ │ │ └── index.html
│ │ ├── pv1
│ │ │ └── index.html
│ │ ├── pv2
│ │ │ └── index.html
│ │ └── repo-root
│ │ ├── bar-0.1.0.tgz
│ │ ├── foo-0.1.0.tgz
│ │ └── index.yaml
│ ├── nginx-helm-dir
│ │ ├── charts
│ │ ├── Chart.yaml
│ │ ├── templates
│ │ │ ├── _helpers.tpl
│ │ │ ├── local
│ │ │ │ ├── pv.yaml
│ │ │ │ ├── service.yaml
│ │ │ │ └── statefulset.yaml
│ │ │ ├── nfs
│ │ │ │ ├── service.yaml
│ │ │ │ └── statefulset.yaml
│ │ │ └── NOTES.txt
│ │ └── values.yaml
│ ├── nginx-helm-dir-include
│ │ ├── charts
│ │ ├── Chart.yaml
│ │ ├── templates
│ │ │ ├── _helpers.tpl
│ │ │ ├── local
│ │ │ │ ├── pv.yaml
│ │ │ │ ├── service.yaml
│ │ │ │ └── statefulset.yaml
│ │ │ ├── nfs
│ │ │ │ ├── service.yaml
│ │ │ │ └── statefulset.yaml
│ │ │ └── NOTES.txt
│ │ └── values.yaml
│ ├── nginx-helm-dir-initc
│ │ ├── charts
│ │ ├── Chart.yaml
│ │ ├── templates
│ │ │ ├── _helpers.tpl
│ │ │ ├── local
│ │ │ │ ├── pv.yaml
│ │ │ │ ├── service.yaml
│ │ │ │ └── statefulset.yaml
│ │ │ ├── nfs
│ │ │ │ ├── service.yaml
│ │ │ │ └── statefulset.yaml
│ │ │ └── NOTES.txt
│ │ └── values.yaml
│ ├── nginx-helm-pv
│ │ ├── charts
│ │ ├── Chart.yaml
│ │ ├── templates
│ │ │ ├── _helpers.tpl
│ │ │ ├── NOTES.txt
│ │ │ └── pv.yaml
│ │ └── values.yaml
│ ├── nginx-helm-pv-ss
│ │ ├── charts
│ │ ├── Chart.yaml
│ │ ├── templates
│ │ │ ├── _helpers.tpl
│ │ │ ├── NOTES.txt
│ │ │ ├── pv.yaml
│ │ │ └── statefulset.yaml
│ │ └── values.yaml
│ ├── nginx-helm-pv-ss-svc
│ │ ├── charts
│ │ ├── Chart.yaml
│ │ ├── templates
│ │ │ ├── _helpers.tpl
│ │ │ ├── NOTES.txt
│ │ │ ├── pv.yaml
│ │ │ ├── service.yaml
│ │ │ └── statefulset.yaml
│ │ └── values.yaml
│ ├── nginx-helm-repo
│ │ ├── bar
│ │ │ ├── charts
│ │ │ ├── Chart.yaml
│ │ │ ├── templates
│ │ │ │ ├── deployment.yaml
│ │ │ │ ├── _helpers.tpl
│ │ │ │ ├── hpa.yaml
│ │ │ │ ├── ingress.yaml
│ │ │ │ ├── NOTES.txt
│ │ │ │ ├── serviceaccount.yaml
│ │ │ │ ├── service.yaml
│ │ │ │ └── tests
│ │ │ │ └── test-connection.yaml
│ │ │ └── values.yaml
│ │ ├── foo
│ │ │ ├── charts
│ │ │ ├── Chart.yaml
│ │ │ ├── templates
│ │ │ │ ├── deployment.yaml
│ │ │ │ ├── _helpers.tpl
│ │ │ │ ├── hpa.yaml
│ │ │ │ ├── ingress.yaml
│ │ │ │ ├── NOTES.txt
│ │ │ │ ├── serviceaccount.yaml
│ │ │ │ ├── service.yaml
│ │ │ │ └── tests
│ │ │ │ └── test-connection.yaml
│ │ │ └── values.yaml
│ │ └── packages
│ │ ├── bar-0.1.0.tgz
│ │ ├── foo-0.1.0.tgz
│ │ └── index.yaml
│ └── nginx-no-helm
│ ├── nginx-local-loadbalancer-service.yaml
│ ├── nginx-local-vct-statefulset.yaml
│ ├── nginx-nfs-loadbalancer-service.yaml
│ ├── nginx-nfs-vct-statefulset.yaml
│ ├── pv0.yaml
│ ├── pv1.yaml
│ └── pv2.yaml
├── 13-cluster
│ └── nginx-deploy.yaml
├── 14-job
│ └── busybox-job.yaml
├── 15-cronjob
│ └── busybox-cronjob.yaml
├── 16-daemonset
│ └── busybox-daemonset.yaml
├── 17-scheduling
│ ├── nginx-deploy.yaml
│ ├── nginx-nodeaffinity.yaml
│ ├── nginx-nodename.yaml
│ ├── nginx-nodeselector.yaml
│ ├── nginx-podaffinity.yaml
│ ├── nginx-podantiaffinity.yaml
│ ├── nginx-tolerations2.yaml
│ └── nginx-tolerations.yaml
└── readme.txt
更多推荐


所有评论(0)