Skip to content

Commit

Permalink
deploy: 146b4da
Browse files Browse the repository at this point in the history
  • Loading branch information
IceOfSummer committed Apr 14, 2024
1 parent e610b4d commit 1832319
Show file tree
Hide file tree
Showing 24 changed files with 1,024 additions and 24 deletions.
5 changes: 5 additions & 0 deletions 2023/12/04/rust/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@ <h1>Rust</h1>
<li><a href="/rust/rust-doc">注释和文档</a></li>
<li><a href="/rust/output-format">格式化输出</a></li>
<li><a href="/rust/test">单元测试和集成测试</a></li>
</ul>
<hr>
<p>高级:</p>
<ul>
<li><a href="/rust/advance/lifecycle">生命周期</a></li>
</ul>

</div>
Expand Down
5 changes: 3 additions & 2 deletions 2024/02/08/k8s/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,9 @@ <h1 id="课程笔记"><a href="#课程笔记" class="headerlink" title="课程
<ul>
<li><a href="/kubernetes/basic">基础</a></li>
<li><a href="/kubernetes/core">进阶</a></li>
<li><a href="/kubernetes/adv">高级</a></li>
<li><a href="/kubernetes/kubesphere">Kubesphere基础</a></li>
<li><a href="/kubernetes/adv">高级应用</a></li>
<li><a href="/kubernetes/network">K8s网络</a></li>
<li><del><a href="/kubernetes/kubesphere">Kubesphere基础</a></del></li>
</ul>
<h1 id="其它"><a href="#其它" class="headerlink" title="其它"></a>其它</h1><ul>
<li><a href="/kubernetes/self-registry">搭建私有镜像仓库</a></li>
Expand Down
2 changes: 1 addition & 1 deletion SpringCloud/config-center/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>配置中心</h1>

<span class="tag">

<a href="/SpringCloud/config-center" style="color: #ff7d73">配置中心</a>
<a href="/SpringCloud/config-center" style="color: #00bcd4">配置中心</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion SpringCloud/config-center/nacos.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>Nacos</h1>

<span class="tag">

<a href="/SpringCloud/config-center" style="color: #ff7d73">配置中心</a>
<a href="/SpringCloud/config-center" style="color: #ffa2c4">配置中心</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion SpringCloud/config-center/springcloud-config.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>SpringCloud Config</h1>

<span class="tag">

<a href="/SpringCloud/config-center" style="color: #00a596">配置中心</a>
<a href="/SpringCloud/config-center" style="color: #03a9f4">配置中心</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion SpringCloud/gateway/springcloud-gateway.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>SpringCloud Gateway</h1>

<span class="tag">

<a href="/SpringCloud/gateway/" style="color: #00bcd4">服务网关</a>
<a href="/SpringCloud/gateway/" style="color: #ffa2c4">服务网关</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion SpringCloud/loadbalance/ribbon.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>Ribbon</h1>

<span class="tag">

<a href="/SpringCloud/loadbalance" style="color: #00bcd4">负载均衡</a>
<a href="/SpringCloud/loadbalance" style="color: #03a9f4">负载均衡</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion SpringCloud/service-degradation/hystrix.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>Hystrix</h1>

<span class="tag">

<a href="/SpringCloud/service-degradation" style="color: #00bcd4">服务降级</a>
<a href="/SpringCloud/service-degradation" style="color: #ffa2c4">服务降级</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion SpringCloud/service-degradation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>服务降级</h1>

<span class="tag">

<a href="/SpringCloud/service-degradation" style="color: #ff7d73">服务降级</a>
<a href="/SpringCloud/service-degradation" style="color: #ffa2c4">服务降级</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion SpringCloud/service-degradation/sentinel.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>Sentinel</h1>

<span class="tag">

<a href="/SpringCloud/service-degradation" style="color: #03a9f4">服务降级</a>
<a href="/SpringCloud/service-degradation" style="color: #00a596">服务降级</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion SpringCloud/service-invoke/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>服务调用</h1>

<span class="tag">

<a href="/SpringCloud/service-invoke" style="color: #00bcd4">服务调用</a>
<a href="/SpringCloud/service-invoke" style="color: #ff7d73">服务调用</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion SpringCloud/service-invoke/open-feign.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>OpenFeign</h1>

<span class="tag">

<a href="/SpringCloud/service-invoke" style="color: #00a596">服务调用</a>
<a href="/SpringCloud/service-invoke" style="color: #ffa2c4">服务调用</a>
</span>

</span>
Expand Down
10 changes: 8 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,9 @@ <h1 id="课程笔记"><a href="#课程笔记" class="headerlink" title="课程
<ul>
<li><a href="/kubernetes/basic">基础</a></li>
<li><a href="/kubernetes/core">进阶</a></li>
<li><a href="/kubernetes/adv">高级</a></li>
<li><a href="/kubernetes/kubesphere">Kubesphere基础</a></li>
<li><a href="/kubernetes/adv">高级应用</a></li>
<li><a href="/kubernetes/network">K8s网络</a></li>
<li><del><a href="/kubernetes/kubesphere">Kubesphere基础</a></del></li>
</ul>
<h1 id="其它"><a href="#其它" class="headerlink" title="其它"></a>其它</h1><ul>
<li><a href="/kubernetes/self-registry">搭建私有镜像仓库</a></li>
Expand Down Expand Up @@ -631,6 +632,11 @@ <h2 class="post-title">Rust</h2>
<li><a href="/rust/rust-doc">注释和文档</a></li>
<li><a href="/rust/output-format">格式化输出</a></li>
<li><a href="/rust/test">单元测试和集成测试</a></li>
</ul>
<hr>
<p>高级:</p>
<ul>
<li><a href="/rust/advance/lifecycle">生命周期</a></li>
</ul>


Expand Down
2 changes: 1 addition & 1 deletion java-source/concurrent-hashmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>ConcurrentHashMap源码</h1>

<span class="tag">

<a href="/2023/03/05/java-source#Java" style="color: #ffa2c4">Java</a>
<a href="/2023/03/05/java-source#Java" style="color: #00a596">Java</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion java-source/hash-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>HashMap源码</h1>

<span class="tag">

<a href="/2023/03/05/java-source#Java" style="color: #ff7d73">Java</a>
<a href="/2023/03/05/java-source#Java" style="color: #ffa2c4">Java</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion java-source/linked-transfer-queue.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ <h1></h1>
<span class="icon">
<i class="fa-solid fa-calendar fa-fw"></i>
</span>
2024/4/13
2024/4/14
</span>


Expand Down
2 changes: 1 addition & 1 deletion java-source/named-context-factory.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>NamedContextFactory使用与源码解读</h1>

<span class="tag">

<a href="/2023/03/05/java-source#Spring-Cloud" style="color: #00a596">SpringCloud</a>
<a href="/2023/03/05/java-source#Spring-Cloud" style="color: #03a9f4">SpringCloud</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion java-source/reentrant-lock.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>ReentrantLock源码</h1>

<span class="tag">

<a href="/2023/03/05/java-source#Java" style="color: #00bcd4">Java</a>
<a href="/2023/03/05/java-source#Java" style="color: #ffa2c4">Java</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion java-source/springcloud-sentinel-source.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>SpringCloud Sentinel 排队等待和Warm Up限流源码</h1>

<span class="tag">

<a href="/2023/03/05/java-source#Spring-Cloud" style="color: #00bcd4">SpringCloud</a>
<a href="/2023/03/05/java-source#Spring-Cloud" style="color: #03a9f4">SpringCloud</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion java-source/synchronized.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>synchronized与锁升级</h1>

<span class="tag">

<a href="/2023/03/05/java-source#JVM" style="color: #ff7d73">JVM</a>
<a href="/2023/03/05/java-source#JVM" style="color: #ffa2c4">JVM</a>
</span>

</span>
Expand Down
2 changes: 1 addition & 1 deletion java-source/threadpool.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ <h1>线程池</h1>

<span class="tag">

<a href="/2023/03/05/java-source#Java" style="color: #00bcd4">Java</a>
<a href="/2023/03/05/java-source#Java" style="color: #03a9f4">Java</a>
</span>

</span>
Expand Down
10 changes: 8 additions & 2 deletions kubernetes/adv.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<title>高级 | IceOfSummerの博客</title>
<title>高级应用 | IceOfSummerの博客</title>
<meta name="author" content="IceOfSummer" />
<meta name="description" content="后面一辈子的博客都在这了!" />
<meta name="keywords" content="" />
Expand Down Expand Up @@ -167,7 +167,7 @@ <h2>LOADING</h2>

<div class="article">
<div>
<h1>高级</h1>
<h1>高级应用</h1>
</div>
<div class="info">
<span class="date">
Expand Down Expand Up @@ -382,6 +382,12 @@ <h1 id="Job"><a href="#Job" class="headerlink" title="Job"></a>Job</h1><p>Kubern
# 在job执行完成后多久,自动删除Pod, 单位为妙,设置为0时将会理解删除
ttlSecondsAfterFinished: 0
</code></pre>
<h2 id="清理已经完成的-Job"><a href="#清理已经完成的-Job" class="headerlink" title="清理已经完成的 Job"></a>清理已经完成的 Job</h2><p><a target="_blank" rel="noopener" href="https://kubernetes.io/zh-cn/docs/concepts/workloads/controllers/ttlafterfinished/">已完成 Job 的自动清理</a></p>
<p>通过指定 Job 的 <code>spec.ttlSecondsAfterFinished</code> 字段来自动清理已结束的 Job。</p>
<p>通过参数 <code>--cascade=orphan</code>,kubectl delete 命令也可以选择不同的级联删除策略:</p>
<pre><code class="bash">kubectl delete replicaset xxx --cascade=orphan
</code></pre>
<p>上面的命令将删除 rs,但是不删除对应的 Pod。</p>

</div>

Expand Down
Loading

0 comments on commit 1832319

Please sign in to comment.