├── Chapter1 ├── 1.3.2 mysql-rc.yaml ├── 1.3.2 mysql-svc.yaml ├── 1.3.3 myweb-rc.yaml ├── 1.3.3 myweb-svc.yaml ├── 1.4.12 pv-pvc.yaml ├── 1.4.13 namespace.yaml ├── 1.4.3 myweb-pod.yaml ├── 1.4.5 frontend-rc.yaml ├── 1.4.6 frontend-deployment.yaml ├── 1.4.7 hpa.yaml ├── 1.4.9 tomcat-service-multiple-ports.yaml ├── 1.4.9 tomcat-service-nodeport.yaml └── 1.4.9 tomcat-service.yaml ├── Chapter10 ├── 10.1.1 unschedule_node.yaml ├── 10.10 audit-policy.yaml ├── 10.11 dashboard.yaml ├── 10.3.1 namespace-development.yaml ├── 10.3.1 namespace-production.yaml ├── 10.4.1 pod-hugepages.yaml ├── 10.4.1 pod-resources-setting.yaml ├── 10.4.2 invalid-pod.yaml ├── 10.4.2 limit-test-nginx.yaml ├── 10.4.2 limitrange.yaml ├── 10.4.2 valid-pod.yaml ├── 10.4.4 resourcequota-compute-resources.yaml ├── 10.4.4 resourcequota-object-counts.yaml ├── 10.4.5 limitrange-resourcequota-practice.yaml ├── 10.6 poddisruptionbudget.yaml ├── 10.7 k8s-master-ha.yaml ├── 10.8.1 metrics-server.yaml ├── 10.8.2 prometheus-grafana.yaml └── 10.9 elasticsearch-fluentd-kibana.yml ├── Chapter12 ├── 12.1.1 windows-container.yaml ├── 12.2.1 gpu-amd-device-plugin.yaml ├── 12.2.1 gpu-nvidia-device-plugin.yaml ├── 12.2.2 pod-use-gpu.yaml └── 12.3.3 verticalpodautoscaler.yaml ├── Chapter2 ├── 2.2.2 clusterconfiguration.yaml ├── 2.3.1 kubernetes-config-files.txt ├── 2.3.1 systemd-service-unit-files.service └── 2.4.1 kubernetes-ssl-config-files.txt ├── Chapter3 ├── 3.10 init-containers.yaml ├── 3.11.1 deployment-update-rollback.yaml ├── 3.11.4 rc-rolling-update.yaml ├── 3.12.1 deployment-scale.yaml ├── 3.12.2 hpa-v1.yaml ├── 3.12.2 hpa-v2.yaml ├── 3.13 statefulset-mongodb-cluster.yaml ├── 3.2 frontend-localredis-pod.yaml ├── 3.3 static-web.yaml ├── 3.4 pod-volume-applogs.yaml ├── 3.5.2 cm-appconfigfiles.yaml ├── 3.5.2 cm-appvars.yaml ├── 3.5.3 cm-test-pod-envfrom.yaml ├── 3.5.3 cm-test-pod-use-envvar.yaml ├── 3.5.3 cm-test-pod-volume.yaml ├── 3.6.1 dapi-test-pod.yaml ├── 3.6.2 dapi-test-pod-container-vars.yaml ├── 3.6.3 dapi-test-pod-volume.yaml ├── 3.8 pod-livenessprobe.yaml ├── 3.9.1 nginx-deployment.yaml ├── 3.9.10 customized-scheduler.yaml ├── 3.9.2 redis-rc-nodeselector.yaml ├── 3.9.3 pod-nodeaffinity.yaml ├── 3.9.4 pod-podaffinity.yaml ├── 3.9.5 pod-taints-tolerations.yaml ├── 3.9.6 pod-priority.yaml ├── 3.9.7 daemonset.yaml ├── 3.9.8 job.yaml └── 3.9.9 cronjob.yaml ├── Chapter4 ├── 4.2 webapp-rc-service.yaml ├── 4.2.1 service-multiple-ports.yaml ├── 4.2.2 external-service.yaml ├── 4.3.2 headless-service-cassandra.yaml ├── 4.4.1 pod-hostnetwork.yaml ├── 4.4.1 pod-hostport.yaml ├── 4.4.2 service-nodeport.yaml ├── 4.5.2 coredns.yaml ├── 4.5.5 pod-dnsconfig.yaml ├── 4.6.1 ingress.yaml └── 4.6.5 ingress-tls.yaml ├── Chapter6 ├── 6.2.3 rbac.yaml ├── 6.5 imagepullsecret.yaml ├── 6.5 secret.yaml ├── 6.6.1 podsecuritypolicy.yaml ├── 6.6.2 podsecuritypolicy-examples.yaml └── 6.6.3 pod-securitycontext.yaml ├── Chapter7 ├── 7.5 pod-service-network.yaml ├── 7.6.2 cni-plugin-examples.json ├── 7.7.1 networkpolicy.yaml ├── 7.7.2 default-networkpolicy-in-namespace.yaml └── 7.8.4 cni-calico.yaml ├── Chapter8 ├── 8.2 pv-nfs.yaml ├── 8.2.1 pv-block-volume.yaml ├── 8.2.1 pv-mountoptions.yaml ├── 8.2.1 pv-nodeaffinity.yaml ├── 8.3 pvc.yaml ├── 8.5 storage-class.yaml ├── 8.5.1 storage-class-examples.yaml ├── 8.5.2 default-storageclass.yaml ├── 8.6 glusterfs-heketi.yaml ├── 8.7.3 csi-hostpath.yaml └── 8.7.4 volumesnapshot.yaml ├── Chapter9 ├── 9.4.1 customresourcedefinition.yaml └── 9.4.2 apiaggregation-apiservice.yaml └── README.md /Chapter1/1.3.2 mysql-rc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.3.2 mysql-rc.yaml -------------------------------------------------------------------------------- /Chapter1/1.3.2 mysql-svc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.3.2 mysql-svc.yaml -------------------------------------------------------------------------------- /Chapter1/1.3.3 myweb-rc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.3.3 myweb-rc.yaml -------------------------------------------------------------------------------- /Chapter1/1.3.3 myweb-svc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.3.3 myweb-svc.yaml -------------------------------------------------------------------------------- /Chapter1/1.4.12 pv-pvc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.4.12 pv-pvc.yaml -------------------------------------------------------------------------------- /Chapter1/1.4.13 namespace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.4.13 namespace.yaml -------------------------------------------------------------------------------- /Chapter1/1.4.3 myweb-pod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.4.3 myweb-pod.yaml -------------------------------------------------------------------------------- /Chapter1/1.4.5 frontend-rc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.4.5 frontend-rc.yaml -------------------------------------------------------------------------------- /Chapter1/1.4.6 frontend-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.4.6 frontend-deployment.yaml -------------------------------------------------------------------------------- /Chapter1/1.4.7 hpa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.4.7 hpa.yaml -------------------------------------------------------------------------------- /Chapter1/1.4.9 tomcat-service-multiple-ports.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.4.9 tomcat-service-multiple-ports.yaml -------------------------------------------------------------------------------- /Chapter1/1.4.9 tomcat-service-nodeport.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.4.9 tomcat-service-nodeport.yaml -------------------------------------------------------------------------------- /Chapter1/1.4.9 tomcat-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter1/1.4.9 tomcat-service.yaml -------------------------------------------------------------------------------- /Chapter10/10.1.1 unschedule_node.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.1.1 unschedule_node.yaml -------------------------------------------------------------------------------- /Chapter10/10.10 audit-policy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.10 audit-policy.yaml -------------------------------------------------------------------------------- /Chapter10/10.11 dashboard.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.11 dashboard.yaml -------------------------------------------------------------------------------- /Chapter10/10.3.1 namespace-development.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Namespace 3 | metadata: 4 | name: development 5 | -------------------------------------------------------------------------------- /Chapter10/10.3.1 namespace-production.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Namespace 3 | metadata: 4 | name: production 5 | -------------------------------------------------------------------------------- /Chapter10/10.4.1 pod-hugepages.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.4.1 pod-hugepages.yaml -------------------------------------------------------------------------------- /Chapter10/10.4.1 pod-resources-setting.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.4.1 pod-resources-setting.yaml -------------------------------------------------------------------------------- /Chapter10/10.4.2 invalid-pod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.4.2 invalid-pod.yaml -------------------------------------------------------------------------------- /Chapter10/10.4.2 limit-test-nginx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.4.2 limit-test-nginx.yaml -------------------------------------------------------------------------------- /Chapter10/10.4.2 limitrange.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.4.2 limitrange.yaml -------------------------------------------------------------------------------- /Chapter10/10.4.2 valid-pod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.4.2 valid-pod.yaml -------------------------------------------------------------------------------- /Chapter10/10.4.4 resourcequota-compute-resources.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.4.4 resourcequota-compute-resources.yaml -------------------------------------------------------------------------------- /Chapter10/10.4.4 resourcequota-object-counts.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.4.4 resourcequota-object-counts.yaml -------------------------------------------------------------------------------- /Chapter10/10.4.5 limitrange-resourcequota-practice.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.4.5 limitrange-resourcequota-practice.yaml -------------------------------------------------------------------------------- /Chapter10/10.6 poddisruptionbudget.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.6 poddisruptionbudget.yaml -------------------------------------------------------------------------------- /Chapter10/10.7 k8s-master-ha.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.7 k8s-master-ha.yaml -------------------------------------------------------------------------------- /Chapter10/10.8.1 metrics-server.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.8.1 metrics-server.yaml -------------------------------------------------------------------------------- /Chapter10/10.8.2 prometheus-grafana.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.8.2 prometheus-grafana.yaml -------------------------------------------------------------------------------- /Chapter10/10.9 elasticsearch-fluentd-kibana.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter10/10.9 elasticsearch-fluentd-kibana.yml -------------------------------------------------------------------------------- /Chapter12/12.1.1 windows-container.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter12/12.1.1 windows-container.yaml -------------------------------------------------------------------------------- /Chapter12/12.2.1 gpu-amd-device-plugin.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter12/12.2.1 gpu-amd-device-plugin.yaml -------------------------------------------------------------------------------- /Chapter12/12.2.1 gpu-nvidia-device-plugin.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter12/12.2.1 gpu-nvidia-device-plugin.yaml -------------------------------------------------------------------------------- /Chapter12/12.2.2 pod-use-gpu.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter12/12.2.2 pod-use-gpu.yaml -------------------------------------------------------------------------------- /Chapter12/12.3.3 verticalpodautoscaler.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter12/12.3.3 verticalpodautoscaler.yaml -------------------------------------------------------------------------------- /Chapter2/2.2.2 clusterconfiguration.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter2/2.2.2 clusterconfiguration.yaml -------------------------------------------------------------------------------- /Chapter2/2.3.1 kubernetes-config-files.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter2/2.3.1 kubernetes-config-files.txt -------------------------------------------------------------------------------- /Chapter2/2.3.1 systemd-service-unit-files.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter2/2.3.1 systemd-service-unit-files.service -------------------------------------------------------------------------------- /Chapter2/2.4.1 kubernetes-ssl-config-files.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter2/2.4.1 kubernetes-ssl-config-files.txt -------------------------------------------------------------------------------- /Chapter3/3.10 init-containers.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.10 init-containers.yaml -------------------------------------------------------------------------------- /Chapter3/3.11.1 deployment-update-rollback.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.11.1 deployment-update-rollback.yaml -------------------------------------------------------------------------------- /Chapter3/3.11.4 rc-rolling-update.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.11.4 rc-rolling-update.yaml -------------------------------------------------------------------------------- /Chapter3/3.12.1 deployment-scale.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.12.1 deployment-scale.yaml -------------------------------------------------------------------------------- /Chapter3/3.12.2 hpa-v1.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.12.2 hpa-v1.yaml -------------------------------------------------------------------------------- /Chapter3/3.12.2 hpa-v2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.12.2 hpa-v2.yaml -------------------------------------------------------------------------------- /Chapter3/3.13 statefulset-mongodb-cluster.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.13 statefulset-mongodb-cluster.yaml -------------------------------------------------------------------------------- /Chapter3/3.2 frontend-localredis-pod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.2 frontend-localredis-pod.yaml -------------------------------------------------------------------------------- /Chapter3/3.3 static-web.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.3 static-web.yaml -------------------------------------------------------------------------------- /Chapter3/3.4 pod-volume-applogs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.4 pod-volume-applogs.yaml -------------------------------------------------------------------------------- /Chapter3/3.5.2 cm-appconfigfiles.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.5.2 cm-appconfigfiles.yaml -------------------------------------------------------------------------------- /Chapter3/3.5.2 cm-appvars.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.5.2 cm-appvars.yaml -------------------------------------------------------------------------------- /Chapter3/3.5.3 cm-test-pod-envfrom.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.5.3 cm-test-pod-envfrom.yaml -------------------------------------------------------------------------------- /Chapter3/3.5.3 cm-test-pod-use-envvar.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.5.3 cm-test-pod-use-envvar.yaml -------------------------------------------------------------------------------- /Chapter3/3.5.3 cm-test-pod-volume.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.5.3 cm-test-pod-volume.yaml -------------------------------------------------------------------------------- /Chapter3/3.6.1 dapi-test-pod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.6.1 dapi-test-pod.yaml -------------------------------------------------------------------------------- /Chapter3/3.6.2 dapi-test-pod-container-vars.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.6.2 dapi-test-pod-container-vars.yaml -------------------------------------------------------------------------------- /Chapter3/3.6.3 dapi-test-pod-volume.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.6.3 dapi-test-pod-volume.yaml -------------------------------------------------------------------------------- /Chapter3/3.8 pod-livenessprobe.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.8 pod-livenessprobe.yaml -------------------------------------------------------------------------------- /Chapter3/3.9.1 nginx-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.9.1 nginx-deployment.yaml -------------------------------------------------------------------------------- /Chapter3/3.9.10 customized-scheduler.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.9.10 customized-scheduler.yaml -------------------------------------------------------------------------------- /Chapter3/3.9.2 redis-rc-nodeselector.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.9.2 redis-rc-nodeselector.yaml -------------------------------------------------------------------------------- /Chapter3/3.9.3 pod-nodeaffinity.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.9.3 pod-nodeaffinity.yaml -------------------------------------------------------------------------------- /Chapter3/3.9.4 pod-podaffinity.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.9.4 pod-podaffinity.yaml -------------------------------------------------------------------------------- /Chapter3/3.9.5 pod-taints-tolerations.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.9.5 pod-taints-tolerations.yaml -------------------------------------------------------------------------------- /Chapter3/3.9.6 pod-priority.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.9.6 pod-priority.yaml -------------------------------------------------------------------------------- /Chapter3/3.9.7 daemonset.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.9.7 daemonset.yaml -------------------------------------------------------------------------------- /Chapter3/3.9.8 job.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.9.8 job.yaml -------------------------------------------------------------------------------- /Chapter3/3.9.9 cronjob.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter3/3.9.9 cronjob.yaml -------------------------------------------------------------------------------- /Chapter4/4.2 webapp-rc-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.2 webapp-rc-service.yaml -------------------------------------------------------------------------------- /Chapter4/4.2.1 service-multiple-ports.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.2.1 service-multiple-ports.yaml -------------------------------------------------------------------------------- /Chapter4/4.2.2 external-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.2.2 external-service.yaml -------------------------------------------------------------------------------- /Chapter4/4.3.2 headless-service-cassandra.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.3.2 headless-service-cassandra.yaml -------------------------------------------------------------------------------- /Chapter4/4.4.1 pod-hostnetwork.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.4.1 pod-hostnetwork.yaml -------------------------------------------------------------------------------- /Chapter4/4.4.1 pod-hostport.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.4.1 pod-hostport.yaml -------------------------------------------------------------------------------- /Chapter4/4.4.2 service-nodeport.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.4.2 service-nodeport.yaml -------------------------------------------------------------------------------- /Chapter4/4.5.2 coredns.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.5.2 coredns.yaml -------------------------------------------------------------------------------- /Chapter4/4.5.5 pod-dnsconfig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.5.5 pod-dnsconfig.yaml -------------------------------------------------------------------------------- /Chapter4/4.6.1 ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.6.1 ingress.yaml -------------------------------------------------------------------------------- /Chapter4/4.6.5 ingress-tls.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter4/4.6.5 ingress-tls.yaml -------------------------------------------------------------------------------- /Chapter6/6.2.3 rbac.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter6/6.2.3 rbac.yaml -------------------------------------------------------------------------------- /Chapter6/6.5 imagepullsecret.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter6/6.5 imagepullsecret.yaml -------------------------------------------------------------------------------- /Chapter6/6.5 secret.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter6/6.5 secret.yaml -------------------------------------------------------------------------------- /Chapter6/6.6.1 podsecuritypolicy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter6/6.6.1 podsecuritypolicy.yaml -------------------------------------------------------------------------------- /Chapter6/6.6.2 podsecuritypolicy-examples.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter6/6.6.2 podsecuritypolicy-examples.yaml -------------------------------------------------------------------------------- /Chapter6/6.6.3 pod-securitycontext.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter6/6.6.3 pod-securitycontext.yaml -------------------------------------------------------------------------------- /Chapter7/7.5 pod-service-network.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter7/7.5 pod-service-network.yaml -------------------------------------------------------------------------------- /Chapter7/7.6.2 cni-plugin-examples.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter7/7.6.2 cni-plugin-examples.json -------------------------------------------------------------------------------- /Chapter7/7.7.1 networkpolicy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter7/7.7.1 networkpolicy.yaml -------------------------------------------------------------------------------- /Chapter7/7.7.2 default-networkpolicy-in-namespace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter7/7.7.2 default-networkpolicy-in-namespace.yaml -------------------------------------------------------------------------------- /Chapter7/7.8.4 cni-calico.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter7/7.8.4 cni-calico.yaml -------------------------------------------------------------------------------- /Chapter8/8.2 pv-nfs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.2 pv-nfs.yaml -------------------------------------------------------------------------------- /Chapter8/8.2.1 pv-block-volume.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.2.1 pv-block-volume.yaml -------------------------------------------------------------------------------- /Chapter8/8.2.1 pv-mountoptions.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.2.1 pv-mountoptions.yaml -------------------------------------------------------------------------------- /Chapter8/8.2.1 pv-nodeaffinity.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.2.1 pv-nodeaffinity.yaml -------------------------------------------------------------------------------- /Chapter8/8.3 pvc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.3 pvc.yaml -------------------------------------------------------------------------------- /Chapter8/8.5 storage-class.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.5 storage-class.yaml -------------------------------------------------------------------------------- /Chapter8/8.5.1 storage-class-examples.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.5.1 storage-class-examples.yaml -------------------------------------------------------------------------------- /Chapter8/8.5.2 default-storageclass.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.5.2 default-storageclass.yaml -------------------------------------------------------------------------------- /Chapter8/8.6 glusterfs-heketi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.6 glusterfs-heketi.yaml -------------------------------------------------------------------------------- /Chapter8/8.7.3 csi-hostpath.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.7.3 csi-hostpath.yaml -------------------------------------------------------------------------------- /Chapter8/8.7.4 volumesnapshot.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter8/8.7.4 volumesnapshot.yaml -------------------------------------------------------------------------------- /Chapter9/9.4.1 customresourcedefinition.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter9/9.4.1 customresourcedefinition.yaml -------------------------------------------------------------------------------- /Chapter9/9.4.2 apiaggregation-apiservice.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kubeguide/K8sDefinitiveGuide-V4-Sourcecode/HEAD/Chapter9/9.4.2 apiaggregation-apiservice.yaml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 《Kubernetes权威指南》第4版书中示例 2 | --------------------------------------------------------------------------------