<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0"><channel><title>作者：GodOne - GodOne</title><link>https://blog.godone.top/authors/admin</link><atom:link href="https://blog.godone.top/authors/admin/feed/authors/admin.xml" rel="self" type="application/rss+xml"/><description>GodOne</description><generator>Halo v2.27.1</generator><language>zh-cn</language><lastBuildDate>Mon, 16 Nov 2026 13:02:15 GMT</lastBuildDate><item><title><![CDATA[Linux 线上排障实战：Java 服务 CPU 100% 的五步定位法]]></title><link>https://blog.godone.top/archives/linux-java-cpu-100-troubleshooting</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Linux%20%E7%BA%BF%E4%B8%8A%E6%8E%92%E9%9A%9C%E5%AE%9E%E6%88%98%EF%BC%9AJava%20%E6%9C%8D%E5%8A%A1%20CPU%20100%25%20%E7%9A%84%E4%BA%94%E6%AD%A5%E5%AE%9A%E4%BD%8D%E6%B3%95&amp;url=/archives/linux-java-cpu-100-troubleshooting" width="1" height="1" alt="" style="opacity:0;">线上 CPU 打满时，最怕的不是问题本身，而是重启之后问题再也不复现。这篇文章复盘一次 86 秒的实操排障录屏：从 curl 卡死、CPU 100%，一路定位到 OrderService.java:11 这一行代码。整条链路上只有 5 条命令，但顺序不能乱。 一、现象与第一反应 终端里执行： cur]]></description><guid isPermaLink="false">/archives/linux-java-cpu-100-troubleshooting</guid><dc:creator>GodOne</dc:creator><category>运维实例</category><pubDate>Wed, 11 Nov 2026 08:05:58 GMT</pubDate></item><item><title><![CDATA[Server-prometheus]]></title><link>https://blog.godone.top/archives/prometheus</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server-prometheus&amp;url=/archives/prometheus" width="1" height="1" alt="" style="opacity:0;">安装 普罗米修斯的安装分为两部分、1. 服务端 2.客户端 3.添加监控项 服务端安装 下载prometheus服务端软件 普罗米修斯下载网址：https://prometheus.io/download/ 下载完成后解压、改名文件夹、移动文件夹到 /usr/local/ tar zxvf]]></description><guid isPermaLink="false">/archives/prometheus</guid><dc:creator>GodOne</dc:creator><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:09 GMT</pubDate></item><item><title><![CDATA[Server常用服务-SFTP]]></title><link>https://blog.godone.top/archives/SFTP</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server%E5%B8%B8%E7%94%A8%E6%9C%8D%E5%8A%A1-SFTP&amp;url=/archives/SFTP" width="1" height="1" alt="" style="opacity:0;">sftp与ftp服务类似。但是sftp使用ssh协议传输数据，而且sftp的配置相对更简单 编辑 /etc/ssh/sshd_config 文件，注释源文件中的 Subsystem 行，添加如下配置 Subsystem sftp internal-sftp Match User sftp]]></description><guid isPermaLink="false">/archives/SFTP</guid><dc:creator>GodOne</dc:creator><category>常用服务</category><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:09 GMT</pubDate></item><item><title><![CDATA[Server常用服务-SAMBA]]></title><link>https://blog.godone.top/archives/SAMBA</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server%E5%B8%B8%E7%94%A8%E6%9C%8D%E5%8A%A1-SAMBA&amp;url=/archives/SAMBA" width="1" height="1" alt="" style="opacity:0;">Samba是在Linux系统上实现SMB（Session MessageBlock）协议的一个免费软件，以实现文件共享和打印机服务共享。 安装 dnf -y install samba 匿名访问 修改 vim /etc/samba/smb.conf 配置文件 [global]]]></description><guid isPermaLink="false">/archives/SAMBA</guid><dc:creator>GodOne</dc:creator><category>常用服务</category><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:09 GMT</pubDate></item><item><title><![CDATA[Server常用服务-PXE网络装机]]></title><link>https://blog.godone.top/archives/PXE%E7%BD%91%E7%BB%9C%E8%A3%85%E6%9C%BA</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server%E5%B8%B8%E7%94%A8%E6%9C%8D%E5%8A%A1-PXE%E7%BD%91%E7%BB%9C%E8%A3%85%E6%9C%BA&amp;url=/archives/PXE%E7%BD%91%E7%BB%9C%E8%A3%85%E6%9C%BA" width="1" height="1" alt="" style="opacity:0;">要搭建一个完整的PXE网络装机服务器，需要先安装如下服务 DHCP服务 —— 给机器分配IP TFTP服务 —— 提供引导程序下载 FTP服务 —— 提供系统包下载 安装 DHCP 安装DHCP服务 使用 yum -y install dhcp-server 安装dhcp服务 配置DHCP服务 修改]]></description><guid isPermaLink="false">/archives/PXE%E7%BD%91%E7%BB%9C%E8%A3%85%E6%9C%BA</guid><dc:creator>GodOne</dc:creator><category>常用服务</category><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:09 GMT</pubDate></item><item><title><![CDATA[Server常用服务-NTP时间同步服务器]]></title><link>https://blog.godone.top/archives/NTP%E6%97%B6%E9%97%B4%E5%90%8C%E6%AD%A5%E6%9C%8D%E5%8A%A1%E5%99%A8</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server%E5%B8%B8%E7%94%A8%E6%9C%8D%E5%8A%A1-NTP%E6%97%B6%E9%97%B4%E5%90%8C%E6%AD%A5%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;url=/archives/NTP%E6%97%B6%E9%97%B4%E5%90%8C%E6%AD%A5%E6%9C%8D%E5%8A%A1%E5%99%A8" width="1" height="1" alt="" style="opacity:0;">安装 使用yum -y install chrony 安装时间同步服务 配置 配置文件在 /etc/chrony.conf 修改 iburst 行，此行配置向谁索要时间数据 解开 allow x.x.x.x/xx 行，此行配置允许访问本时间服务器的IP 解开 local stratum 10 行，次]]></description><guid isPermaLink="false">/archives/NTP%E6%97%B6%E9%97%B4%E5%90%8C%E6%AD%A5%E6%9C%8D%E5%8A%A1%E5%99%A8</guid><dc:creator>GodOne</dc:creator><category>常用服务</category><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:08 GMT</pubDate></item><item><title><![CDATA[Server常用服务-NFS服务器]]></title><link>https://blog.godone.top/archives/NFS%E6%9C%8D%E5%8A%A1%E5%99%A8</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server%E5%B8%B8%E7%94%A8%E6%9C%8D%E5%8A%A1-NFS%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;url=/archives/NFS%E6%9C%8D%E5%8A%A1%E5%99%A8" width="1" height="1" alt="" style="opacity:0;">安装 yum -y install nfs-utils rpcbind 配置 配置文件在 /etc/exports 内容示例： /opt/public 192.168.2.1(rw,sync,all_squash) ## 将/opt/public目录共享给192.168.2.1，模式为读]]></description><guid isPermaLink="false">/archives/NFS%E6%9C%8D%E5%8A%A1%E5%99%A8</guid><dc:creator>GodOne</dc:creator><category>常用服务</category><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:08 GMT</pubDate></item><item><title><![CDATA[Server常用服务-Mali邮箱服务器]]></title><link>https://blog.godone.top/archives/Mali%E9%82%AE%E7%AE%B1%E6%9C%8D%E5%8A%A1%E5%99%A8</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server%E5%B8%B8%E7%94%A8%E6%9C%8D%E5%8A%A1-Mali%E9%82%AE%E7%AE%B1%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;url=/archives/Mali%E9%82%AE%E7%AE%B1%E6%9C%8D%E5%8A%A1%E5%99%A8" width="1" height="1" alt="" style="opacity:0;">要自建邮箱服务的话，首先需要有一台DNS域名解析服务器，来解析邮箱的地址 DNS服务器搭建可参考👉DNS服务器搭建 安装 一： DNS服务器安装 yum -y install bind bind-chroot 二： 邮箱服务器安装 yum -y install postfix 配置 一：DNS服务器]]></description><guid isPermaLink="false">/archives/Mali%E9%82%AE%E7%AE%B1%E6%9C%8D%E5%8A%A1%E5%99%A8</guid><dc:creator>GodOne</dc:creator><category>常用服务</category><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:08 GMT</pubDate></item><item><title><![CDATA[Server常用服务-FTP服务器]]></title><link>https://blog.godone.top/archives/FTP%E6%9C%8D%E5%8A%A1%E5%99%A8</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server%E5%B8%B8%E7%94%A8%E6%9C%8D%E5%8A%A1-FTP%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;url=/archives/FTP%E6%9C%8D%E5%8A%A1%E5%99%A8" width="1" height="1" alt="" style="opacity:0;">搭建FTP服务 安装 yum -y install vsftpd 配置 配置文件在 /etc/vsftpd/vsftpd.conf ftp默认文件存放目录在 /var/ftp （使用匿名用户 anonymous 时） 一：匿名用户相关配置 ### 是否允许匿名用户访问ftp服务（默认为no） ano]]></description><guid isPermaLink="false">/archives/FTP%E6%9C%8D%E5%8A%A1%E5%99%A8</guid><dc:creator>GodOne</dc:creator><category>常用服务</category><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:08 GMT</pubDate></item><item><title><![CDATA[Server常用服务-DNS服务器]]></title><link>https://blog.godone.top/archives/DNS%E6%9C%8D%E5%8A%A1%E5%99%A8</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server%E5%B8%B8%E7%94%A8%E6%9C%8D%E5%8A%A1-DNS%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;url=/archives/DNS%E6%9C%8D%E5%8A%A1%E5%99%A8" width="1" height="1" alt="" style="opacity:0;">安装服务 yum -y install bind bind-chroot 配置 一：主配置文件 主配置文件在 /etc/named.conf #设置负责解析的域名 删除不需要的配置，删除到下图剩余内容即可 修改剩余的配置 options { directory "/var/named]]></description><guid isPermaLink="false">/archives/DNS%E6%9C%8D%E5%8A%A1%E5%99%A8</guid><dc:creator>GodOne</dc:creator><category>常用服务</category><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:08 GMT</pubDate></item><item><title><![CDATA[Server常用服务-DHCP服务器]]></title><link>https://blog.godone.top/archives/DHCP%E6%9C%8D%E5%8A%A1%E5%99%A8</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server%E5%B8%B8%E7%94%A8%E6%9C%8D%E5%8A%A1-DHCP%E6%9C%8D%E5%8A%A1%E5%99%A8&amp;url=/archives/DHCP%E6%9C%8D%E5%8A%A1%E5%99%A8" width="1" height="1" alt="" style="opacity:0;">DHCP可以给没有IP地址的机器自动分配IP地址 安装 使用 yum -y install dhcp-server 安装dhcp服务 配置 修改 /etc/dhcp/dhcpd.conf 配置文件，添加如下配置 subnet 192.168.56.0 netmask 255.255.255.0]]></description><guid isPermaLink="false">/archives/DHCP%E6%9C%8D%E5%8A%A1%E5%99%A8</guid><dc:creator>GodOne</dc:creator><category>常用服务</category><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:08 GMT</pubDate></item><item><title><![CDATA[Server-ELK]]></title><link>https://blog.godone.top/archives/ELK</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=Server-ELK&amp;url=/archives/ELK" width="1" height="1" alt="" style="opacity:0;">ELK概述 ELK是什么？ Elasticsearch：负责日志检索和存储 Logstash：负责日志的收集和分析、处理 Kibana：负责日志的可视化]]></description><guid isPermaLink="false">/archives/ELK</guid><dc:creator>GodOne</dc:creator><category>Server</category><pubDate>Sun, 1 Nov 2026 17:12:08 GMT</pubDate></item><item><title><![CDATA[kubectl-污点策略]]></title><link>https://blog.godone.top/archives/%E6%B1%A1%E7%82%B9%E7%AD%96%E7%95%A5</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=kubectl-%E6%B1%A1%E7%82%B9%E7%AD%96%E7%95%A5&amp;url=/archives/%E6%B1%A1%E7%82%B9%E7%AD%96%E7%95%A5" width="1" height="1" alt="" style="opacity:0;">创建资源时，默认会将资源分布部署在所有node节点上，如果需要在某node节点上部署更多资源或尽量不部署资源，可以用污点策略来达到需求 污点标签 NoSchedule 不会被调度 PreferNoSchedule 尽量不调度 NoExecute 驱逐节点（会对正在运行的容器生效） 查看污点标签 ku]]></description><guid isPermaLink="false">/archives/%E6%B1%A1%E7%82%B9%E7%AD%96%E7%95%A5</guid><dc:creator>GodOne</dc:creator><category>kubectl</category><category>kubernetes</category><pubDate>Sun, 1 Nov 2026 17:12:08 GMT</pubDate></item><item><title><![CDATA[kubectl-标签管理]]></title><link>https://blog.godone.top/archives/%E6%A0%87%E7%AD%BE%E7%AE%A1%E7%90%86</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=kubectl-%E6%A0%87%E7%AD%BE%E7%AE%A1%E7%90%86&amp;url=/archives/%E6%A0%87%E7%AD%BE%E7%AE%A1%E7%90%86" width="1" height="1" alt="" style="opacity:0;">查看标签 kubectl get [资源类型] --show-labels [root@k8s-master k8s-ymls]# kubectl get pods --show-labels NAME READY STATU]]></description><guid isPermaLink="false">/archives/%E6%A0%87%E7%AD%BE%E7%AE%A1%E7%90%86</guid><dc:creator>GodOne</dc:creator><category>kubectl</category><category>kubernetes</category><pubDate>Sun, 1 Nov 2026 17:12:08 GMT</pubDate></item><item><title><![CDATA[kubectl-集群调度]]></title><link>https://blog.godone.top/archives/%E9%9B%86%E7%BE%A4%E8%B0%83%E5%BA%A6</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=kubectl-%E9%9B%86%E7%BE%A4%E8%B0%83%E5%BA%A6&amp;url=/archives/%E9%9B%86%E7%BE%A4%E8%B0%83%E5%BA%A6" width="1" height="1" alt="" style="opacity:0;">扩容与缩减 kubectl scale deployment [deployment名称] --relicas=[副本数量] ## 查看deployment名称 [root@k8s-master k8s-ymls]# kubectl get deployments.apps NAME]]></description><guid isPermaLink="false">/archives/%E9%9B%86%E7%BE%A4%E8%B0%83%E5%BA%A6</guid><dc:creator>GodOne</dc:creator><category>kubectl</category><category>kubernetes</category><pubDate>Sun, 1 Nov 2026 17:12:07 GMT</pubDate></item><item><title><![CDATA[kubectl-资源监控]]></title><link>https://blog.godone.top/archives/%E8%B5%84%E6%BA%90%E7%9B%91%E6%8E%A7</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=kubectl-%E8%B5%84%E6%BA%90%E7%9B%91%E6%8E%A7&amp;url=/archives/%E8%B5%84%E6%BA%90%E7%9B%91%E6%8E%A7" width="1" height="1" alt="" style="opacity:0;">metrics metrics是什么 metrics是一个监控系统资源使用的插件，可以监控node节点上的cpu、内存的使用率，或pod对资源的占用率，通过对资源占用的了解，可以更加合理的部署容器应用 metrics从kubernetes 1.8开始，资源使用情况的监控可以通过Metrics Api]]></description><guid isPermaLink="false">/archives/%E8%B5%84%E6%BA%90%E7%9B%91%E6%8E%A7</guid><dc:creator>GodOne</dc:creator><category>kubectl</category><category>kubernetes</category><pubDate>Sun, 1 Nov 2026 17:12:07 GMT</pubDate></item><item><title><![CDATA[kubectl-hostPath]]></title><link>https://blog.godone.top/archives/hostPath</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=kubectl-hostPath&amp;url=/archives/hostPath" width="1" height="1" alt="" style="opacity:0;">hostPath可以把node节点的目录映射到容器内指定路径上，相当于Docker里的 -v 参数 --- apiVersion: apps/v1 kind: Deployment metadata: name: webnginx-deployment annotations: ku]]></description><guid isPermaLink="false">/archives/hostPath</guid><dc:creator>GodOne</dc:creator><category>kubectl</category><category>kubernetes</category><pubDate>Sun, 1 Nov 2026 17:12:07 GMT</pubDate></item><item><title><![CDATA[kubectl-PV／PVC]]></title><link>https://blog.godone.top/archives/PV%EF%BC%8FPVC</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=kubectl-PV%EF%BC%8FPVC&amp;url=/archives/PV%EF%BC%8FPVC" width="1" height="1" alt="" style="opacity:0;">PV/PVC是什么 PersistentVolume（持久卷，简称PV） PV是资源的提供者，根据集群的基础设施变化而变化，由K8S集群管理员配置 Persistent VolumeClaim（持久卷声明，简称PVC） 而PVC是资源的使用者，根据业务服务的需求变化来配置 PV/PVC的引入使K8S]]></description><guid isPermaLink="false">/archives/PV%EF%BC%8FPVC</guid><dc:creator>GodOne</dc:creator><category>kubectl</category><category>kubernetes</category><pubDate>Sun, 1 Nov 2026 17:12:07 GMT</pubDate></item><item><title><![CDATA[kubectl-NFS]]></title><link>https://blog.godone.top/archives/NFS</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=kubectl-NFS&amp;url=/archives/NFS" width="1" height="1" alt="" style="opacity:0;">在生产环境中经常需要多个Pod中共享数据，而这些应用又在不同的机器的不同Pod中，NFS可以来解决这个问题。 Kubernetes中通过简单的配置就可以挂载NFS到Pod中，而NFS中的数据是可以永久保存的，同时NFS支持并发写操作。 搭建NFS服务器 具体操作可见👉NFS服务器 创建PV/PVC资]]></description><guid isPermaLink="false">/archives/NFS</guid><dc:creator>GodOne</dc:creator><category>kubectl</category><category>kubernetes</category><pubDate>Sun, 1 Nov 2026 17:12:07 GMT</pubDate></item><item><title><![CDATA[kubectl-emptyDir]]></title><link>https://blog.godone.top/archives/emptyDir</link><description><![CDATA[<img src="https://blog.godone.top/plugins/feed/assets/telemetry.gif?title=kubectl-emptyDir&amp;url=/archives/emptyDir" width="1" height="1" alt="" style="opacity:0;">emptyDir是最基础的Volume类型，用于存储临时数据的简单空目录。如果Pod设置了emptyDir类型的Volume，Pod被分配到Node上的时候，会创建emptyDir，只要Pod运行在Node上，emptyDir都会存在（包括容器挂掉的时候），但如果Pod从Node上被删除（Pod被删]]></description><guid isPermaLink="false">/archives/emptyDir</guid><dc:creator>GodOne</dc:creator><category>kubectl</category><category>kubernetes</category><pubDate>Sun, 1 Nov 2026 17:12:07 GMT</pubDate></item></channel></rss>