<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>K8s on 正能量</title><link>https://www.znl.net/categories/k8s/</link><description>Recent content in K8s on 正能量</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><copyright>© 2026 正能量</copyright><lastBuildDate>Sun, 18 Oct 2026 15:01:32 +0800</lastBuildDate><atom:link href="https://www.znl.net/categories/k8s/index.xml" rel="self" type="application/rss+xml"/><item><title>在 Kubernetes 中部署 PostgreSQL 16（单机版，集群内全放开访问）</title><link>https://www.znl.net/posts/k8s-postgres/</link><pubDate>Sat, 20 Dec 2025 16:36:28 +0800</pubDate><guid>https://www.znl.net/posts/k8s-postgres/</guid><description>&lt;code&gt;hostPath&lt;/code&gt; 将数据留在指定节点，&lt;code&gt;ClusterIP&lt;/code&gt; 提供集群内访问入口，两者都不能单独提供备份或账号权限控制。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.znl.net/posts/k8s-postgres/featured.png"/></item><item><title>Kubernetes 上的 Redis 部署</title><link>https://www.znl.net/posts/k8s-redis/</link><pubDate>Fri, 15 Aug 2025 21:56:57 +0800</pubDate><guid>https://www.znl.net/posts/k8s-redis/</guid><description>Pod 数量、Service 可达与 Redis 数据持久化分别解决不同问题；运行用户和 &lt;code&gt;fsGroup&lt;/code&gt; 要与实际镜像及挂载目录匹配。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.znl.net/posts/k8s-redis/featured.webp"/></item><item><title>k3s安装部署记录</title><link>https://www.znl.net/posts/k3s-install/</link><pubDate>Tue, 19 Nov 2024 23:43:36 +0800</pubDate><guid>https://www.znl.net/posts/k3s-install/</guid><description>&lt;code&gt;config.yaml&lt;/code&gt; 用于服务启动配置，客户端 kubeconfig 用于访问集群，二者不应混为同一文件；修改哪一个取决于实际目标。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.znl.net/posts/k3s-install/featured.png"/></item><item><title>K8S部署adguardhome</title><link>https://www.znl.net/posts/k8s-adguard/</link><pubDate>Mon, 11 Nov 2024 22:34:40 +0800</pubDate><guid>https://www.znl.net/posts/k8s-adguard/</guid><description>使用宿主网络时，应确认目标节点上相关端口没有冲突，并保证配置目录与运行用户权限相符。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.znl.net/posts/k8s-adguard/featured.png"/></item><item><title>k8s部署3节点Naocs集群</title><link>https://www.znl.net/posts/k8s-nacos/</link><pubDate>Mon, 14 Oct 2024 14:21:10 +0800</pubDate><guid>https://www.znl.net/posts/k8s-nacos/</guid><description>节点数只是部署形态，先确认实例如何互相发现、连接哪套数据库、各端口承担什么功能。示例地址与认证参数需要按真实环境替换。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.znl.net/posts/k8s-nacos/featured.png"/></item><item><title>修改镜像仓库 mirror 地址</title><link>https://www.znl.net/posts/docker-registry-mirror/</link><pubDate>Wed, 20 Dec 2023 13:14:03 +0800</pubDate><guid>https://www.znl.net/posts/docker-registry-mirror/</guid><description>原文使用 Docker 的镜像设置和诊断命令；如果节点实际使用其他运行时，这些配置不一定参与镜像拉取。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.znl.net/posts/docker-registry-mirror/featured.png"/></item><item><title>k8s中创建MySQL配置文件</title><link>https://www.znl.net/posts/k8s-mysql-config/</link><pubDate>Thu, 26 Oct 2023 15:20:45 +0800</pubDate><guid>https://www.znl.net/posts/k8s-mysql-config/</guid><description>示例记录配置项的名称与引用方式，需要与应用读取的键完全对应，并确认对象和工作负载处于可访问的命名空间。</description><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://www.znl.net/posts/k8s-mysql-config/featured.png"/></item></channel></rss>