https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/

    https://cloud.tencent.com/developer/article/2299258

    1. deb http://mirrors.tencentyun.com/ubuntu/ focal main restricted universe multiverse
    2. deb http://mirrors.tencentyun.com/ubuntu/ focal-security main restricted universe multiverse
    3. deb http://mirrors.tencentyun.com/ubuntu/ focal-updates main restricted universe multiverse
    4. # deb http://mirrors.tencentyun.com/ubuntu/ focal-proposed main restricted universe multiverse
    5. # deb http://mirrors.tencentyun.com/ubuntu/ focal-backports main restricted universe multiverse
    6. deb-src http://mirrors.tencentyun.com/ubuntu/ focal main restricted universe multiverse
    7. deb-src http://mirrors.tencentyun.com/ubuntu/ focal-security main restricted universe multiverse
    8. deb-src http://mirrors.tencentyun.com/ubuntu/ focal-updates main restricted universe multiverse
    9. # deb-src http://mirrors.tencentyun.com/ubuntu/ focal-proposed main restricted universe multiverse
    10. # deb-src http://mirrors.tencentyun.com/ubuntu/ focal-backports main restricted universe multiverse
    1. # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    2. # newer versions of the distribution.
    3. deb http://archive.ubuntu.com/ubuntu jammy main restricted
    4. # deb-src http://archive.ubuntu.com/ubuntu jammy main restricted
    5. ## Major bug fix updates produced after the final release of the
    6. ## distribution.
    7. deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted
    8. # deb-src http://archive.ubuntu.com/ubuntu jammy-updates main restricted
    9. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    10. ## team. Also, please note that software in universe WILL NOT receive any
    11. ## review or updates from the Ubuntu security team.
    12. deb http://archive.ubuntu.com/ubuntu jammy universe
    13. # deb-src http://archive.ubuntu.com/ubuntu jammy universe
    14. deb http://archive.ubuntu.com/ubuntu jammy-updates universe
    15. # deb-src http://archive.ubuntu.com/ubuntu jammy-updates universe
    16. ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    17. ## team, and may not be under a free licence. Please satisfy yourself as to
    18. ## your rights to use the software. Also, please note that software in
    19. ## multiverse WILL NOT receive any review or updates from the Ubuntu
    20. ## security team.
    21. deb http://archive.ubuntu.com/ubuntu jammy multiverse
    22. # deb-src http://archive.ubuntu.com/ubuntu jammy multiverse
    23. deb http://archive.ubuntu.com/ubuntu jammy-updates multiverse
    24. # deb-src http://archive.ubuntu.com/ubuntu jammy-updates multiverse
    25. ## N.B. software from this repository may not have been tested as
    26. ## extensively as that contained in the main release, although it includes
    27. ## newer versions of some applications which may provide useful features.
    28. ## Also, please note that software in backports WILL NOT receive any review
    29. ## or updates from the Ubuntu security team.
    30. deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    31. # deb-src http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    32. deb http://archive.ubuntu.com/ubuntu jammy-security main restricted
    33. # deb-src http://archive.ubuntu.com/ubuntu jammy-security main restricted
    34. deb http://archive.ubuntu.com/ubuntu jammy-security universe
    35. # deb-src http://archive.ubuntu.com/ubuntu jammy-security universe
    36. deb http://archive.ubuntu.com/ubuntu jammy-security multiverse
    37. # deb-src http://archive.ubuntu.com/ubuntu jammy-security multiverse
    1. 10.0.0.3 k8s-master1
    2. 10.0.0.4 k8s-node1
    3. 10.0.0.5 k8s-node2
    4. sudo vim /etc/chrony/chrony.conf
    5. # 添加自己作为服务器
    6. server 10.0.0.3 iburst
    7. # 为了方便客户端连接权限设置为允许所有
    8. allow all
    9. # 当无法和其他同步时,使用本地的时间去给客户端同步
    10. local stratum 10
    11. #查看可用的时间同步源
    12. chronyc sources -v
    13. #查看时间同步源的状态
    14. chronyc sourcestats -v
    15. #对客户端系统时间进行强制同步
    16. chronyc -a makestep
    17. https://www.volcengine.com/theme/1749552-U-7-1
    18. 关闭swap
    19. sudo vim /etc/fstab
    20. free -h
    21. https://blog.csdn.net/weixin_43941593/article/details/130056550
    1. sudo vim /etc/resolv.conf
    2. nameserver 114.114.115.115
    3. nameserver 114.114.114.114