ch
Feedback
کانال انجمن کلاد و دوآپس تبریز

کانال انجمن کلاد و دوآپس تبریز

前往频道在 Telegram

کانال انجمن کلاد، دوآپس و مهندسی اتکاپذیری سیستم تبریز، نشر اطلاعیه رویداد ها و همایش های حوزه کلاد و دوآپس تبریز لینک گروه — https://t.me/devops_tabriz_group — admin @arsalanses

显示更多
284
订阅者
+124 小时
+27
无数据30
帖子存档
Static Pods Static Pods are managed directly by the kubelet daemon on a specific node, without the API server observing them. Unlike Pods that are managed by the control plane (for example, a Deployment); instead, the kubelet watches each static Pod (and restarts it if it fails).

kubectl cordon Mark node as unschedulable. kubectl drain You can use kubectl drain to safely evict all of your pods from a node before you perform maintenance on the node (e.g. kernel upgrade, hardware maintenance, etc.). Safe evictions allow the pod's containers to gracefully terminate and will respect the PodDisruptionBudgets you have specified. Affinity and anti-affinity Node affinity is conceptually similar to nodeSelector, allowing you to constrain which nodes your Pod can be scheduled on based on node labels. Taints and Tolerations Tolerations are applied to pods. Tolerations allow the scheduler to schedule pods with matching taints. Tolerations allow scheduling but don't guarantee scheduling: the scheduler also evaluates other parameters as part of its function. emptyDir and hostPath For a Pod that defines an emptyDir volume, the volume is created when the Pod is assigned to a node. As the name says, the emptyDir volume is initially empty. A hostPath volume mounts a file or directory from the host node's filesystem into your Pod. This is not something that most Pods will need, but it offers a powerful escape hatch for some applications.

Why an odd number of cluster members? An etcd cluster needs a majority of nodes, a quorum, to agree on updates to the cluster
Why an odd number of cluster members? An etcd cluster needs a majority of nodes, a quorum, to agree on updates to the cluster state. For a cluster with n members, quorum is (n/2)+1. For any odd-sized cluster, adding one node will always increase the number of nodes necessary for quorum. Although adding a node to an odd-sized cluster appears better since there are more machines, the fault tolerance is worse since exactly the same number of nodes may fail without losing quorum but there are more nodes that can fail. If the cluster is in a state where it can’t tolerate any more failures, adding a node before removing nodes is dangerous because if the new node fails to register with the cluster (e.g., the address is misconfigured), quorum will be permanently lost.

https://docs.percona.com/percona-toolkit/pt-heartbeat.html
CREATE USER 'exporter'@'%' IDENTIFIED BY 'XXXXXXXX' WITH MAX_USER_CONNECTIONS 3;
GRANT PROCESS, REPLICATION CLIENT, SELECT ON *.* TO 'exporter'@'%';

ss -at '( dport = :22 or sport = :22 )'

mc find local/bucket --older-than 3d --exec "mc rm {}"
mc find local/bucket --larger 5m --older-than 1d --exec "mc rm {}"

کانال انجمن کلاد و دوآپس تبریز - Telegram 频道 @devops_tabriz 的统计与分析