博客
关于我
Kubernetes 集群优化(CoreDNS、IPVS)
阅读量:794 次
发布时间:2023-01-29

本文共 271 字,大约阅读时间需要 1 分钟。

1. 增加coredns副本数

在Kubernetes集群中增加coredns的副本数可以通过以下步骤实现:

编辑coredns配置文件:

vim /opt/coredns/deployment-master/kubernetes/coredns.yaml

使用kubectl应用修改:

kubectl apply -f coredns.yaml

2. 配置IPVS模块

为了实现IPVS(IP漂流可用性转发)的配置,请按照以下步骤操作:

安装相关模块:

cat > /etc/sysconfig/modules/ipvs.modules

转载地址:http://koryk.baihongyu.com/

你可能感兴趣的文章
Leetcode: Ternary Expression Parser
查看>>
Leetcode:454. 4Sum II
查看>>
leetcode:Minimum Depth of Binary Tree【Python版】
查看>>
LeetCode:Restore IP Addresses
查看>>
LeetCode:Subsets I II
查看>>
LeetCode_Lowest Common Ancestor of a Binary Search Tree (Binary Tree)
查看>>
leetcode—sqrt
查看>>
LeetCode——Binary Tree Paths
查看>>
LeetCode——Unique Paths
查看>>
LeetCode二叉树从上至下路径问题总结(112.113.437.129)
查看>>
leetcode出现cannot find symbol [in __Driver__.java]
查看>>
LeetCode动态规划训练营(1~5天)
查看>>
LeetCode哈希表+字符类的题目总结
查看>>
LeetCode商汤专场——第216场周赛题解
查看>>
LeetCode地平线专场——第308场周赛题解
查看>>
LeetCode数据库题目汇总一(附答案)
查看>>
LeetCode数据库题目汇总二(附答案)
查看>>
LeetCode新手指南:从零开始掌握算法挑战
查看>>
LeetCode智加科技专场——第207场周赛题解
查看>>
leetcode正则表达式匹配
查看>>