diff --git a/k8s&container/kubernetes.md b/k8s&container/kubernetes.md new file mode 100644 index 0000000..4a9237b --- /dev/null +++ b/k8s&container/kubernetes.md @@ -0,0 +1,213 @@ +[TOC] + + + +# 备忘单 + +## [kubectl 备忘单](https://kubernetes.io/zh/docs/reference/kubectl/cheatsheet/) + + +## [获取正在运行容器的 Shell](https://kubernetes.io/zh/docs/tasks/debug-application-cluster/get-shell-running-container/) + + +## [配置对多集群的访问](https://kubernetes.io/zh/docs/tasks/access-application-cluster/configure-access-multiple-clusters/) + + +## [访问集群](https://kubernetes.io/zh/docs/tasks/access-application-cluster/access-cluster/) + + +## [使用端口转发来访问集群中的应用](https://kubernetes.io/zh/docs/tasks/access-application-cluster/port-forward-access-application-cluster/) + + +----- + + + +# 集群架构、安装和配置 + + + +## [容器运行时 | Kubernetes](https://kubernetes.io/zh/docs/setup/production-environment/container-runtimes/) + + + +## [安装 kubeadm | Kubernetes](https://kubernetes.io/zh/docs/setup/production-environment/tools/kubeadm/install-kubeadm/) + + + +## [使用 kubeadm 创建集群 | Kubernetes](https://kubernetes.io/zh/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/) + + + +## [升级 kubeadm 集群 | Kubernetes](https://kubernetes.io/zh/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/) + + + +## [为 Kubernetes 运行 etcd 集群 | Kubernetes](https://kubernetes.io/zh/docs/tasks/administer-cluster/configure-upgrade-etcd/) + + + +## [使用 RBAC 鉴权 | Kubernetes](https://kubernetes.io/zh/docs/reference/access-authn-authz/rbac/) + + + +## [保护集群安全 | Kubernetes](https://kubernetes.io/zh/docs/tasks/administer-cluster/securing-a-cluster/) + + + +## [利用 kubeadm 创建高可用集群 | Kubernetes](https://kubernetes.io/zh/docs/setup/production-environment/tools/kubeadm/high-availability/) + + + +## [集群网络系统 | Kubernetes](https://kubernetes.io/zh/docs/concepts/cluster-administration/networking/) + + + +## [安装扩展(Addons) | Kubernetes](https://kubernetes.io/zh/docs/concepts/cluster-administration/addons/) + + + +----- + + + +# 工作负载和调度 + + + +## [Deployments | Kubernetes](https://kubernetes.io/zh/docs/concepts/workloads/controllers/deployment/) + + + +## [为容器设置环境变量 | Kubernetes](https://kubernetes.io/zh/docs/tasks/inject-data-application/define-environment-variable-container/) + + + +## [配置 Pod 使用 ConfigMap | Kubernetes](https://kubernetes.io/zh/docs/tasks/configure-pod-container/configure-pod-configmap/) + + + +## [Secret | Kubernetes](https://kubernetes.io/zh/docs/concepts/configuration/secret/) + + + +## [Pod 水平自动扩缩 | Kubernetes](https://kubernetes.io/zh/docs/tasks/run-application/horizontal-pod-autoscale/) + + + +## [ReplicaSet | Kubernetes](https://kubernetes.io/zh/docs/concepts/workloads/controllers/replicaset/) + + + +## [DaemonSet | Kubernetes](https://kubernetes.io/zh/docs/concepts/workloads/controllers/daemonset/) + + + +## [资源配额 | Kubernetes](https://kubernetes.io/zh/docs/concepts/policy/resource-quotas/) + + + +## [将 Pod 分配给节点 | Kubernetes](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/assign-pod-node/) + + + +## [配置多个调度器 | Kubernetes](https://kubernetes.io/zh/docs/tasks/extend-kubernetes/configure-multiple-schedulers/) + + + +## [调度器性能调优 | Kubernetes](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/scheduler-perf-tuning/) + + + +## [Helm | 快速入门指南](https://helm.sh/zh/docs/intro/quickstart/) + + + +## [使用 Kustomize 对 Kubernetes 对象进行声明式管理 | Kubernetes](https://kubernetes.io/zh/docs/tasks/manage-kubernetes-objects/kustomization/) + + + +--- + + + +# 服务和网络 + + + +## [集群网络系统 | Kubernetes](https://kubernetes.io/zh/docs/concepts/cluster-administration/networking/) + + + +## [服务 | Kubernetes](https://kubernetes.io/zh/docs/concepts/services-networking/service/) + + + +## [创建外部负载均衡器 | Kubernetes](https://kubernetes.io/zh/docs/tasks/access-application-cluster/create-external-load-balancer/) + + + +## [Ingress | Kubernetes](https://kubernetes.io/zh/docs/concepts/services-networking/ingress/) + + + +## [Pod 与 Service 的 DNS | Kubernetes](https://kubernetes.io/zh/docs/concepts/services-networking/dns-pod-service/) + + + +## [使用 CoreDNS 进行服务发现 | Kubernetes](https://kubernetes.io/zh/docs/tasks/administer-cluster/coredns/) + + + +--- + + + +# 存储 + + + +## [存储类 | Kubernetes](https://kubernetes.io/zh/docs/concepts/storage/storage-classes/) + + + +## [持久卷 | Kubernetes](https://kubernetes.io/zh/docs/concepts/storage/persistent-volumes/) + + + +## [更改 PersistentVolume 的回收策略 | Kubernetes](https://kubernetes.io/zh/docs/tasks/administer-cluster/change-pv-reclaim-policy/) + + + +--- + + + +# 故障排除 + + + +## [配置存活、就绪和启动探测器 | Kubernetes](https://kubernetes.io/zh/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/) + + + +## [资源指标管道 | Kubernetes](https://kubernetes.io/zh/docs/tasks/debug-application-cluster/resource-metrics-pipeline/) + + + +## [日志架构 | Kubernetes](https://kubernetes.io/zh/docs/concepts/cluster-administration/logging/) + + + +## [应用故障排查 | Kubernetes](https://kubernetes.io/zh/docs/tasks/debug-application-cluster/debug-application/) + + + +## [集群故障排查 | Kubernetes](https://kubernetes.io/zh/docs/tasks/debug-application-cluster/debug-cluster/) + + + +## [Pod 与 Service 的 DNS | Kubernetes](https://kubernetes.io/zh/docs/concepts/services-networking/dns-pod-service/) + + +