<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Kubeadm on Zayn's Blog</title><link>https://blog.treesir.pub/tags/kubeadm/</link><description>Recent content in Kubeadm on Zayn's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>yangzun@treesir.pub (Zayn)</managingEditor><webMaster>yangzun@treesir.pub (Zayn)</webMaster><copyright>2021-2026 Zayn</copyright><lastBuildDate>Thu, 24 Jun 2021 11:01:10 +0800</lastBuildDate><atom:link href="https://blog.treesir.pub/tags/kubeadm/index.xml" rel="self" type="application/rss+xml"/><item><title>使用 Kube-VIP 部署高可用 Kubernetes 集群</title><link>https://blog.treesir.pub/posts/kube-vip-deploy-ha-k8s-cluster/</link><pubDate>Thu, 24 Jun 2021 11:01:10 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/kube-vip-deploy-ha-k8s-cluster/</guid><description>&lt;h2 class="relative group">方案介绍
&lt;div id="方案介绍" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e6%96%b9%e6%a1%88%e4%bb%8b%e7%bb%8d" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>在私有环境中部署 Kubernetes 高可用集群时，传统方案需要准备硬件或软件负载均衡器来创建多控制平面集群。通常我们会选择使用 HAProxy + Keepalived 来实现这个功能：创建 2 个负载均衡器虚拟机，分配一个 VIP（虚拟 IP），通过 VIP 将流量重定向到后端的 Kubernetes 控制平面节点。架构如下图所示：&lt;/p>
&lt;p>
&lt;figure>
&lt;img class="my-0 rounded-md" loading="lazy" alt="20210616142006" src="https://cdn.treesir.pub/img/20210616142006.png">
&lt;/figure>
&lt;/p></description></item><item><title>Kubeadm 部署 kubernetes-v1.19.x 集群</title><link>https://blog.treesir.pub/posts/kubeadm-deploy-k8s1.9/</link><pubDate>Mon, 21 Dec 2020 13:19:31 +0800</pubDate><author>yangzun@treesir.pub (Zayn)</author><guid>https://blog.treesir.pub/posts/kubeadm-deploy-k8s1.9/</guid><description>&lt;h2 class="relative group">系统环境说明
&lt;div id="系统环境说明" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%b3%bb%e7%bb%9f%e7%8e%af%e5%a2%83%e8%af%b4%e6%98%8e" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;ul>
&lt;li>使用操作系统: Centos-7.9.2009&lt;/li>
&lt;li>操作系统内核版本: 4.4.248 (&lt;code>lt&lt;/code>)&lt;/li>
&lt;li>Docker容器版本: 18.09.9&lt;/li>
&lt;li>Kubeadm 版本: 1.19.6&lt;/li>
&lt;li>节点说明:
&lt;ul>
&lt;li>master01: 192.168.8.70 ,192.168.88.70&lt;/li>
&lt;li>node01: 192.168.8.71 ,192.168.88.71&lt;/li>
&lt;li>(备注: 为每个节点配置了两个ip，对外服务网段为: &lt;code>192.168.8.0/24&lt;/code>, 集群内部通讯: &lt;code>192.168.88.0/24&lt;/code>)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ul>
&lt;h2 class="relative group">OS 准备
&lt;div id="os-准备" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#os-%e5%87%86%e5%a4%87" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;h2 class="relative group">系统初始化
&lt;div id="系统初始化" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#%e7%b3%bb%e7%bb%9f%e5%88%9d%e5%a7%8b%e5%8c%96" aria-label="锚点">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>&lt;code>确保已将selinux关闭&lt;/code>&lt;/p></description></item></channel></rss>