<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>BLOG</title>
  <icon>https://blog.vrzbq.com/icon.png</icon>
  <subtitle>阿飞的博客 - 运维技术分享</subtitle>
  <link href="https://blog.vrzbq.com/atom.xml" rel="self"/>
  
  <link href="https://blog.vrzbq.com/"/>
  <updated>2025-09-26T06:44:30.523Z</updated>
  <id>https://blog.vrzbq.com/</id>
  
  <author>
    <name>feige</name>
    
  </author>
  
  <generator uri="https://hexo.io/">Hexo</generator>
  
  <entry>
    <title>SNAT服务器搭建</title>
    <link href="https://blog.vrzbq.com/posts/a222390c/"/>
    <id>https://blog.vrzbq.com/posts/a222390c/</id>
    <published>2025-09-28T03:35:19.000Z</published>
    <updated>2025-09-26T06:44:30.523Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;h2 id=&quot;查看是否开启路由转发&quot;&gt;&lt;a href=&quot;#查看是否开启路由转发&quot; class=&quot;headerlink&quot; title=&quot;查看是否开启路由转发&quot;&gt;&lt;/a&gt;查看是否开启路由转发&lt;/h2&gt;&lt;p&gt;cat</summary>
        
      
    
    
    
    <category term="linux" scheme="https://blog.vrzbq.com/categories/linux/"/>
    
    
    <category term="Linux" scheme="https://blog.vrzbq.com/tags/Linux/"/>
    
    <category term="snat" scheme="https://blog.vrzbq.com/tags/snat/"/>
    
  </entry>
  
  <entry>
    <title>查询redis未设置过期时间的key</title>
    <link href="https://blog.vrzbq.com/posts/55aec82e/"/>
    <id>https://blog.vrzbq.com/posts/55aec82e/</id>
    <published>2025-09-26T06:44:30.527Z</published>
    <updated>2025-09-26T06:44:30.527Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;&lt;strong&gt;查询并导出redis中没有设置过期时间的key&lt;/strong&gt;&lt;/p&gt;
&lt;figure class=&quot;highlight plaintext&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre&gt;&lt;span</summary>
        
      
    
    
    
    <category term="数据库" scheme="https://blog.vrzbq.com/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/"/>
    
    
    <category term="查询redis未设置过期时间的key" scheme="https://blog.vrzbq.com/tags/%E6%9F%A5%E8%AF%A2redis%E6%9C%AA%E8%AE%BE%E7%BD%AE%E8%BF%87%E6%9C%9F%E6%97%B6%E9%97%B4%E7%9A%84key/"/>
    
  </entry>
  
  <entry>
    <title>prometheus监控部署及常规组件</title>
    <link href="https://blog.vrzbq.com/posts/f8409f7f/"/>
    <id>https://blog.vrzbq.com/posts/f8409f7f/</id>
    <published>2025-09-26T06:44:30.527Z</published>
    <updated>2025-09-26T06:44:30.527Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;&lt;strong&gt;prometheus.yaml&lt;/strong&gt;&lt;/p&gt;
&lt;figure class=&quot;highlight yaml&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre&gt;&lt;span</summary>
        
      
    
    
    
    <category term="监控" scheme="https://blog.vrzbq.com/categories/%E7%9B%91%E6%8E%A7/"/>
    
    
    <category term="prometheus监控部署及常规组件" scheme="https://blog.vrzbq.com/tags/prometheus%E7%9B%91%E6%8E%A7%E9%83%A8%E7%BD%B2%E5%8F%8A%E5%B8%B8%E8%A7%84%E7%BB%84%E4%BB%B6/"/>
    
  </entry>
  
  <entry>
    <title>腾讯云tke-ingress开启ingress域名访问日志</title>
    <link href="https://blog.vrzbq.com/posts/a6ed320f/"/>
    <id>https://blog.vrzbq.com/posts/a6ed320f/</id>
    <published>2025-09-26T06:44:30.523Z</published>
    <updated>2025-09-26T06:44:30.523Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;&lt;strong&gt;容器类型为containers的tke集群控制台创建完ingress-controller之后，由于默认日志是打印在pod内的文件，现在需要自行收集访问日志，需要把日志打印在正常的pod输出上在收集&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;在ingress-cont</summary>
        
      
    
    
    
    <category term="linux" scheme="https://blog.vrzbq.com/categories/linux/"/>
    
    
    <category term="腾讯云tke-ingress开启ingress域名访问日志" scheme="https://blog.vrzbq.com/tags/%E8%85%BE%E8%AE%AF%E4%BA%91tke-ingress%E5%BC%80%E5%90%AFingress%E5%9F%9F%E5%90%8D%E8%AE%BF%E9%97%AE%E6%97%A5%E5%BF%97/"/>
    
  </entry>
  
  <entry>
    <title></title>
    <link href="https://blog.vrzbq.com/posts/0/"/>
    <id>https://blog.vrzbq.com/posts/0/</id>
    <published>2025-09-26T06:44:30.523Z</published>
    <updated>2025-09-26T06:44:30.523Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;figure class=&quot;highlight python&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre&gt;&lt;span class=&quot;line&quot;&gt;1&lt;/span&gt;&lt;br&gt;&lt;span class=&quot;line&quot;&gt;2&lt;/span&gt;&lt;br&gt;&lt;span</summary>
        
      
    
    
    
    
  </entry>
  
  <entry>
    <title>redis-cli常用命令</title>
    <link href="https://blog.vrzbq.com/posts/20e32d5b/"/>
    <id>https://blog.vrzbq.com/posts/20e32d5b/</id>
    <published>2025-09-26T06:44:30.523Z</published>
    <updated>2025-09-26T06:44:30.523Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;&lt;strong&gt;redis登录&lt;/strong&gt;&lt;/p&gt;
&lt;figure class=&quot;highlight bash&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre&gt;&lt;span class=&quot;line&quot;&gt;1&lt;/span&gt;&lt;br&gt;&lt;span</summary>
        
      
    
    
    
    <category term="数据库" scheme="https://blog.vrzbq.com/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/"/>
    
    
    <category term="redis-cli常用命令" scheme="https://blog.vrzbq.com/tags/redis-cli%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4/"/>
    
  </entry>
  
  <entry>
    <title>containerd容器运行时导致failed to get sandbox ip</title>
    <link href="https://blog.vrzbq.com/posts/82fabcb0/"/>
    <id>https://blog.vrzbq.com/posts/82fabcb0/</id>
    <published>2025-09-26T06:44:30.519Z</published>
    <updated>2025-09-26T06:44:30.519Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;h2 id=&quot;问题&quot;&gt;&lt;a href=&quot;#问题&quot; class=&quot;headerlink&quot; title=&quot;问题&quot;&gt;&lt;/a&gt;问题&lt;/h2&gt;&lt;figure class=&quot;highlight plaintext&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td</summary>
        
      
    
    
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/categories/Kubernetes/"/>
    
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/tags/Kubernetes/"/>
    
  </entry>
  
  <entry>
    <title>k8s常用操作命令</title>
    <link href="https://blog.vrzbq.com/posts/e53e29f0/"/>
    <id>https://blog.vrzbq.com/posts/e53e29f0/</id>
    <published>2025-09-26T06:44:30.519Z</published>
    <updated>2025-09-26T06:44:30.519Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;&lt;strong&gt;创建k8s-api管理员token&lt;/strong&gt;&lt;/p&gt;
&lt;figure class=&quot;highlight bash&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre&gt;&lt;span</summary>
        
      
    
    
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/categories/Kubernetes/"/>
    
    
    <category term="k8s常用操作命令" scheme="https://blog.vrzbq.com/tags/k8s%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C%E5%91%BD%E4%BB%A4/"/>
    
  </entry>
  
  <entry>
    <title>k8s配置ingress访问集群外部资源</title>
    <link href="https://blog.vrzbq.com/posts/49c855ea/"/>
    <id>https://blog.vrzbq.com/posts/49c855ea/</id>
    <published>2025-09-26T06:44:30.519Z</published>
    <updated>2025-09-26T06:44:30.519Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;&lt;strong&gt;使用ingress访问外部资源，首先需要创建service指向我们需要访问的资源&lt;br&gt;而每个service包含一个endpoint&lt;/strong&gt;&lt;/p&gt;
&lt;figure class=&quot;highlight</summary>
        
      
    
    
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/categories/Kubernetes/"/>
    
    
    <category term="k8s配置ingress访问集群外部资源" scheme="https://blog.vrzbq.com/tags/k8s%E9%85%8D%E7%BD%AEingress%E8%AE%BF%E9%97%AE%E9%9B%86%E7%BE%A4%E5%A4%96%E9%83%A8%E8%B5%84%E6%BA%90/"/>
    
  </entry>
  
  <entry>
    <title>批量更新k8s中使用的域名证书</title>
    <link href="https://blog.vrzbq.com/posts/a6cd9de/"/>
    <id>https://blog.vrzbq.com/posts/a6cd9de/</id>
    <published>2025-09-26T06:44:30.519Z</published>
    <updated>2025-09-26T06:44:30.519Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;h3 id=&quot;脚本如下&quot;&gt;&lt;a href=&quot;#脚本如下&quot; class=&quot;headerlink&quot; title=&quot;脚本如下&quot;&gt;&lt;/a&gt;脚本如下&lt;/h3&gt;&lt;figure class=&quot;highlight shell&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td</summary>
        
      
    
    
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/categories/Kubernetes/"/>
    
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/tags/Kubernetes/"/>
    
  </entry>
  
  <entry>
    <title>Centos7下使用kubeadm搭建高可用k8s 1.28集群</title>
    <link href="https://blog.vrzbq.com/posts/7add1904/"/>
    <id>https://blog.vrzbq.com/posts/7add1904/</id>
    <published>2025-09-26T06:44:30.511Z</published>
    <updated>2025-09-26T06:44:30.511Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;h2 id=&quot;准备机器&quot;&gt;&lt;a href=&quot;#准备机器&quot; class=&quot;headerlink&quot; title=&quot;准备机器&quot;&gt;&lt;/a&gt;准备机器&lt;/h2&gt;&lt;figure class=&quot;highlight plaintext&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td</summary>
        
      
    
    
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/categories/Kubernetes/"/>
    
    
    <category term="Linux" scheme="https://blog.vrzbq.com/tags/Linux/"/>
    
    <category term="Container" scheme="https://blog.vrzbq.com/tags/Container/"/>
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/tags/Kubernetes/"/>
    
  </entry>
  
  <entry>
    <title>openssl基于ECC生成二级可签发client的CA双向认证证书</title>
    <link href="https://blog.vrzbq.com/posts/b78a00fa/"/>
    <id>https://blog.vrzbq.com/posts/b78a00fa/</id>
    <published>2024-08-28T06:40:02.000Z</published>
    <updated>2025-09-26T06:44:30.523Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;本文提到的 &lt;code&gt;client.crt&lt;/code&gt; &lt;code&gt;server.crt&lt;/code&gt; 都是通过ca签发的&lt;/p&gt;
&lt;h2 id=&quot;证书生成命令&quot;&gt;&lt;a href=&quot;#证书生成命令&quot; class=&quot;headerlink&quot;</summary>
        
      
    
    
    
    <category term="Nginx" scheme="https://blog.vrzbq.com/categories/Nginx/"/>
    
    
    <category term="Nginx" scheme="https://blog.vrzbq.com/tags/Nginx/"/>
    
    <category term="配置记录" scheme="https://blog.vrzbq.com/tags/%E9%85%8D%E7%BD%AE%E8%AE%B0%E5%BD%95/"/>
    
    <category term="SSL" scheme="https://blog.vrzbq.com/tags/SSL/"/>
    
  </entry>
  
  <entry>
    <title>获取Kubernetes的token</title>
    <link href="https://blog.vrzbq.com/posts/lr0clio1/"/>
    <id>https://blog.vrzbq.com/posts/lr0clio1/</id>
    <published>2024-01-05T08:02:08.000Z</published>
    <updated>2025-09-26T06:44:30.519Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;h2 id=&quot;获取admin的token&quot;&gt;&lt;a href=&quot;#获取admin的token&quot; class=&quot;headerlink&quot; title=&quot;获取admin的token&quot;&gt;&lt;/a&gt;获取admin的token&lt;/h2&gt;&lt;p&gt;如果有这个secret,</summary>
        
      
    
    
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/categories/Kubernetes/"/>
    
    
    <category term="配置记录" scheme="https://blog.vrzbq.com/tags/%E9%85%8D%E7%BD%AE%E8%AE%B0%E5%BD%95/"/>
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/tags/Kubernetes/"/>
    
    <category term="记录" scheme="https://blog.vrzbq.com/tags/%E8%AE%B0%E5%BD%95/"/>
    
  </entry>
  
  <entry>
    <title>阿里云ACK中Nginx ingress使用CLB上的Https证书</title>
    <link href="https://blog.vrzbq.com/posts/lr01lzch/"/>
    <id>https://blog.vrzbq.com/posts/lr01lzch/</id>
    <published>2024-01-05T02:54:34.000Z</published>
    <updated>2025-09-26T06:44:30.519Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;背景: 我们在客户那里部署了一套服务, 服务运行在客户提供的ACK集群, 我们删除了客户ACK自带的nginx ingress, 通过自建的方式部署了两套ingress, 一套绑定了公网CLB, 一套绑定了内网CLB, 也就是说是CLB转发到ingress,</summary>
        
      
    
    
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/categories/Kubernetes/"/>
    
    
    <category term="Nginx" scheme="https://blog.vrzbq.com/tags/Nginx/"/>
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/tags/Kubernetes/"/>
    
    <category term="ingress" scheme="https://blog.vrzbq.com/tags/ingress/"/>
    
    <category term="阿里云" scheme="https://blog.vrzbq.com/tags/%E9%98%BF%E9%87%8C%E4%BA%91/"/>
    
    <category term="ACK" scheme="https://blog.vrzbq.com/tags/ACK/"/>
    
  </entry>
  
  <entry>
    <title>Django RestFramework 自定义显示字段</title>
    <link href="https://blog.vrzbq.com/posts/lqz1imdm/"/>
    <id>https://blog.vrzbq.com/posts/lqz1imdm/</id>
    <published>2024-01-04T10:04:11.000Z</published>
    <updated>2025-09-26T06:44:30.523Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;有的时候序列化出来的字段并不是我们想要的， 比如说返回的用户id，而我们想要返回的是用户名， 这个时候可以用到django rest framework的自定义字段功能。&lt;/p&gt;
&lt;h2 id=&quot;先看一下原始数据&quot;&gt;&lt;a href=&quot;#先看一下原始数据&quot;</summary>
        
      
    
    
    
    <category term="开发" scheme="https://blog.vrzbq.com/categories/%E5%BC%80%E5%8F%91/"/>
    
    
    <category term="drf" scheme="https://blog.vrzbq.com/tags/drf/"/>
    
    <category term="django" scheme="https://blog.vrzbq.com/tags/django/"/>
    
    <category term="Python" scheme="https://blog.vrzbq.com/tags/Python/"/>
    
  </entry>
  
  <entry>
    <title>curl常用操作记录</title>
    <link href="https://blog.vrzbq.com/posts/lqyxid2z/"/>
    <id>https://blog.vrzbq.com/posts/lqyxid2z/</id>
    <published>2024-01-04T08:12:00.000Z</published>
    <updated>2025-09-26T06:44:30.523Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;curl 是常用的命令行工具，用来请求 Web 服务器。它的名字就是客户端（client）的 URL 工具的意思。&lt;/p&gt;
&lt;p&gt;它的功能非常强大，命令行参数多达几十种。如果熟练的话，完全可以取代 Postman 这一类的图形界面工具。&lt;/p&gt;
&lt;p&gt;参考文章: &lt;a</summary>
        
      
    
    
    
    <category term="linux" scheme="https://blog.vrzbq.com/categories/linux/"/>
    
    
    <category term="配置记录" scheme="https://blog.vrzbq.com/tags/%E9%85%8D%E7%BD%AE%E8%AE%B0%E5%BD%95/"/>
    
    <category term="常用操作" scheme="https://blog.vrzbq.com/tags/%E5%B8%B8%E7%94%A8%E6%93%8D%E4%BD%9C/"/>
    
    <category term="curl" scheme="https://blog.vrzbq.com/tags/curl/"/>
    
  </entry>
  
  <entry>
    <title>检查域名支持的HTTPS协议版本</title>
    <link href="https://blog.vrzbq.com/posts/lqxf8k8u/"/>
    <id>https://blog.vrzbq.com/posts/lqxf8k8u/</id>
    <published>2024-01-03T06:52:44.000Z</published>
    <updated>2025-09-26T06:44:30.523Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;h2 id=&quot;在线验证&quot;&gt;&lt;a href=&quot;#在线验证&quot; class=&quot;headerlink&quot; title=&quot;在线验证&quot;&gt;&lt;/a&gt;在线验证&lt;/h2&gt;&lt;p&gt;随便找了两个网站: &lt;/p&gt;
&lt;p&gt;&lt;a</summary>
        
      
    
    
    
    <category term="linux" scheme="https://blog.vrzbq.com/categories/linux/"/>
    
    
    <category term="SSL" scheme="https://blog.vrzbq.com/tags/SSL/"/>
    
    <category term="加密" scheme="https://blog.vrzbq.com/tags/%E5%8A%A0%E5%AF%86/"/>
    
  </entry>
  
  <entry>
    <title>k8s部署单节点mongodb</title>
    <link href="https://blog.vrzbq.com/posts/894ed04d/"/>
    <id>https://blog.vrzbq.com/posts/894ed04d/</id>
    <published>2024-01-02T06:17:58.000Z</published>
    <updated>2025-09-26T06:44:30.519Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;&lt;strong&gt;根据yaml文件修改&lt;/strong&gt;&lt;/p&gt;
&lt;figure class=&quot;highlight yaml&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td class=&quot;gutter&quot;&gt;&lt;pre&gt;&lt;span class=&quot;line&quot;&gt;1&lt;/span&gt;&lt;br&gt;&lt;span</summary>
        
      
    
    
    
    <category term="Kubernetes" scheme="https://blog.vrzbq.com/categories/Kubernetes/"/>
    
    
  </entry>
  
  <entry>
    <title>ES开启安全认证</title>
    <link href="https://blog.vrzbq.com/posts/573776b5/"/>
    <id>https://blog.vrzbq.com/posts/573776b5/</id>
    <published>2024-01-02T06:17:58.000Z</published>
    <updated>2025-09-26T06:44:30.523Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;p&gt;&lt;strong&gt;elasticsearch开启安全认证步骤&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;1.创建证书&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;figure class=&quot;highlight bash&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td</summary>
        
      
    
    
    
    <category term="linux" scheme="https://blog.vrzbq.com/categories/linux/"/>
    
    
  </entry>
  
  <entry>
    <title>ES之x-pack-core-7.14.2破解</title>
    <link href="https://blog.vrzbq.com/posts/e544f05a/"/>
    <id>https://blog.vrzbq.com/posts/e544f05a/</id>
    <published>2024-01-02T03:58:06.000Z</published>
    <updated>2025-09-26T06:44:30.523Z</updated>
    
    
      
      
        
        
    <summary type="html">&lt;h2 id=&quot;ES之x-pack-core-7-14-2破解&quot;&gt;&lt;a href=&quot;#ES之x-pack-core-7-14-2破解&quot; class=&quot;headerlink&quot;</summary>
        
      
    
    
    
    <category term="linux" scheme="https://blog.vrzbq.com/categories/linux/"/>
    
    
  </entry>
  
</feed>
