vim /etc/systemd/system/kubelet.service.d/10-kubeadm.conf
[Service]
Environment="KUBELET_KUBECONFIG_ARGS=--bootstrap-kubeconfig=/etc/kubernetes/bootstrap-kubelet.conf --kubeconfig=/etc/kubernetes/kubelet.conf --max-pods=2030"<<<----调整你需要的pods 数量
Environment="KUBELET_CONFIG_ARGS=--config=/var/lib/kubelet/config.yaml"
# This is a file that "kubeadm init" and "kubeadm join" generates at runtime, populating the KUBELET_KUBEADM_ARGS variable dynamically
EnvironmentFile=-/var/lib/kubelet/kubeadm-flags.env
# This is a file that the user can use for overrides of the kubelet args as a last resort. Preferably, the user should use
# the .NodeRegistration.KubeletExtraArgs object in the configuration files instead.KUBELET_EXTRA_ARGS should be sourced from this file.
EnvironmentFile=-/etc/default/kubelet
ExecStart=
ExecStart=/usr/bin/kubelet $KUBELET_KUBECONFIG_ARGS $KUBELET_CONFIG_ARGS $KUBELET_KUBEADM_ARGS $KUBELET_EXTRA_ARGS
1、查看当前openssl版本
openssl version #一般都是1.几的版本2、下载openssl_3的包
wget --no-check-certificate https://www.openssl.org/source/old/3.0/openssl-3.0.3.tar.gz#解压
tar zxf openssl-3.0.3.tar.gz#进入指定的目录
cd openssl-3.0.33、编译安装遇到问题缺…
1.主从集群
集群结构: 一.单机安装redis
1.上传压缩包并解压,编译 tar -xzf redis-6.2.4.tar.gz
cd redis-6.2.4
make && make install
2.修改redis.config的配置并启动redis
# 绑定地址,默认是127.0.0.1,会导致只能在本地访问。…