备案敏感信息
This commit is contained in:
@ -32,7 +32,7 @@ export default {
|
||||
data () {
|
||||
return {
|
||||
urls: [
|
||||
{name: 'sealos官网', url: 'http://store.lameleg.com?referrer=shaohq', icon: 'https://hugo-picture.oss-cn-beijing.aliyuncs.com/blog/2019-08-27-044824.jpg'},
|
||||
{name: 'sealos', url: 'http://store.lameleg.com?referrer=shaohq', icon: 'https://hugo-picture.oss-cn-beijing.aliyuncs.com/blog/2019-08-27-044824.jpg'},
|
||||
{name: '云原生实验室', url: 'https://fuckcloudnative.io/', icon: 'https://hugo-picture.oss-cn-beijing.aliyuncs.com/favicon-32x32.png'},
|
||||
]
|
||||
}
|
||||
|
||||
@ -105,7 +105,7 @@ export default {
|
||||
// this.$title = 'hello---'
|
||||
},
|
||||
mounted () {
|
||||
// window.document.title = 'Kuboard 官网 - Kubernetes k8s 国内安装/部署/入门/免费中文教程/实践/微服务管理界面'
|
||||
// window.document.title = 'Kuboard - Kubernetes k8s 国内安装/部署/入门/免费中文教程/实践/微服务管理界面'
|
||||
},
|
||||
computed: {
|
||||
data () {
|
||||
@ -113,7 +113,7 @@ export default {
|
||||
|
||||
home: false,
|
||||
layout: 'HomePage',
|
||||
title: 'Kuboard官网_Kubernetes教程_K8S安装_管理界面',
|
||||
title: 'Kuboard_Kubernetes教程_K8S安装_管理界面',
|
||||
description: 'Kuboard是一款免费的Kubernetes管理界面_同时该网站还提供Kubernetes安装文档_K8S_部署_入门_免费中文Kubernetes教程_以及在Kubernetes上部署SpringCloud的详细文档',
|
||||
meta: [
|
||||
{
|
||||
|
||||
@ -5,7 +5,7 @@ module.exports = {
|
||||
// devtool: 'source-map'
|
||||
// }),
|
||||
modules: ['bootstrap-vue/nuxt'],
|
||||
title: 'Kuboard官网',
|
||||
title: 'Kuboard',
|
||||
description: '一款Kubernetes_Dashboard_简化Kubernetes的学习和使用_帮助您快速落地Kubernetes_提供_Kubernetes_免费中文教程_国内安装文档',
|
||||
head: [
|
||||
// ['meta', {name: 'keywords', content: 'Kubernetes教程,Kubernetes安装,K8S教程,K8S安装,Kubernetes管理界面'}],
|
||||
@ -61,7 +61,7 @@ module.exports = {
|
||||
// // popupComponent: 'KbSWUpdatePopup',
|
||||
// updatePopup: {
|
||||
// '/': {
|
||||
// message: "Kuboard官网已更新",
|
||||
// message: "Kuboard已更新",
|
||||
// buttonText: "点击刷新"
|
||||
// }
|
||||
// }
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Kuboard官网_Kubernetes教程_K8S安装_管理界面</title>
|
||||
<title>Kuboard_Kubernetes教程_K8S安装_管理界面</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="keywords" content="Kubernetes教程,K8S教程,Kubernetes安装,K8S安装,Kubernetes">
|
||||
<meta name="description" content="Kuboard是一款免费的Kubernetes管理界面_同时该网站还提供Kubernetes安装文档_K8S_部署_入门_免费中文Kubernetes教程_以及在Kubernetes上部署SpringCloud的详细文档">
|
||||
@ -171,7 +171,7 @@
|
||||
<div class="col-sm-6">
|
||||
<div class="material-pills-text">
|
||||
<h4 class="text-primary">权威资料</h4>
|
||||
<p>此中文教程的主要参考依据为 Kubernetes 官网原文资料,以及 Kubernetes 实战经验。</p>
|
||||
<p>此中文教程的主要参考依据为 Kubernetes 原文资料,以及 Kubernetes 实战经验。</p>
|
||||
<h4 class="text-primary">在线答疑</h4>
|
||||
<p>对于不明白的地方,可直接和社群网友及作者讨论,学习 Kubernetes 的同学可能不明白的问题在教程中有额外的解释</p>
|
||||
<h4 class="text-primary">随时查看</h4>
|
||||
@ -399,7 +399,7 @@
|
||||
|
||||
<div class="py-80">
|
||||
<div class="custom-witdth-box" style="box-shadow: 2px 4px 20px 0px rgba(0, 0, 0, 0.1);">
|
||||
<div class="content__default"><h1 id="kuboard简介"><a href="#kuboard简介" class="header-anchor">#</a> Kuboard简介</h1> <p>Kuboard 是一款基于 Kubernetes 的微服务管理界面。目的是帮助用户快速在 Kubernetes 上落地微服务。在 <a href="https://kuboard.cn" target="_blank" rel="nofollow" onclick="openOutboundLink(this)">https://kuboard.cn<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 上,您可以获得:</p> <ul><li>最新版本的 Kubernetes 安装文档</li> <li>免费的 Kubernetes 中文教程</li> <li>免费的 Kubernetes 图形化管理界面 Kuboard</li> <li>在 Kubernetes 上部署 Spring Cloud 的实战分享</li></ul> <h2 id="kubernetes安装文档"><a href="#kubernetes安装文档" class="header-anchor">#</a> Kubernetes安装文档</h2> <ul><li><a href="https://kuboard.cn/install/install-k8s.html">Kubernetes (K8S)v1.16.2 安装文档</a> <ul><li>每天超过 300 名网友参考此文档完成Kubernetes安装</li> <li>QQ群在线答疑</li></ul></li> <li><a href="https://kuboard.cn/install/install-kubernetes.html">Kubernetes 高可用安装文档</a></li> <li><a href="https://kuboard.cn/install/upgrade-k8s/1.15.x-1.16.x.html">Kubernetes升级到1.16.x</a></li> <li><a href="https://kuboard.cn/install/install-dashboard.html">Kuboard 安装文档</a></li></ul> <h2 id="kubernetes免费教程"><a href="#kubernetes免费教程" class="header-anchor">#</a> Kubernetes免费教程</h2> <p>Kubernetes教程的主要依据是:Kubernetes 官网文档,以及使用 Kuboard 落地 Spring Cloud 微服务的实战经验</p> <h3 id="kubernetes-介绍"><a href="#kubernetes-介绍" class="header-anchor">#</a> <strong>Kubernetes 介绍</strong></h3> <ul><li><a href="https://kuboard.cn/learning/k8s-bg/what-is-k8s.html">什么是Kubernetes</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/component.html">Kubernetes组件</a></li></ul> <h3 id="kubernetes入门"><a href="#kubernetes入门" class="header-anchor">#</a> Kubernetes入门</h3> <ul><li><a href="https://kuboard.cn/learning/k8s-basics/kubernetes-basics.html">0. 学习Kubernetes基础知识</a> (10分钟)
|
||||
<div class="content__default"><h1 id="kuboard简介"><a href="#kuboard简介" class="header-anchor">#</a> Kuboard简介</h1> <p>Kuboard 是一款基于 Kubernetes 的微服务管理界面。目的是帮助用户快速在 Kubernetes 上落地微服务。在 <a href="https://kuboard.cn" target="_blank" rel="nofollow" onclick="openOutboundLink(this)">https://kuboard.cn<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 上,您可以获得:</p> <ul><li>最新版本的 Kubernetes 安装文档</li> <li>免费的 Kubernetes 中文教程</li> <li>免费的 Kubernetes 图形化管理界面 Kuboard</li> <li>在 Kubernetes 上部署 Spring Cloud 的实战分享</li></ul> <h2 id="kubernetes安装文档"><a href="#kubernetes安装文档" class="header-anchor">#</a> Kubernetes安装文档</h2> <ul><li><a href="https://kuboard.cn/install/install-k8s.html">Kubernetes (K8S)v1.16.2 安装文档</a> <ul><li>每天超过 300 名网友参考此文档完成Kubernetes安装</li> <li>QQ群在线答疑</li></ul></li> <li><a href="https://kuboard.cn/install/install-kubernetes.html">Kubernetes 高可用安装文档</a></li> <li><a href="https://kuboard.cn/install/upgrade-k8s/1.15.x-1.16.x.html">Kubernetes升级到1.16.x</a></li> <li><a href="https://kuboard.cn/install/install-dashboard.html">Kuboard 安装文档</a></li></ul> <h2 id="kubernetes免费教程"><a href="#kubernetes免费教程" class="header-anchor">#</a> Kubernetes免费教程</h2> <p>Kubernetes教程的主要依据是:Kubernetes 文档,以及使用 Kuboard 落地 Spring Cloud 微服务的实战经验</p> <h3 id="kubernetes-介绍"><a href="#kubernetes-介绍" class="header-anchor">#</a> <strong>Kubernetes 介绍</strong></h3> <ul><li><a href="https://kuboard.cn/learning/k8s-bg/what-is-k8s.html">什么是Kubernetes</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/component.html">Kubernetes组件</a></li></ul> <h3 id="kubernetes入门"><a href="#kubernetes入门" class="header-anchor">#</a> Kubernetes入门</h3> <ul><li><a href="https://kuboard.cn/learning/k8s-basics/kubernetes-basics.html">0. 学习Kubernetes基础知识</a> (10分钟)
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-basics/deploy-app.html">1. 部署一个应用程序</a> (5分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/explore.html">2. 查看 Pods / Nodes</a> (10分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/expose.html">3. 公布应用程序</a> (10分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/scale.html">4. 伸缩应用程序</a> (10分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/update.html">5. 执行滚动更新</a> (10分钟)</li></ul></li> <li><a href="https://kuboard.cn/learning/k8s-basics/k8s-core-concepts.html">6. 复习Kubernetes核心概念</a> (10分钟)</li></ul> <h3 id="kubernetes进阶"><a href="#kubernetes进阶" class="header-anchor">#</a> Kubernetes进阶</h3> <ul><li>架构
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-bg/architecture/nodes.html">节点</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/architecture/com.html">集群内通信</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/architecture/controller.html">控制器</a></li></ul></li> <li>操作Kubernetes
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/k8s-object.html">什么是Kubernetes对象</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/manage.html">管理Kubernetes对象</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/names.html">名称</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/namespaces.html">名称空间</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/namespace-op.html">使用名称空间共享集群</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/labels.html">标签和选择器</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/annotations.html">注解</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/field.html">字段选择器</a></li></ul></li> <li>容器
|
||||
@ -414,7 +414,7 @@
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-advanced/policy/lr.html">Limit Range</a></li> <li><a href="https://kuboard.cn/learning/k8s-advanced/policy/rq.html">Resource Quota</a></li></ul></li> <li>安全</li> <li>监控</li> <li>联邦</li></ul> <h3 id="kubernetes实战"><a href="#kubernetes实战" class="header-anchor">#</a> Kubernetes实战</h3> <p>在 Kubernetes 上部署 Spring Cloud 微服务:</p> <ul><li><a href="https://kuboard.cn/learning/k8s-practice/spring-cloud/">概述</a></li></ul> <p>在 Kubernetes 上部署 Spring Cloud 微服务:(Open Capacity Platform)</p> <ul><li>准备
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/prepare.html">准备OCP的构建环境和部署环境</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/build.html">构建docker镜像并推送到仓库</a></li></ul></li> <li>部署
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/sequence.html">部署顺序</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/eureka-server.html">在K8S上部署eureka-server</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/mysql.html">在K8S上部署mysql</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/redis.html">在K8S上部署redis</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/auth-server.html">在K8S上部署auth-server</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/user-center.html">在K8S上部署user-center</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/api-gateway.html">在K8S上部署api-gateway</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/back-center.html">在K8S上部署back-center</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/review.html">重新审视配置信息</a></li></ul></li> <li>多环境
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/export.html">导出部署配置</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/import.html">导入部署配置</a></li></ul></li></ul> <p>Kuboard官网免费提供Kubernetes教程、K8S教程、K8S安装文档、Kubernetes+SpringCloud实战文档,学习过程中如有疑问,请加QQ群在线答疑。</p></div>
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/export.html">导出部署配置</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/import.html">导入部署配置</a></li></ul></li></ul> <p>Kuboard免费提供Kubernetes教程、K8S教程、K8S安装文档、Kubernetes+SpringCloud实战文档,学习过程中如有疑问,请加QQ群在线答疑。</p></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -447,7 +447,7 @@
|
||||
<div class="col-sm-6 col-md-4 col-lg-3">
|
||||
<h4 class="footer-head">友情链接</h4>
|
||||
<ul class="footer-links">
|
||||
<li><a href="https://www.kubernetes.io" rel="nofollow" target="_blank" title="Link">Kubernetes 官网</a></li>
|
||||
<li><a href="https://www.kubernetes.io" rel="nofollow" target="_blank" title="Link">Kubernetes </a></li>
|
||||
<li><a href="http://store.lameleg.com/?referrer=shaohq" target="_blank" title="Link">Sealyun 一键离线安装K8S</a></li>
|
||||
<li><a href="https://www.yangcs.net/?utm_source=kuboard.cn" target="_blank" title="Link">云原生实验室</a></li>
|
||||
</ul>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Kuboard官网_Kubernetes教程_K8S安装_管理界面</title>
|
||||
<title>Kuboard_Kubernetes教程_K8S安装_管理界面</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="keywords" content="Kubernetes教程,K8S教程,Kubernetes安装,K8S安装,Kubernetes">
|
||||
<meta name="description" content="Kuboard是一款免费的Kubernetes管理界面_同时该网站还提供Kubernetes安装文档_K8S_部署_入门_免费中文Kubernetes教程_以及在Kubernetes上部署SpringCloud的详细文档">
|
||||
@ -467,7 +467,7 @@
|
||||
|
||||
<div class="py-80">
|
||||
<div class="custom-witdth-box" style="box-shadow: 2px 4px 20px 0px rgba(0, 0, 0, 0.1);">
|
||||
<div class="content__default"><h1 id="kuboard简介"><a href="#kuboard简介" class="header-anchor">#</a> Kuboard简介</h1> <p>Kuboard 是一款基于 Kubernetes 的微服务管理界面。目的是帮助用户快速在 Kubernetes 上落地微服务。在 <a href="https://kuboard.cn" target="_blank" rel="nofollow" onclick="openOutboundLink(this)">https://kuboard.cn<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 上,您可以获得:</p> <ul><li>最新版本的 Kubernetes 安装文档</li> <li>免费的 Kubernetes 中文教程</li> <li>免费的 Kubernetes 图形化管理界面 Kuboard</li> <li>在 Kubernetes 上部署 Spring Cloud 的实战分享</li></ul> <h2 id="kubernetes安装文档"><a href="#kubernetes安装文档" class="header-anchor">#</a> Kubernetes安装文档</h2> <ul><li><a href="https://kuboard.cn/install/install-k8s.html">Kubernetes (K8S)v1.16.2 安装文档</a> <ul><li>每天超过 300 名网友参考此文档完成Kubernetes安装</li> <li>QQ群在线答疑</li></ul></li> <li><a href="https://kuboard.cn/install/install-kubernetes.html">Kubernetes 高可用安装文档</a></li> <li><a href="https://kuboard.cn/install/upgrade-k8s/1.15.x-1.16.x.html">Kubernetes升级到1.16.x</a></li> <li><a href="https://kuboard.cn/install/install-dashboard.html">Kuboard 安装文档</a></li></ul> <h2 id="kubernetes免费教程"><a href="#kubernetes免费教程" class="header-anchor">#</a> Kubernetes免费教程</h2> <p>Kubernetes教程的主要依据是:Kubernetes 官网文档,以及使用 Kuboard 落地 Spring Cloud 微服务的实战经验</p> <h3 id="kubernetes-介绍"><a href="#kubernetes-介绍" class="header-anchor">#</a> <strong>Kubernetes 介绍</strong></h3> <ul><li><a href="https://kuboard.cn/learning/k8s-bg/what-is-k8s.html">什么是Kubernetes</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/component.html">Kubernetes组件</a></li></ul> <h3 id="kubernetes入门"><a href="#kubernetes入门" class="header-anchor">#</a> Kubernetes入门</h3> <ul><li><a href="https://kuboard.cn/learning/k8s-basics/kubernetes-basics.html">0. 学习Kubernetes基础知识</a> (10分钟)
|
||||
<div class="content__default"><h1 id="kuboard简介"><a href="#kuboard简介" class="header-anchor">#</a> Kuboard简介</h1> <p>Kuboard 是一款基于 Kubernetes 的微服务管理界面。目的是帮助用户快速在 Kubernetes 上落地微服务。在 <a href="https://kuboard.cn" target="_blank" rel="nofollow" onclick="openOutboundLink(this)">https://kuboard.cn<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 上,您可以获得:</p> <ul><li>最新版本的 Kubernetes 安装文档</li> <li>免费的 Kubernetes 中文教程</li> <li>免费的 Kubernetes 图形化管理界面 Kuboard</li> <li>在 Kubernetes 上部署 Spring Cloud 的实战分享</li></ul> <h2 id="kubernetes安装文档"><a href="#kubernetes安装文档" class="header-anchor">#</a> Kubernetes安装文档</h2> <ul><li><a href="https://kuboard.cn/install/install-k8s.html">Kubernetes (K8S)v1.16.2 安装文档</a> <ul><li>每天超过 300 名网友参考此文档完成Kubernetes安装</li> <li>QQ群在线答疑</li></ul></li> <li><a href="https://kuboard.cn/install/install-kubernetes.html">Kubernetes 高可用安装文档</a></li> <li><a href="https://kuboard.cn/install/upgrade-k8s/1.15.x-1.16.x.html">Kubernetes升级到1.16.x</a></li> <li><a href="https://kuboard.cn/install/install-dashboard.html">Kuboard 安装文档</a></li></ul> <h2 id="kubernetes免费教程"><a href="#kubernetes免费教程" class="header-anchor">#</a> Kubernetes免费教程</h2> <p>Kubernetes教程的主要依据是:Kubernetes 文档,以及使用 Kuboard 落地 Spring Cloud 微服务的实战经验</p> <h3 id="kubernetes-介绍"><a href="#kubernetes-介绍" class="header-anchor">#</a> <strong>Kubernetes 介绍</strong></h3> <ul><li><a href="https://kuboard.cn/learning/k8s-bg/what-is-k8s.html">什么是Kubernetes</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/component.html">Kubernetes组件</a></li></ul> <h3 id="kubernetes入门"><a href="#kubernetes入门" class="header-anchor">#</a> Kubernetes入门</h3> <ul><li><a href="https://kuboard.cn/learning/k8s-basics/kubernetes-basics.html">0. 学习Kubernetes基础知识</a> (10分钟)
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-basics/deploy-app.html">1. 部署一个应用程序</a> (5分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/explore.html">2. 查看 Pods / Nodes</a> (10分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/expose.html">3. 公布应用程序</a> (10分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/scale.html">4. 伸缩应用程序</a> (10分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/update.html">5. 执行滚动更新</a> (10分钟)</li></ul></li> <li><a href="https://kuboard.cn/learning/k8s-basics/k8s-core-concepts.html">6. 复习Kubernetes核心概念</a> (10分钟)</li></ul> <h3 id="kubernetes进阶"><a href="#kubernetes进阶" class="header-anchor">#</a> Kubernetes进阶</h3> <ul><li>架构
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-bg/architecture/nodes.html">节点</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/architecture/com.html">集群内通信</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/architecture/controller.html">控制器</a></li></ul></li> <li>操作Kubernetes
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/k8s-object.html">什么是Kubernetes对象</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/manage.html">管理Kubernetes对象</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/names.html">名称</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/namespaces.html">名称空间</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/namespace-op.html">使用名称空间共享集群</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/labels.html">标签和选择器</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/annotations.html">注解</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/field.html">字段选择器</a></li></ul></li> <li>容器
|
||||
@ -482,7 +482,7 @@
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-advanced/policy/lr.html">Limit Range</a></li> <li><a href="https://kuboard.cn/learning/k8s-advanced/policy/rq.html">Resource Quota</a></li></ul></li> <li>安全</li> <li>监控</li> <li>联邦</li></ul> <h3 id="kubernetes实战"><a href="#kubernetes实战" class="header-anchor">#</a> Kubernetes实战</h3> <p>在 Kubernetes 上部署 Spring Cloud 微服务:</p> <ul><li><a href="https://kuboard.cn/learning/k8s-practice/spring-cloud/">概述</a></li></ul> <p>在 Kubernetes 上部署 Spring Cloud 微服务:(Open Capacity Platform)</p> <ul><li>准备
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/prepare.html">准备OCP的构建环境和部署环境</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/build.html">构建docker镜像并推送到仓库</a></li></ul></li> <li>部署
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/sequence.html">部署顺序</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/eureka-server.html">在K8S上部署eureka-server</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/mysql.html">在K8S上部署mysql</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/redis.html">在K8S上部署redis</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/auth-server.html">在K8S上部署auth-server</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/user-center.html">在K8S上部署user-center</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/api-gateway.html">在K8S上部署api-gateway</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/back-center.html">在K8S上部署back-center</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/review.html">重新审视配置信息</a></li></ul></li> <li>多环境
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/export.html">导出部署配置</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/import.html">导入部署配置</a></li></ul></li></ul> <p>Kuboard官网免费提供Kubernetes教程、K8S教程、K8S安装文档、Kubernetes+SpringCloud实战文档,学习过程中如有疑问,请加QQ群在线答疑。</p></div>
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/export.html">导出部署配置</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/import.html">导入部署配置</a></li></ul></li></ul> <p>Kuboard免费提供Kubernetes教程、K8S教程、K8S安装文档、Kubernetes+SpringCloud实战文档,学习过程中如有疑问,请加QQ群在线答疑。</p></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -505,27 +505,27 @@
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-6 col-md-4 col-lg-3">
|
||||
<!-- <div class="col-sm-6 col-md-4 col-lg-3">
|
||||
<h4 class="footer-head">关于产品</h4>
|
||||
<ul class="footer-links">
|
||||
<li><a href="/support/" title="Link">授权与支持</a></li>
|
||||
<li><a href="/support/" title="Link">联系信息</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="col-sm-6 col-md-4 col-lg-3">
|
||||
<h4 class="footer-head">友情链接</h4>
|
||||
<ul class="footer-links">
|
||||
<li><a href="https://www.kubernetes.io" rel="nofollow" target="_blank" title="Link">Kubernetes 官网</a></li>
|
||||
<li><a href="https://www.kubernetes.io" rel="nofollow" target="_blank" title="Link">Kubernetes </a></li>
|
||||
<li><a href="http://store.lameleg.com/?referrer=shaohq" target="_blank" title="Link">Sealyun 一键离线安装K8S</a></li>
|
||||
<li><a href="https://fuckcloudnative.io/?utm_source=kuboard.cn" target="_blank" title="Link">云原生实验室</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-sm-6 col-md-4 col-lg-3">
|
||||
<!-- <div class="col-sm-6 col-md-4 col-lg-3">
|
||||
<h4 class="footer-head">公司信息</h4>
|
||||
<ul class="footer-links">
|
||||
<li><a href="http://www.eigpay.com/" target="_blank" title="Link">仁聚汇通</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="col-sm-6 col-md-4 col-lg-3">
|
||||
<h4 class="footer-head">联系我们</h4>
|
||||
<ul class="footer-links">
|
||||
@ -535,9 +535,9 @@
|
||||
</div>
|
||||
<div class="copyright-bar clearfix" style="margin-bottom: 50px;">
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<!-- <div class="col-lg-6">
|
||||
<h1 class="mt-0 mb-0 text-primary">Kuboard ™</h1>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="col-lg-6">
|
||||
<div class="copy-text">© 2019 邵欢庆 All Right Reserved | 京ICP备19008693号-2</div>
|
||||
</div>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Kuboard官网_Kubernetes教程_K8S安装_管理界面</title>
|
||||
<title>Kuboard_Kubernetes教程_K8S安装_管理界面</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="keywords" content="Kubernetes教程,K8S教程,Kubernetes安装,K8S安装,Kubernetes">
|
||||
<meta name="description" content="Kuboard是一款免费的Kubernetes管理界面_同时该网站还提供Kubernetes安装文档_K8S_部署_入门_免费中文Kubernetes教程_以及在Kubernetes上部署SpringCloud的详细文档">
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "Kuboard官网",
|
||||
"name": "Kuboard",
|
||||
"short_name": "Kuboard",
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
|
||||
@ -171,7 +171,7 @@
|
||||
<div class="col-sm-6">
|
||||
<div class="material-pills-text">
|
||||
<h4 class="text-primary">权威资料</h4>
|
||||
<p>此中文教程的主要参考依据为 Kubernetes 官网原文资料,以及 Kubernetes 实战经验。</p>
|
||||
<p>此中文教程的主要参考依据为 Kubernetes 原文资料,以及 Kubernetes 实战经验。</p>
|
||||
<h4 class="text-primary">在线答疑</h4>
|
||||
<p>对于不明白的地方,可直接和社群网友及作者讨论,学习 Kubernetes 的同学可能不明白的问题在教程中有额外的解释</p>
|
||||
<h4 class="text-primary">随时查看</h4>
|
||||
@ -397,7 +397,7 @@
|
||||
|
||||
<div class="py-80">
|
||||
<div class="custom-witdth-box" style="box-shadow: 2px 4px 20px 0px rgba(0, 0, 0, 0.1);">
|
||||
<div class="content__default"><h1 id="kuboard简介"><a href="#kuboard简介" class="header-anchor">#</a> Kuboard简介</h1> <p>Kuboard 是一款基于 Kubernetes 的微服务管理界面。目的是帮助用户快速在 Kubernetes 上落地微服务。在 <a href="https://kuboard.cn" target="_blank" rel="nofollow" onclick="openOutboundLink(this)">https://kuboard.cn<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 上,您可以获得:</p> <ul><li>最新版本的 Kubernetes 安装文档</li> <li>免费的 Kubernetes 中文教程</li> <li>免费的 Kubernetes 图形化管理界面 Kuboard</li> <li>在 Kubernetes 上部署 Spring Cloud 的实战分享</li></ul> <h2 id="kubernetes安装文档"><a href="#kubernetes安装文档" class="header-anchor">#</a> Kubernetes安装文档</h2> <ul><li><a href="https://kuboard.cn/install/install-k8s.html">Kubernetes (K8S)v1.16.2 安装文档</a> <ul><li>每天超过 300 名网友参考此文档完成Kubernetes安装</li> <li>QQ群在线答疑</li></ul></li> <li><a href="https://kuboard.cn/install/install-kubernetes.html">Kubernetes 高可用安装文档</a></li> <li><a href="https://kuboard.cn/install/upgrade-k8s/1.15.x-1.16.x.html">Kubernetes升级到1.16.x</a></li> <li><a href="https://kuboard.cn/install/install-dashboard.html">Kuboard 安装文档</a></li></ul> <h2 id="kubernetes免费教程"><a href="#kubernetes免费教程" class="header-anchor">#</a> Kubernetes免费教程</h2> <p>Kubernetes教程的主要依据是:Kubernetes 官网文档,以及使用 Kuboard 落地 Spring Cloud 微服务的实战经验</p> <h3 id="kubernetes-介绍"><a href="#kubernetes-介绍" class="header-anchor">#</a> <strong>Kubernetes 介绍</strong></h3> <ul><li><a href="https://kuboard.cn/learning/k8s-bg/what-is-k8s.html">什么是Kubernetes</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/component.html">Kubernetes组件</a></li></ul> <h3 id="kubernetes入门"><a href="#kubernetes入门" class="header-anchor">#</a> Kubernetes入门</h3> <ul><li><a href="https://kuboard.cn/learning/k8s-basics/kubernetes-basics.html">0. 学习Kubernetes基础知识</a> (10分钟)
|
||||
<div class="content__default"><h1 id="kuboard简介"><a href="#kuboard简介" class="header-anchor">#</a> Kuboard简介</h1> <p>Kuboard 是一款基于 Kubernetes 的微服务管理界面。目的是帮助用户快速在 Kubernetes 上落地微服务。在 <a href="https://kuboard.cn" target="_blank" rel="nofollow" onclick="openOutboundLink(this)">https://kuboard.cn<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a> 上,您可以获得:</p> <ul><li>最新版本的 Kubernetes 安装文档</li> <li>免费的 Kubernetes 中文教程</li> <li>免费的 Kubernetes 图形化管理界面 Kuboard</li> <li>在 Kubernetes 上部署 Spring Cloud 的实战分享</li></ul> <h2 id="kubernetes安装文档"><a href="#kubernetes安装文档" class="header-anchor">#</a> Kubernetes安装文档</h2> <ul><li><a href="https://kuboard.cn/install/install-k8s.html">Kubernetes (K8S)v1.16.2 安装文档</a> <ul><li>每天超过 300 名网友参考此文档完成Kubernetes安装</li> <li>QQ群在线答疑</li></ul></li> <li><a href="https://kuboard.cn/install/install-kubernetes.html">Kubernetes 高可用安装文档</a></li> <li><a href="https://kuboard.cn/install/upgrade-k8s/1.15.x-1.16.x.html">Kubernetes升级到1.16.x</a></li> <li><a href="https://kuboard.cn/install/install-dashboard.html">Kuboard 安装文档</a></li></ul> <h2 id="kubernetes免费教程"><a href="#kubernetes免费教程" class="header-anchor">#</a> Kubernetes免费教程</h2> <p>Kubernetes教程的主要依据是:Kubernetes 文档,以及使用 Kuboard 落地 Spring Cloud 微服务的实战经验</p> <h3 id="kubernetes-介绍"><a href="#kubernetes-介绍" class="header-anchor">#</a> <strong>Kubernetes 介绍</strong></h3> <ul><li><a href="https://kuboard.cn/learning/k8s-bg/what-is-k8s.html">什么是Kubernetes</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/component.html">Kubernetes组件</a></li></ul> <h3 id="kubernetes入门"><a href="#kubernetes入门" class="header-anchor">#</a> Kubernetes入门</h3> <ul><li><a href="https://kuboard.cn/learning/k8s-basics/kubernetes-basics.html">0. 学习Kubernetes基础知识</a> (10分钟)
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-basics/deploy-app.html">1. 部署一个应用程序</a> (5分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/explore.html">2. 查看 Pods / Nodes</a> (10分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/expose.html">3. 公布应用程序</a> (10分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/scale.html">4. 伸缩应用程序</a> (10分钟)</li> <li><a href="https://kuboard.cn/learning/k8s-basics/update.html">5. 执行滚动更新</a> (10分钟)</li></ul></li> <li><a href="https://kuboard.cn/learning/k8s-basics/k8s-core-concepts.html">6. 复习Kubernetes核心概念</a> (10分钟)</li></ul> <h3 id="kubernetes进阶"><a href="#kubernetes进阶" class="header-anchor">#</a> Kubernetes进阶</h3> <ul><li>架构
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-bg/architecture/nodes.html">节点</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/architecture/com.html">集群内通信</a></li> <li><a href="https://kuboard.cn/learning/k8s-bg/architecture/controller.html">控制器</a></li></ul></li> <li>操作Kubernetes
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/k8s-object.html">什么是Kubernetes对象</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/manage.html">管理Kubernetes对象</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/names.html">名称</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/namespaces.html">名称空间</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/namespace-op.html">使用名称空间共享集群</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/labels.html">标签和选择器</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/annotations.html">注解</a></li> <li><a href="https://kuboard.cn/learning/k8s-intermediate/obj/field.html">字段选择器</a></li></ul></li> <li>容器
|
||||
@ -412,7 +412,7 @@
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-advanced/policy/lr.html">Limit Range</a></li> <li><a href="https://kuboard.cn/learning/k8s-advanced/policy/rq.html">Resource Quota</a></li></ul></li> <li>安全</li> <li>监控</li> <li>联邦</li></ul> <h3 id="kubernetes实战"><a href="#kubernetes实战" class="header-anchor">#</a> Kubernetes实战</h3> <p>在 Kubernetes 上部署 Spring Cloud 微服务:</p> <ul><li><a href="https://kuboard.cn/learning/k8s-practice/spring-cloud/">概述</a></li></ul> <p>在 Kubernetes 上部署 Spring Cloud 微服务:(Open Capacity Platform)</p> <ul><li>准备
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/prepare.html">准备OCP的构建环境和部署环境</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/build.html">构建docker镜像并推送到仓库</a></li></ul></li> <li>部署
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/sequence.html">部署顺序</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/eureka-server.html">在K8S上部署eureka-server</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/mysql.html">在K8S上部署mysql</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/redis.html">在K8S上部署redis</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/auth-server.html">在K8S上部署auth-server</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/user-center.html">在K8S上部署user-center</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/api-gateway.html">在K8S上部署api-gateway</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/back-center.html">在K8S上部署back-center</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/review.html">重新审视配置信息</a></li></ul></li> <li>多环境
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/export.html">导出部署配置</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/import.html">导入部署配置</a></li></ul></li></ul> <p>Kuboard官网免费提供Kubernetes教程、K8S教程、K8S安装文档、Kubernetes+SpringCloud实战文档,学习过程中如有疑问,请加QQ群在线答疑。</p></div>
|
||||
<ul><li><a href="https://kuboard.cn/learning/k8s-practice/ocp/export.html">导出部署配置</a></li> <li><a href="https://kuboard.cn/learning/k8s-practice/ocp/import.html">导入部署配置</a></li></ul></li></ul> <p>Kuboard免费提供Kubernetes教程、K8S教程、K8S安装文档、Kubernetes+SpringCloud实战文档,学习过程中如有疑问,请加QQ群在线答疑。</p></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -445,7 +445,7 @@
|
||||
<div class="col-sm-6 col-md-4 col-lg-3">
|
||||
<h4 class="footer-head">友情链接</h4>
|
||||
<ul class="footer-links">
|
||||
<li><a href="https://www.kubernetes.io" rel="nofollow" target="_blank" title="Link">Kubernetes 官网</a></li>
|
||||
<li><a href="https://www.kubernetes.io" rel="nofollow" target="_blank" title="Link">Kubernetes </a></li>
|
||||
<li><a href="http://store.lameleg.com/?referrer=shaohq" target="_blank" title="Link">Sealyun 一键离线安装K8S</a></li>
|
||||
<li><a href="https://www.yangcs.net/?utm_source=kuboard.cn" target="_blank" title="Link">云原生实验室</a></li>
|
||||
</ul>
|
||||
|
||||
@ -23,7 +23,7 @@ Kuboard 是一款基于 Kubernetes 的微服务管理界面。目的是帮助用
|
||||
|
||||
## Kubernetes免费教程
|
||||
|
||||
Kubernetes教程的主要依据是:Kubernetes 官网文档,以及使用 Kuboard 落地 Spring Cloud 微服务的实战经验
|
||||
Kubernetes教程的主要依据是:Kubernetes 文档,以及使用 Kuboard 落地 Spring Cloud 微服务的实战经验
|
||||
|
||||
### **Kubernetes 入门**
|
||||
* [0. 学习Kubernetes基础知识](/learning/k8s-basics/kubernetes-basics.html) (10分钟)
|
||||
@ -193,4 +193,4 @@ Kubernetes教程的主要依据是:Kubernetes 官网文档,以及使用 Kubo
|
||||
* 多环境
|
||||
* [导出部署配置](/learning/k8s-practice/ocp/export.html)
|
||||
* [导入部署配置](/learning/k8s-practice/ocp/import.html)
|
||||
Kuboard官网免费提供Kubernetes教程、K8S教程、K8S安装文档、Kubernetes+SpringCloud实战文档,学习过程中如有疑问,请加QQ群在线答疑。
|
||||
Kuboard免费提供Kubernetes教程、K8S教程、K8S安装文档、Kubernetes+SpringCloud实战文档,学习过程中如有疑问,请加QQ群在线答疑。
|
||||
|
||||
@ -151,7 +151,7 @@ http://任意一个Worker节点的IP地址:32567/
|
||||
|
||||
### 进一步使用
|
||||
|
||||
请访问 Kuboard 官网,了解如何:
|
||||
请访问 Kuboard ,了解如何:
|
||||
* 利用 Kuboard 管理 Kubernetes 集群;
|
||||
* 授权用户访问指定的名称空间;
|
||||
* 让多个团队协作使用 Kuboard 管理 Kubernetes 集群;
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
|
||||
http://mirrors.huaweicloud.com/centos-altarch/7.7.1908/isos/armhfp/CentOS-Userland-7-armv7hl-RaspberryPI-Minimal-4-1908-sda.raw.xz
|
||||
|
||||
* 从 raspberrypi 官网下载镜像烧录工具 Raspberry Pi Imager
|
||||
* 从 raspberrypi 下载镜像烧录工具 Raspberry Pi Imager
|
||||
|
||||
https://www.raspberrypi.org/downloads/
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
> 参考文档: Kubernetes官网文档 [Organizing Cluster Access Using kubeconfig Files](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/)、[Configure Access to Multiple Clusters](https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/)
|
||||
> 参考文档: Kubernetes文档 [Organizing Cluster Access Using kubeconfig Files](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/)、[Configure Access to Multiple Clusters](https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/)
|
||||
|
||||
`kubectl` 命令行工具从配置文件kubeconfig中查找用于调用 API Server 接口的信息:
|
||||
* 集群 cluster
|
||||
|
||||
@ -436,7 +436,7 @@ kubectl delete node demo-worker-x-x
|
||||
|
||||
> Ingress官方文档:https://kubernetes.io/docs/concepts/services-networking/ingress/
|
||||
>
|
||||
> Ingress Controllers官网介绍:https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
|
||||
> Ingress Controllers介绍:https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
|
||||
>
|
||||
> 本文中使用如下部署方式:https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#using-a-self-provisioned-edge
|
||||
>
|
||||
|
||||
@ -263,7 +263,7 @@ kubectl delete node demo-worker-x-x
|
||||
|
||||
> Ingress官方文档:https://kubernetes.io/docs/concepts/services-networking/ingress/
|
||||
>
|
||||
> Ingress Controllers官网介绍:https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
|
||||
> Ingress Controllers介绍:https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
|
||||
>
|
||||
> 本文中使用如下部署方式:https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#using-a-self-provisioned-edge
|
||||
>
|
||||
|
||||
@ -441,7 +441,7 @@ kubectl delete node demo-worker-x-x
|
||||
|
||||
> Ingress官方文档:https://kubernetes.io/docs/concepts/services-networking/ingress/
|
||||
>
|
||||
> Ingress Controllers官网介绍:https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
|
||||
> Ingress Controllers介绍:https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
|
||||
>
|
||||
> 本文中使用如下部署方式:https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#using-a-self-provisioned-edge
|
||||
>
|
||||
|
||||
@ -18,7 +18,7 @@ meta:
|
||||
|
||||
## 下载 docker-desktop
|
||||
|
||||
从 docker 官网下载 [docker-desktop](https://hub.docker.com/?overlay=onboarding),并完成安装
|
||||
从 docker 下载 [docker-desktop](https://hub.docker.com/?overlay=onboarding),并完成安装
|
||||
|
||||
## 启用 Kubernetes 集群
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ meta:
|
||||
参考文档:Info Q 文章 [Kubernetes 爆发严重漏洞:可能影响所有开源版本](https://www.infoq.cn/article/2lxylPOCU4cf9MR2S5fp)
|
||||
参考文档:51CTO 安全频道 [Kubernetes的严重漏洞将所有服务器暴露在DoS攻击面前!](http://netsecurity.51cto.com/art/201908/601671.htm)
|
||||
|
||||
参考文档: kubernetes 官网文档 [kubeadm upgrade](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)
|
||||
参考文档: kubernetes 文档 [kubeadm upgrade](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)
|
||||
|
||||
::: danger 严重漏洞
|
||||
* CVE-2019-9512 Ping Flood:攻击者向 HTTP/2 对等体 (peer) 发送连续 ping,导致对等体建立内部响应队列。这可能消耗过多 CPU 和内存——这取决于该数据的队列多高效,从而可能导致拒绝服务攻击。
|
||||
@ -35,7 +35,7 @@ Kubernetes 已经发布补丁以修复漏洞,建议所有管理员尽快升级
|
||||
* 您想要将其升级到最新的版本 kubernetes v1.15.3
|
||||
|
||||
::: tip
|
||||
www.kuboard.cn 是一款免费的基于 Kubernetes 的微服务管理界面,目前只能提供 kubernetes v1.15.0 / v1.15.1 / v1.15.2 到 kubernetes v1.15.3 的升级文档,其他版本的集群,请参考 kubernetes 官网文档 [kubeadm upgrade](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)
|
||||
www.kuboard.cn 是一款免费的基于 Kubernetes 的微服务管理界面,目前只能提供 kubernetes v1.15.0 / v1.15.1 / v1.15.2 到 kubernetes v1.15.3 的升级文档,其他版本的集群,请参考 kubernetes 文档 [kubeadm upgrade](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)
|
||||
:::
|
||||
|
||||
## 升级 kubeadm/kubelet/kubectl
|
||||
|
||||
@ -19,7 +19,7 @@ meta:
|
||||
|
||||
## 在客户端电脑安装 kubectl
|
||||
|
||||
Kubernetes 官网文档参照 [安装 kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) 安装时,经常会失败,因为国内访问 google 的镜像仓库存在问题。
|
||||
Kubernetes 文档参照 [安装 kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) 安装时,经常会失败,因为国内访问 google 的镜像仓库存在问题。
|
||||
|
||||
请参考下述内容,完成 kubectl 的安装
|
||||
|
||||
|
||||
@ -517,7 +517,7 @@ kubectl delete node demo-worker-x-x
|
||||
|
||||
<!-- > Ingress官方文档:https://kubernetes.io/docs/concepts/services-networking/ingress/
|
||||
>
|
||||
> Ingress Controllers官网介绍:https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
|
||||
> Ingress Controllers介绍:https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/
|
||||
>
|
||||
> 本文中使用如下部署方式:https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#using-a-self-provisioned-edge
|
||||
>
|
||||
|
||||
@ -10,7 +10,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档: kubernetes 官网文档 [kubeadm upgrade](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)
|
||||
参考文档: kubernetes 文档 [kubeadm upgrade](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)
|
||||
|
||||
|
||||
## 前提条件
|
||||
@ -19,7 +19,7 @@ meta:
|
||||
* 您想要将其升级到最新的版本 kubernetes v1.15.7
|
||||
|
||||
::: tip
|
||||
www.kuboard.cn 是一款免费的基于 Kubernetes 的微服务管理界面,目前只能提供 kubernetes v1.15.0 / v1.15.1 / v1.15.2 / v1.15.3 到 kubernetes v1.15.7 的升级文档,其他版本的集群,请参考 kubernetes 官网文档 [kubeadm upgrade](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)
|
||||
www.kuboard.cn 是一款免费的基于 Kubernetes 的微服务管理界面,目前只能提供 kubernetes v1.15.0 / v1.15.1 / v1.15.2 / v1.15.3 到 kubernetes v1.15.7 的升级文档,其他版本的集群,请参考 kubernetes 文档 [kubeadm upgrade](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)
|
||||
:::
|
||||
|
||||
## 升级 kubeadm/kubelet/kubectl
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档: kubernetes 官网文档 [kubeadm upgrade](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)
|
||||
参考文档: kubernetes 文档 [kubeadm upgrade](https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm-upgrade/)
|
||||
|
||||
**【漏洞详情】**
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ vssueId: 9
|
||||
layout: LearningLayout
|
||||
sharingTitle: 这里有一份最新的 K8S 教程,还可以免费在线答疑
|
||||
sidebarDepth: 0
|
||||
description: 本教程的主要依据是:Kubernetes官网文档,以及使用Kubernetes落地SpringCloud微服务并投产的实战经验,在线答疑。适用人群_ Kubernetes 初学者_学习过 Kubernetes,但在投产过程中仍有诸多疑虑和困惑的技术爱好者
|
||||
description: 本教程的主要依据是:Kubernetes文档,以及使用Kubernetes落地SpringCloud微服务并投产的实战经验,在线答疑。适用人群_ Kubernetes 初学者_学习过 Kubernetes,但在投产过程中仍有诸多疑虑和困惑的技术爱好者
|
||||
meta:
|
||||
- name: keywords
|
||||
content: K8S教程,K8S 教程,K8S培训,Kubernetes培训,K8S搭建,kuberntes搭建
|
||||
@ -38,7 +38,7 @@ meta:
|
||||
|
||||
## Kubernetes免费教程
|
||||
|
||||
本教程的主要依据是:Kubernetes 官网文档,以及使用 Kubernetes 落地 Spring Cloud 微服务并投产的实战经验。适用人群:
|
||||
本教程的主要依据是:Kubernetes 文档,以及使用 Kubernetes 落地 Spring Cloud 微服务并投产的实战经验。适用人群:
|
||||
* Kubernetes 初学者
|
||||
* 学习过 Kubernetes,但在投产过程中仍有诸多疑虑和困惑的技术爱好者
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
本文翻译自 Kubernetes 官网 [Horizontal Pod Autoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)。
|
||||
本文翻译自 Kubernetes [Horizontal Pod Autoscaler](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/)。
|
||||
|
||||
Horizontal Pod Autoscaler 根据观察到的 CPU 利用率(或某些由应用程序提供的 [custom metrics](https://git.k8s.io/community/contributors/design-proposals/instrumentation/custom-metrics-api.md))自动调整控制器(Replication Controller / Deployment / ReplicaSet / StatefulSet)的 Pod 的数量。Horizontal Pod Autoscaler 不能应用于不可伸缩的对象,例如 DaemonSet。
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
本文翻译自 Kubernetes 官网文档 [Horizontal Pod Autoscaler Walkthrough](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/)
|
||||
本文翻译自 Kubernetes 文档 [Horizontal Pod Autoscaler Walkthrough](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/)
|
||||
|
||||
HorizontalPodAutoscaler 可以根据观察到的 CPU 利用率(或者 beta 阶段的其他应用程序提供的度量值)对 ReplicationController、Deployment、ReplicaSet、StatefulSet 中的 Pod 副本数执指定自动伸缩操作。
|
||||
|
||||
|
||||
11
learning/k8s-advanced/policy/psp.md
Normal file
11
learning/k8s-advanced/policy/psp.md
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
layout: LearningLayout
|
||||
description: Kubernetes教程_本文介绍了如何使用容器组安全策略来限定容器可以拥有的权限
|
||||
meta:
|
||||
- name: keywords
|
||||
content: Kubernetes教程, Pod Security Policies
|
||||
---
|
||||
|
||||
# 容器组安全策略
|
||||
|
||||
本文档翻译自 Kubernetes 文档 [Pod Security Policies](https://kubernetes.io/docs/concepts/policy/pod-security-policy/)
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
本文翻译自 Kubernetes 官网 [Using kubectl to Create a Deployment](https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/) ,并有所改写
|
||||
本文翻译自 Kubernetes [Using kubectl to Create a Deployment](https://kubernetes.io/docs/tutorials/kubernetes-basics/deploy-app/deploy-intro/) ,并有所改写
|
||||
|
||||
### 前提
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
本文翻译自 Kubernetes 官网 [Viewing Pods and Nodes](https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/) ,并有所改写
|
||||
本文翻译自 Kubernetes [Viewing Pods and Nodes](https://kubernetes.io/docs/tutorials/kubernetes-basics/explore/explore-intro/) ,并有所改写
|
||||
|
||||
## 目标
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
本文翻译自 Kubernetes 官网 [Using a Service to Expose Your App](https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/) ,并有所改写
|
||||
本文翻译自 Kubernetes [Using a Service to Expose Your App](https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/) ,并有所改写
|
||||
|
||||
## 目标
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
本文翻译自 Kubernetes 官网 [Learn Kubernetes Basics](https://kubernetes.io/docs/tutorials/kubernetes-basics/) ,并有所改写
|
||||
本文翻译自 Kubernetes [Learn Kubernetes Basics](https://kubernetes.io/docs/tutorials/kubernetes-basics/) ,并有所改写
|
||||
|
||||
相信很多初学者在入门 Kubernetes (以下简称k8s)时,都会被各种英文单词所困扰(例如:Deployment、Pod、Service等),这些名词在被翻译后也往往失去了原意,更不能体现出他们的相互关系。笔者在刚开始学习k8s时也遭遇到这种困境。但是,任何复杂的系统都是发源于最基本的公式或定理,k8s虽然庞大且复杂,不过只要抓住一些基本的脉络(一些最基本的组件的定义及使用),入门便也是毫不费劲。
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
本文翻译自 Kubernetes 官网 [Running Multiple Instances of Your App](https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/) ,并有所改写
|
||||
本文翻译自 Kubernetes [Running Multiple Instances of Your App](https://kubernetes.io/docs/tutorials/kubernetes-basics/scale/scale-intro/) ,并有所改写
|
||||
|
||||
## 目标
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
本文翻译自 Kubernetes 官网 [Performing a Rolling Update](https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/) ,并有所改写
|
||||
本文翻译自 Kubernetes [Performing a Rolling Update](https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/) ,并有所改写
|
||||
|
||||
## 目标
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档: Kubernetes 官网 [Assigning Pods to Nodes](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
|
||||
参考文档: Kubernetes [Assigning Pods to Nodes](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
|
||||
|
||||
## 概述
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档: Kubernetes 官网 [Managing Compute Resources for Containers](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/)
|
||||
参考文档: Kubernetes [Managing Compute Resources for Containers](https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/)
|
||||
|
||||
## 概述
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
本文参考了 Kubernetes 官网 [Configure a Pod to Use a ConfigMap](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap),并有所改写
|
||||
本文参考了 Kubernetes [Configure a Pod to Use a ConfigMap](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap),并有所改写
|
||||
|
||||
Kubernetes ConfigMap 可以将配置信息和容器镜像解耦,以使得容器化的应用程序可移植。本文提供了一系列的实例,解释如何通过 Kuboard 创建 ConfigMap 以及如何使用 ConfigMap 中的数据配置 Pod(容器组)。
|
||||
|
||||
@ -25,7 +25,7 @@ Kubernetes ConfigMap 可以将配置信息和容器镜像解耦,以使得容
|
||||
## 创建 ConfigMap
|
||||
|
||||
::: tip 提示
|
||||
Kubernetes 官网描述了多种 ConfigMap 的创建方法,本文不再复述,请自行参考文档 [Configure a Pod to Use a ConfigMap](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap)
|
||||
Kubernetes 描述了多种 ConfigMap 的创建方法,本文不再复述,请自行参考文档 [Configure a Pod to Use a ConfigMap](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap)
|
||||
:::
|
||||
|
||||
* 打开 Kuboard 界面,并点击进入您想要创建 ConfigMap 的 **名称空间**
|
||||
|
||||
@ -12,7 +12,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
> 参考文档:Kubernetes 官网文档 [Configure a Security Context for a Pod or Container](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#assign-selinux-labels-to-a-container)
|
||||
> 参考文档:Kubernetes 文档 [Configure a Security Context for a Pod or Container](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#assign-selinux-labels-to-a-container)
|
||||
|
||||
Security Context(安全上下文)用来限制容器对宿主节点的可访问范围,以避免容器非法操作宿主节点的系统级别的内容,使得节点的系统或者节点上其他容器组受到影响。
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档: Kubernetes 官网文档 [Secrets](https://kubernetes.io/docs/concepts/configuration/secret/)
|
||||
参考文档: Kubernetes 文档 [Secrets](https://kubernetes.io/docs/concepts/configuration/secret/)
|
||||
|
||||
## 概述
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
> 参考文档: Kubernetes 官网文档 [Taints and Tolerations](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/)
|
||||
> 参考文档: Kubernetes 文档 [Taints and Tolerations](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/)
|
||||
|
||||
Pod 中存在属性 [Node selector / Node affinity](/learning/k8s-intermediate/config/assign-pod-node.html),用于将 Pod 指定到合适的节点。
|
||||
|
||||
|
||||
78
learning/k8s-intermediate/persistent/ceph/raspberry.md
Normal file
78
learning/k8s-intermediate/persistent/ceph/raspberry.md
Normal file
@ -0,0 +1,78 @@
|
||||
|
||||
# 在树莓派上安装 Ceph
|
||||
|
||||
## 安装 ubuntu
|
||||
|
||||
|
||||
|
||||
## 安装 docker
|
||||
|
||||
```sh
|
||||
wget https://repo.huaweicloud.com/docker-ce/linux/ubuntu/dists/focal/pool/stable/arm64/containerd.io_1.3.7-1_arm64.deb
|
||||
wget https://repo.huaweicloud.com/docker-ce/linux/ubuntu/dists/focal/pool/stable/arm64/docker-ce-cli_19.03.13~3-0~ubuntu-focal_arm64.deb
|
||||
wget https://repo.huaweicloud.com/docker-ce/linux/ubuntu/dists/focal/pool/stable/arm64/docker-ce_19.03.13~3-0~ubuntu-focal_arm64.deb
|
||||
dpkg -i containerd.io_1.3.7-1_arm64.deb docker-ce-cli_19.03.13~3-0~ubuntu-focal_arm64.deb docker-ce_19.03.13~3-0~ubuntu-focal_arm64.deb
|
||||
```
|
||||
|
||||
```sh
|
||||
sudo groupadd docker
|
||||
sudo usermod -aG docker $USER
|
||||
newgrp docker
|
||||
docker run hello-world
|
||||
```
|
||||
|
||||
|
||||
* 设置镜像地址
|
||||
|
||||
```sh
|
||||
sudo vim /etc/docker/daemon.json
|
||||
```
|
||||
* 添加 registry-mirrors 字段
|
||||
``` json
|
||||
{
|
||||
"registry-mirrors": ["https://05f073ad3c0010ea0f4bc00b7105ec20.mirror.swr.myhuaweicloud.com"]
|
||||
}
|
||||
```
|
||||
```sh
|
||||
systemctl restart docker
|
||||
```
|
||||
|
||||
## 安装 ceph
|
||||
|
||||
``` yaml
|
||||
[ceph]
|
||||
name=Ceph packages for $basearch
|
||||
baseurl=https://download.ceph.com/rpm-octopus/el7/$basearch
|
||||
enabled=1
|
||||
priority=2
|
||||
gpgcheck=1
|
||||
type=rpm-md
|
||||
gpgkey=https://download.ceph.com/keys/release.asc
|
||||
|
||||
|
||||
[ceph-noarch]
|
||||
name=Ceph noarch packages
|
||||
baseurl=https://download.ceph.com/rpm-octopus/el7/noarch
|
||||
enabled=1
|
||||
priority=2
|
||||
gpgcheck=1
|
||||
type=rpm-md
|
||||
gpgkey=https://download.ceph.com/keys/release.asc
|
||||
|
||||
|
||||
[ceph-source]
|
||||
name=Ceph source packages
|
||||
baseurl=https://download.ceph.com/rpm-octopus/el7/SRPMS
|
||||
enabled=0
|
||||
priority=2
|
||||
gpgcheck=1
|
||||
type=rpm-md
|
||||
gpgkey=https://download.ceph.com/keys/release.asc
|
||||
```
|
||||
|
||||
|
||||
|
||||
重置磁盘
|
||||
``` sh
|
||||
sgdisk --zap-all /dev/sda
|
||||
```
|
||||
@ -107,6 +107,6 @@ Kubernetes 对 Pod 进行调度时,以当时集群中各节点的可用资源
|
||||
|
||||
* 在场景中使用存储类
|
||||
|
||||
此时您可以在自己的场景中使用刚创建的存储类。Kuboard官网上,有以下几个地方可以用到NFS存储类:
|
||||
此时您可以在自己的场景中使用刚创建的存储类。Kuboard上,有以下几个地方可以用到NFS存储类:
|
||||
* [导入 example 微服务](/guide/example/import.html)
|
||||
* [安装监控套件](/guide/example/monitor.html#安装监控套件)
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档: Kubernetes 官网 [Storage Classes](https://kubernetes.io/docs/concepts/storage/storage-classes/)
|
||||
参考文档: Kubernetes [Storage Classes](https://kubernetes.io/docs/concepts/storage/storage-classes/)
|
||||
|
||||
## 存储类概述
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
> 参考文档: Kubernetes 官网文档 [Volumes](https://kubernetes.io/docs/concepts/storage/volumes/)
|
||||
> 参考文档: Kubernetes 文档 [Volumes](https://kubernetes.io/docs/concepts/storage/volumes/)
|
||||
|
||||
挂载是指将定义在 Pod 中的数据卷关联到容器,同一个 Pod 中的同一个数据卷可以被挂载到该 Pod 中的多个容器上。
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档: Kubernetes 官网文档 [Volumes](https://kubernetes.io/docs/concepts/storage/volumes/)
|
||||
参考文档: Kubernetes 文档 [Volumes](https://kubernetes.io/docs/concepts/storage/volumes/)
|
||||
|
||||
## 数据卷概述
|
||||
|
||||
|
||||
@ -119,7 +119,7 @@ Calico是Kubernetes生态系统中另一种流行的网络选择。虽然Flannel
|
||||
|
||||
|
||||
|
||||
[weave 官网](https://www.weave.works/oss/net/)
|
||||
[weave ](https://www.weave.works/oss/net/)
|
||||
|
||||
|
||||
Weave是由Weaveworks提供的一种Kubernetes CNI网络选项,它提供的模式和我们目前为止讨论的所有网络方案都不同。Weave在集群中的每个节点之间创建网状Overlay网络,参与者之间可以灵活路由。这一特性再结合其他一些独特的功能,在某些可能导致问题的情况下,Weave可以智能地路由。
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档: Kubernetes 官网文档 [Connecting Applications with Services](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/)
|
||||
参考文档: Kubernetes 文档 [Connecting Applications with Services](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/)
|
||||
|
||||
## Kubernetes 的网络模型
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档: Kubernetes 官网文档 [DNS for Services and Pods](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)
|
||||
参考文档: Kubernetes 文档 [DNS for Services and Pods](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/)
|
||||
|
||||
本文介绍了 Kubernetes 中的 DNS 分配方式
|
||||
|
||||
|
||||
@ -13,8 +13,8 @@ meta:
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档:
|
||||
* Kubernetes 官网 [Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/)
|
||||
* Kubernetes 官网 [Ingress Controllers](https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/)
|
||||
* Kubernetes [Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/)
|
||||
* Kubernetes [Ingress Controllers](https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/)
|
||||
* Kubernetes Nginx Ingress Controller [Bare-metal considerations](https://kubernetes.github.io/ingress-nginx/deploy/baremetal/)
|
||||
* nginxinc/kubernets-ingress [kubernetes-ingress](https://github.com/nginxinc/kubernetes-ingress)
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档:Kubernetes 官网文档:[Service](https://kubernetes.io/docs/concepts/services-networking/service/)
|
||||
参考文档:Kubernetes 文档:[Service](https://kubernetes.io/docs/concepts/services-networking/service/)
|
||||
|
||||
## 创建 Service
|
||||
|
||||
|
||||
@ -11,7 +11,7 @@ meta:
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
参考文档:Kubernetes 官网文档:[Service](https://kubernetes.io/docs/concepts/services-networking/service/)
|
||||
参考文档:Kubernetes 文档:[Service](https://kubernetes.io/docs/concepts/services-networking/service/)
|
||||
|
||||
## 为何需要 Service
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ meta:
|
||||
|
||||
<AdSenseTitle>
|
||||
|
||||
> 参考文档: Kubernetes 官网 [Configure Pod Initialization](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/)
|
||||
> 参考文档: Kubernetes [Configure Pod Initialization](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-initialization/)
|
||||
|
||||
本文描述了如何为Pod配置初始化容器InitContainer。
|
||||
|
||||
@ -70,6 +70,6 @@ wget -O /work-dir/index.html https://kuboard.cn
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" style="margin-right: 0px;"><head>
|
||||
<meta charset="utf-8">
|
||||
<title>Kuboard官网_Kubernetes教程_管理界面</title>
|
||||
<title>Kuboard_Kubernetes教程_管理界面</title>
|
||||
...
|
||||
```
|
||||
|
||||
@ -9,7 +9,7 @@ meta:
|
||||
|
||||
# 容器组_初始化容器
|
||||
|
||||
参考文档: Kubernetes 官网 [Init Containers](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)
|
||||
参考文档: Kubernetes [Init Containers](https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ meta:
|
||||
|
||||
<AdSenseTitle>
|
||||
|
||||
> 参考文档: Kubernetes 官网 [Debug Init Containers](https://kubernetes.io/docs/tasks/debug-application-cluster/debug-init-containers/)
|
||||
> 参考文档: Kubernetes [Debug Init Containers](https://kubernetes.io/docs/tasks/debug-application-cluster/debug-init-containers/)
|
||||
|
||||
本文描述了如何诊断初始化容器InitContainer在执行过程中的问题_本文中的命令行使用 `<pod-name>` 来指代Pod的名称_使用 `<init-container-1>` 和 `<init-container-2>` 来指代初始化容器的名称。
|
||||
|
||||
@ -103,4 +103,3 @@ kubectl logs <pod-name> -c <init-container-1>
|
||||
| `Init:CrashLoopBackOff` | Pod 中有一个初始化容器反复执行失败 |
|
||||
| `Pending` | Pod 还未开始执行初始化容器 |
|
||||
| `PodInitializing` or `Running` | Pod 已经完成初始化容器的执行 |
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ meta:
|
||||
|
||||
# 容器组_生命周期
|
||||
|
||||
参考文档: Kubernetes 官网文档 [Pod Lifecycle](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/)
|
||||
参考文档: Kubernetes 文档 [Pod Lifecycle](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/)
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ meta:
|
||||
|
||||
# DaemonSet 的替代选项
|
||||
|
||||
> 参考文档: Kubernetes 官网文档 [Alternatives to DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#alternatives-to-daemonset)
|
||||
> 参考文档: Kubernetes 文档 [Alternatives to DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#alternatives-to-daemonset)
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ meta:
|
||||
|
||||
# 与 DaemonSet 通信
|
||||
|
||||
> 参考文档 Kubernetes 官网文档 [Communicating with Daemon Pods](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#communicating-with-daemon-pods)
|
||||
> 参考文档 Kubernetes 文档 [Communicating with Daemon Pods](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#communicating-with-daemon-pods)
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ meta:
|
||||
|
||||
# 介绍 DaemonSet
|
||||
|
||||
> 参考文档: Kubernetes 官网文档 [DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/)
|
||||
> 参考文档: Kubernetes 文档 [DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/)
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ meta:
|
||||
|
||||
# DaemonSet 是如何调度的
|
||||
|
||||
> 参考文档 Kubernetes 官网文档 [How Daemon Pods are Scheduled](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#how-daemon-pods-are-scheduled)
|
||||
> 参考文档 Kubernetes 文档 [How Daemon Pods are Scheduled](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#how-daemon-pods-are-scheduled)
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ meta:
|
||||
|
||||
# 更新 DaemonSet
|
||||
|
||||
> 参考文档 Kubernetes 官网文档 [Updating a DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#updating-a-daemonset)
|
||||
> 参考文档 Kubernetes 文档 [Updating a DaemonSet](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/#updating-a-daemonset)
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ meta:
|
||||
|
||||
# 介绍 Deployment
|
||||
|
||||
参考文档: Kubernetes 官网 [Deployments](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/)、 [ReplicaSet](https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/)
|
||||
参考文档: Kubernetes [Deployments](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/)、 [ReplicaSet](https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/)
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
@ -63,7 +63,7 @@ ReplicaSet 副本集的主要几个字段有:
|
||||
|
||||
副本集将通过创建、删除 Pod 容器组来确保符合 selector 选择器的 Pod 数量等于 replicas 指定的数量。当符合 selector 选择器的 Pod 数量不够时,副本集通过使用 template 中的定义来创建 Pod。
|
||||
|
||||
在 Kubernetes 中,并不建议您直接使用 ReplicaSet,推荐使用 Deployment,由 Deployment 创建和管理 ReplicaSet。 关于副本集的更多信息,请参考 Kubernetes 官网文档 [ReplicaSet](https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/)
|
||||
在 Kubernetes 中,并不建议您直接使用 ReplicaSet,推荐使用 Deployment,由 Deployment 创建和管理 ReplicaSet。 关于副本集的更多信息,请参考 Kubernetes 文档 [ReplicaSet](https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/)
|
||||
|
||||
## Deployment 概述
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ meta:
|
||||
|
||||
# StatefulSet 的使用场景
|
||||
|
||||
> 参考文档: Kubernetes 官网文档 [StatefulSets](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/)
|
||||
> 参考文档: Kubernetes 文档 [StatefulSets](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/)
|
||||
|
||||
<AdSenseTitle/>
|
||||
|
||||
|
||||
@ -51,7 +51,7 @@ Kuboard 在落地 Spring Cloud 微服务的过程中,设计了如下图所示
|
||||
|
||||
| 参与方 | 渠道 | 展现层项目 |
|
||||
| ---------- | ---------- | ---------------- |
|
||||
| 散客 | PC浏览器 | 官网 |
|
||||
| 散客 | PC浏览器 | |
|
||||
| | 移动站 | 移动站 |
|
||||
| | 微信小程序 | 微信小程序 |
|
||||
| | App | APP |
|
||||
|
||||
@ -68,7 +68,7 @@ yum install java-1.8.0-openjdk\* -y
|
||||
|
||||
## 在 master 节点上安装 maven
|
||||
|
||||
* 在 [maven 官网](http://maven.apache.org/download.cgi) 获取最新版 maven 的 binary 文件下载链接,例如 apache-maven-3.6.2-bin.tar.gz 的下载地址为 `http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.tar.gz`
|
||||
* 在 [maven ](http://maven.apache.org/download.cgi) 获取最新版 maven 的 binary 文件下载链接,例如 apache-maven-3.6.2-bin.tar.gz 的下载地址为 `http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.2/binaries/apache-maven-3.6.2-bin.tar.gz`
|
||||
|
||||
* 以 root 身份在 master 节点上执行:
|
||||
```sh
|
||||
|
||||
1
learning/k8s-practice/redis/redis.md
Normal file
1
learning/k8s-practice/redis/redis.md
Normal file
@ -0,0 +1 @@
|
||||
https://rancher.com/blog/2019/deploying-redis-cluster
|
||||
@ -16,14 +16,14 @@ Kubernetes 容器编排已越来越被大家关注,然而学习 Kubernetes 的
|
||||
|
||||
今天给大家介绍的这款工具 Kuboard,是一款免费的 Kubernetes 图形化管理工具,Kuboard 力图帮助用户快速在 Kubernetes 上落地微服务。为了达到此目标,Kuboard 提供了针对上述问题的解决办法:
|
||||
|
||||
* Kuboard 官网提供 Kubernetes 免费安装文档、免费在线答疑,每天约有 200 位网友参照 Kuboard 提供的文档进行 K8S 集群安装。
|
||||
* Kuboard 官网提供 Kubernetes 免费中文教程、用户无需付费购买视频教程或参加线下培训班,就可参照 Kuboard 提供的免费教程完成 K8S 的学习,更有 QQ 社群可以和网友互相讨论,共同进步。
|
||||
* Kuboard 提供 Kubernetes 免费安装文档、免费在线答疑,每天约有 200 位网友参照 Kuboard 提供的文档进行 K8S 集群安装。
|
||||
* Kuboard 提供 Kubernetes 免费中文教程、用户无需付费购买视频教程或参加线下培训班,就可参照 Kuboard 提供的免费教程完成 K8S 的学习,更有 QQ 社群可以和网友互相讨论,共同进步。
|
||||
* Kuboard 是 Kubernetes 的一款图形化管理工具,使用 Kuboard,用户无需编写 YAML 文件,就可以完成应用程序的部署和管理。
|
||||
* Kuboard 官网提供 Spring Cloud 等微服务参考架构在 K8S 上的详细部署文档和步骤,是 Spring Cloud 用户将自己的应用迁移到 K8S 部署环境的非常好的参考资料。
|
||||
* Kuboard 提供 Spring Cloud 等微服务参考架构在 K8S 上的详细部署文档和步骤,是 Spring Cloud 用户将自己的应用迁移到 K8S 部署环境的非常好的参考资料。
|
||||
|
||||
|
||||
|
||||
Kuboard 官网地址:[https://kuboard.cn](https://kuboard.cn/)
|
||||
Kuboard 地址:[https://kuboard.cn](https://kuboard.cn/)
|
||||
|
||||
Kuboard 在 github 已获得 1867 star,获得了许多用户的喜爱。
|
||||
|
||||
|
||||
@ -99,7 +99,7 @@ Kuboard 提供批量修改容器镜像版本的功能,轻松升级应用程序
|
||||
|
||||
## 更多资料
|
||||
|
||||
Kuboard 官网 http://kuboard.cn
|
||||
Kuboard http://kuboard.cn
|
||||
|
||||
Kuboard QQ 群
|
||||
|
||||
|
||||
BIN
support/change-log/WechatIMG247.png
Normal file
BIN
support/change-log/WechatIMG247.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
@ -53,4 +53,30 @@ https://github.com/NVIDIA/k8s-device-plugin#enabling-gpu-support-in-kubernetes @
|
||||
|
||||
|
||||
* CephFS cleanup pvc
|
||||
* CephFS expand pvc
|
||||
|
||||
|
||||
|
||||
* 事件列表新增加按事件类型查找的功能
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
已知问题:
|
||||
|
||||
* 当 K8S 环境中禁用了 annonymous 用户时,登陆界面不能查询到 kuboard-authenticate-config 信息,因此无法执行第三方认证的问题;
|
||||
|
||||
|
||||
|
||||
# 待探索
|
||||
|
||||
Prometheus Operator
|
||||
Ingress / Service 可视化
|
||||
MetaLB 负载均衡
|
||||
BGP
|
||||
Portainer for K8S
|
||||
|
||||
|
||||
|
||||
|
||||
* DeploymentProcessing 的 最小就绪时间和处理超时时间
|
||||
|
||||
187
support/change-log/upgrade-2-from-beta.assets/crd-beta.yaml
Normal file
187
support/change-log/upgrade-2-from-beta.assets/crd-beta.yaml
Normal file
@ -0,0 +1,187 @@
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.2.5
|
||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/260"
|
||||
creationTimestamp: null
|
||||
name: volumesnapshots.snapshot.storage.k8s.io
|
||||
spec:
|
||||
additionalPrinterColumns:
|
||||
- JSONPath: .status.readyToUse
|
||||
description: Indicates if a snapshot is ready to be used to restore a volume.
|
||||
name: ReadyToUse
|
||||
type: boolean
|
||||
- JSONPath: .spec.source.persistentVolumeClaimName
|
||||
description: Name of the source PVC from where a dynamically taken snapshot will
|
||||
be created.
|
||||
name: SourcePVC
|
||||
type: string
|
||||
- JSONPath: .spec.source.volumeSnapshotContentName
|
||||
description: Name of the VolumeSnapshotContent which represents a pre-provisioned
|
||||
snapshot.
|
||||
name: SourceSnapshotContent
|
||||
type: string
|
||||
- JSONPath: .status.restoreSize
|
||||
description: Represents the complete size of the snapshot.
|
||||
name: RestoreSize
|
||||
type: string
|
||||
- JSONPath: .spec.volumeSnapshotClassName
|
||||
description: The name of the VolumeSnapshotClass requested by the VolumeSnapshot.
|
||||
name: SnapshotClass
|
||||
type: string
|
||||
- JSONPath: .status.boundVolumeSnapshotContentName
|
||||
description: The name of the VolumeSnapshotContent to which this VolumeSnapshot
|
||||
is bound.
|
||||
name: SnapshotContent
|
||||
type: string
|
||||
- JSONPath: .status.creationTime
|
||||
description: Timestamp when the point-in-time snapshot is taken by the underlying
|
||||
storage system.
|
||||
name: CreationTime
|
||||
type: date
|
||||
- JSONPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
group: snapshot.storage.k8s.io
|
||||
names:
|
||||
kind: VolumeSnapshot
|
||||
listKind: VolumeSnapshotList
|
||||
plural: volumesnapshots
|
||||
singular: volumesnapshot
|
||||
preserveUnknownFields: false
|
||||
scope: Namespaced
|
||||
subresources:
|
||||
status: {}
|
||||
validation:
|
||||
openAPIV3Schema:
|
||||
description: VolumeSnapshot is a user's request for either creating a point-in-time
|
||||
snapshot of a persistent volume, or binding to a pre-existing snapshot.
|
||||
properties:
|
||||
apiVersion:
|
||||
description: 'APIVersion defines the versioned schema of this representation
|
||||
of an object. Servers should convert recognized schemas to the latest
|
||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||
type: string
|
||||
kind:
|
||||
description: 'Kind is a string value representing the REST resource this
|
||||
object represents. Servers may infer this from the endpoint the client
|
||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||
type: string
|
||||
spec:
|
||||
description: 'spec defines the desired characteristics of a snapshot requested
|
||||
by a user. More info: https://kubernetes.io/docs/concepts/storage/volume-snapshots#volumesnapshots
|
||||
Required.'
|
||||
properties:
|
||||
source:
|
||||
description: source specifies where a snapshot will be created from.
|
||||
This field is immutable after creation. Required.
|
||||
properties:
|
||||
persistentVolumeClaimName:
|
||||
description: persistentVolumeClaimName specifies the name of the
|
||||
PersistentVolumeClaim object in the same namespace as the VolumeSnapshot
|
||||
object where the snapshot should be dynamically taken from. This
|
||||
field is immutable.
|
||||
type: string
|
||||
volumeSnapshotContentName:
|
||||
description: volumeSnapshotContentName specifies the name of a pre-existing
|
||||
VolumeSnapshotContent object. This field is immutable.
|
||||
type: string
|
||||
type: object
|
||||
volumeSnapshotClassName:
|
||||
description: 'volumeSnapshotClassName is the name of the VolumeSnapshotClass
|
||||
requested by the VolumeSnapshot. If not specified, the default snapshot
|
||||
class will be used if one exists. If not specified, and there is no
|
||||
default snapshot class, dynamic snapshot creation will fail. Empty
|
||||
string is not allowed for this field. TODO(xiangqian): a webhook validation
|
||||
on empty string. More info: https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes'
|
||||
type: string
|
||||
required:
|
||||
- source
|
||||
type: object
|
||||
status:
|
||||
description: 'status represents the current information of a snapshot. NOTE:
|
||||
status can be modified by sources other than system controllers, and must
|
||||
not be depended upon for accuracy. Controllers should only use information
|
||||
from the VolumeSnapshotContent object after verifying that the binding
|
||||
is accurate and complete.'
|
||||
properties:
|
||||
boundVolumeSnapshotContentName:
|
||||
description: 'boundVolumeSnapshotContentName represents the name of
|
||||
the VolumeSnapshotContent object to which the VolumeSnapshot object
|
||||
is bound. If not specified, it indicates that the VolumeSnapshot object
|
||||
has not been successfully bound to a VolumeSnapshotContent object
|
||||
yet. NOTE: Specified boundVolumeSnapshotContentName alone does not
|
||||
mean binding is valid. Controllers MUST always verify bidirectional
|
||||
binding between VolumeSnapshot and VolumeSnapshotContent to
|
||||
avoid possible security issues.'
|
||||
type: string
|
||||
creationTime:
|
||||
description: creationTime is the timestamp when the point-in-time snapshot
|
||||
is taken by the underlying storage system. In dynamic snapshot creation
|
||||
case, this field will be filled in with the "creation_time" value
|
||||
returned from CSI "CreateSnapshotRequest" gRPC call. For a pre-existing
|
||||
snapshot, this field will be filled with the "creation_time" value
|
||||
returned from the CSI "ListSnapshots" gRPC call if the driver supports
|
||||
it. If not specified, it indicates that the creation time of the snapshot
|
||||
is unknown.
|
||||
format: date-time
|
||||
type: string
|
||||
error:
|
||||
description: error is the last observed error during snapshot creation,
|
||||
if any. This field could be helpful to upper level controllers(i.e.,
|
||||
application controller) to decide whether they should continue on
|
||||
waiting for the snapshot to be created based on the type of error
|
||||
reported.
|
||||
properties:
|
||||
message:
|
||||
description: 'message is a string detailing the encountered error
|
||||
during snapshot creation if specified. NOTE: message may be logged,
|
||||
and it should not contain sensitive information.'
|
||||
type: string
|
||||
time:
|
||||
description: time is the timestamp when the error was encountered.
|
||||
format: date-time
|
||||
type: string
|
||||
type: object
|
||||
readyToUse:
|
||||
description: readyToUse indicates if a snapshot is ready to be used
|
||||
to restore a volume. In dynamic snapshot creation case, this field
|
||||
will be filled in with the "ready_to_use" value returned from CSI
|
||||
"CreateSnapshotRequest" gRPC call. For a pre-existing snapshot, this
|
||||
field will be filled with the "ready_to_use" value returned from the
|
||||
CSI "ListSnapshots" gRPC call if the driver supports it, otherwise,
|
||||
this field will be set to "True". If not specified, it means the readiness
|
||||
of a snapshot is unknown.
|
||||
type: boolean
|
||||
restoreSize:
|
||||
anyOf:
|
||||
- type: integer
|
||||
- type: string
|
||||
description: restoreSize represents the complete size of the snapshot
|
||||
in bytes. In dynamic snapshot creation case, this field will be filled
|
||||
in with the "size_bytes" value returned from CSI "CreateSnapshotRequest"
|
||||
gRPC call. For a pre-existing snapshot, this field will be filled
|
||||
with the "size_bytes" value returned from the CSI "ListSnapshots"
|
||||
gRPC call if the driver supports it. When restoring a volume from
|
||||
this snapshot, the size of the volume MUST NOT be smaller than the
|
||||
restoreSize if it is specified, otherwise the restoration will fail.
|
||||
If not specified, it indicates that the size is unknown.
|
||||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
|
||||
x-kubernetes-int-or-string: true
|
||||
type: object
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
version: v1beta1
|
||||
versions:
|
||||
- name: v1beta1
|
||||
served: true
|
||||
storage: true
|
||||
status:
|
||||
acceptedNames:
|
||||
kind: ""
|
||||
plural: ""
|
||||
conditions: []
|
||||
storedVersions: []
|
||||
183
support/change-log/upgrade-2-from-beta.assets/crd-v1.yaml
Normal file
183
support/change-log/upgrade-2-from-beta.assets/crd-v1.yaml
Normal file
@ -0,0 +1,183 @@
|
||||
---
|
||||
apiVersion: apiextensions.k8s.io/v1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
annotations:
|
||||
controller-gen.kubebuilder.io/version: v0.3.0
|
||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/139"
|
||||
creationTimestamp: null
|
||||
name: volumesnapshots.snapshot.storage.k8s.io
|
||||
spec:
|
||||
group: snapshot.storage.k8s.io
|
||||
names:
|
||||
kind: VolumeSnapshot
|
||||
listKind: VolumeSnapshotList
|
||||
plural: volumesnapshots
|
||||
singular: volumesnapshot
|
||||
scope: Namespaced
|
||||
versions:
|
||||
- additionalPrinterColumns:
|
||||
- description: Indicates if a snapshot is ready to be used to restore a volume.
|
||||
jsonPath: .status.readyToUse
|
||||
name: ReadyToUse
|
||||
type: boolean
|
||||
- description: Name of the source PVC from where a dynamically taken snapshot
|
||||
will be created.
|
||||
jsonPath: .spec.source.persistentVolumeClaimName
|
||||
name: SourcePVC
|
||||
type: string
|
||||
- description: Name of the VolumeSnapshotContent which represents a pre-provisioned
|
||||
snapshot.
|
||||
jsonPath: .spec.source.volumeSnapshotContentName
|
||||
name: SourceSnapshotContent
|
||||
type: string
|
||||
- description: Represents the complete size of the snapshot.
|
||||
jsonPath: .status.restoreSize
|
||||
name: RestoreSize
|
||||
type: string
|
||||
- description: The name of the VolumeSnapshotClass requested by the VolumeSnapshot.
|
||||
jsonPath: .spec.volumeSnapshotClassName
|
||||
name: SnapshotClass
|
||||
type: string
|
||||
- description: The name of the VolumeSnapshotContent to which this VolumeSnapshot
|
||||
is bound.
|
||||
jsonPath: .status.boundVolumeSnapshotContentName
|
||||
name: SnapshotContent
|
||||
type: string
|
||||
- description: Timestamp when the point-in-time snapshot is taken by the underlying
|
||||
storage system.
|
||||
jsonPath: .status.creationTime
|
||||
name: CreationTime
|
||||
type: date
|
||||
- jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
name: v1beta1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
description: VolumeSnapshot is a user's request for either creating a point-in-time
|
||||
snapshot of a persistent volume, or binding to a pre-existing snapshot.
|
||||
properties:
|
||||
apiVersion:
|
||||
description: 'APIVersion defines the versioned schema of this representation
|
||||
of an object. Servers should convert recognized schemas to the latest
|
||||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
|
||||
type: string
|
||||
kind:
|
||||
description: 'Kind is a string value representing the REST resource this
|
||||
object represents. Servers may infer this from the endpoint the client
|
||||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
|
||||
type: string
|
||||
spec:
|
||||
description: 'spec defines the desired characteristics of a snapshot requested
|
||||
by a user. More info: https://kubernetes.io/docs/concepts/storage/volume-snapshots#volumesnapshots
|
||||
Required.'
|
||||
properties:
|
||||
source:
|
||||
description: source specifies where a snapshot will be created from.
|
||||
This field is immutable after creation. Required.
|
||||
properties:
|
||||
persistentVolumeClaimName:
|
||||
description: persistentVolumeClaimName specifies the name of the
|
||||
PersistentVolumeClaim object in the same namespace as the VolumeSnapshot
|
||||
object where the snapshot should be dynamically taken from.
|
||||
This field is immutable.
|
||||
type: string
|
||||
volumeSnapshotContentName:
|
||||
description: volumeSnapshotContentName specifies the name of a
|
||||
pre-existing VolumeSnapshotContent object. This field is immutable.
|
||||
type: string
|
||||
type: object
|
||||
volumeSnapshotClassName:
|
||||
description: 'volumeSnapshotClassName is the name of the VolumeSnapshotClass
|
||||
requested by the VolumeSnapshot. If not specified, the default snapshot
|
||||
class will be used if one exists. If not specified, and there is
|
||||
no default snapshot class, dynamic snapshot creation will fail.
|
||||
Empty string is not allowed for this field. TODO(xiangqian): a webhook
|
||||
validation on empty string. More info: https://kubernetes.io/docs/concepts/storage/volume-snapshot-classes'
|
||||
type: string
|
||||
required:
|
||||
- source
|
||||
type: object
|
||||
status:
|
||||
description: 'status represents the current information of a snapshot.
|
||||
NOTE: status can be modified by sources other than system controllers,
|
||||
and must not be depended upon for accuracy. Controllers should only
|
||||
use information from the VolumeSnapshotContent object after verifying
|
||||
that the binding is accurate and complete.'
|
||||
properties:
|
||||
boundVolumeSnapshotContentName:
|
||||
description: 'boundVolumeSnapshotContentName represents the name of
|
||||
the VolumeSnapshotContent object to which the VolumeSnapshot object
|
||||
is bound. If not specified, it indicates that the VolumeSnapshot
|
||||
object has not been successfully bound to a VolumeSnapshotContent
|
||||
object yet. NOTE: Specified boundVolumeSnapshotContentName alone
|
||||
does not mean binding is valid. Controllers MUST always verify
|
||||
bidirectional binding between VolumeSnapshot and VolumeSnapshotContent
|
||||
to avoid possible security issues.'
|
||||
type: string
|
||||
creationTime:
|
||||
description: creationTime is the timestamp when the point-in-time
|
||||
snapshot is taken by the underlying storage system. In dynamic snapshot
|
||||
creation case, this field will be filled in with the "creation_time"
|
||||
value returned from CSI "CreateSnapshotRequest" gRPC call. For a
|
||||
pre-existing snapshot, this field will be filled with the "creation_time"
|
||||
value returned from the CSI "ListSnapshots" gRPC call if the driver
|
||||
supports it. If not specified, it indicates that the creation time
|
||||
of the snapshot is unknown.
|
||||
format: date-time
|
||||
type: string
|
||||
error:
|
||||
description: error is the last observed error during snapshot creation,
|
||||
if any. This field could be helpful to upper level controllers(i.e.,
|
||||
application controller) to decide whether they should continue on
|
||||
waiting for the snapshot to be created based on the type of error
|
||||
reported.
|
||||
properties:
|
||||
message:
|
||||
description: 'message is a string detailing the encountered error
|
||||
during snapshot creation if specified. NOTE: message may be
|
||||
logged, and it should not contain sensitive information.'
|
||||
type: string
|
||||
time:
|
||||
description: time is the timestamp when the error was encountered.
|
||||
format: date-time
|
||||
type: string
|
||||
type: object
|
||||
readyToUse:
|
||||
description: readyToUse indicates if a snapshot is ready to be used
|
||||
to restore a volume. In dynamic snapshot creation case, this field
|
||||
will be filled in with the "ready_to_use" value returned from CSI
|
||||
"CreateSnapshotRequest" gRPC call. For a pre-existing snapshot,
|
||||
this field will be filled with the "ready_to_use" value returned
|
||||
from the CSI "ListSnapshots" gRPC call if the driver supports it,
|
||||
otherwise, this field will be set to "True". If not specified, it
|
||||
means the readiness of a snapshot is unknown.
|
||||
type: boolean
|
||||
restoreSize:
|
||||
type: string
|
||||
description: restoreSize represents the complete size of the snapshot
|
||||
in bytes. In dynamic snapshot creation case, this field will be
|
||||
filled in with the "size_bytes" value returned from CSI "CreateSnapshotRequest"
|
||||
gRPC call. For a pre-existing snapshot, this field will be filled
|
||||
with the "size_bytes" value returned from the CSI "ListSnapshots"
|
||||
gRPC call if the driver supports it. When restoring a volume from
|
||||
this snapshot, the size of the volume MUST NOT be smaller than the
|
||||
restoreSize if it is specified, otherwise the restoration will fail.
|
||||
If not specified, it indicates that the size is unknown.
|
||||
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
|
||||
x-kubernetes-int-or-string: true
|
||||
type: object
|
||||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
storage: true
|
||||
subresources:
|
||||
status: {}
|
||||
status:
|
||||
acceptedNames:
|
||||
kind: ""
|
||||
plural: ""
|
||||
conditions: []
|
||||
storedVersions: []
|
||||
BIN
support/change-log/v2.0.0-issues/WechatIMG23207.jpeg
Normal file
BIN
support/change-log/v2.0.0-issues/WechatIMG23207.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 96 KiB |
BIN
support/change-log/v2.0.0-issues/事件类型筛选.jpg
Normal file
BIN
support/change-log/v2.0.0-issues/事件类型筛选.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
@ -125,11 +125,11 @@ D.
|
||||
**答案: C、D**
|
||||
|
||||
|
||||
在考试时,只允许有考试网站和k8s官网两个标签页。所以平常学习时,尽可能去找官网文档去学习,官网才是最权威的。熟悉 [https://kubernetes.io/concepts/](https://kubernetes.io/concepts/) 目录下的内容对考试通过非常有帮助。
|
||||
在考试时,只允许有考试网站和k8s两个标签页。所以平常学习时,尽可能去找文档去学习,才是最权威的。熟悉 [https://kubernetes.io/concepts/](https://kubernetes.io/concepts/) 目录下的内容对考试通过非常有帮助。
|
||||
|
||||
[https://kuboard.cn/learning/](https://kuboard.cn/learning/) 目录下提供了 [https://kubernetes.io/concepts/](https://kubernetes.io/concepts/) 目录下的中文翻译,可以对照着学习。
|
||||
|
||||
以这个问题为例,直接打开daemonset的官网说明文档,见以下链接:
|
||||
以这个问题为例,直接打开daemonset的说明文档,见以下链接:
|
||||
|
||||
[https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/](https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/)
|
||||
|
||||
|
||||
@ -40,7 +40,7 @@ deployment.apps/cka-11202/222118m
|
||||
|
||||
|
||||
|
||||
官网中提供了详细的kubectl使用方法,位于REFERENCE--kubectl CLI--kubectl Commands标签下。即:[https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#run](https://mp.weixin.qq.com/s/V9Q7yewpE2Cm7jGiCmL1HA)
|
||||
中提供了详细的kubectl使用方法,位于REFERENCE--kubectl CLI--kubectl Commands标签下。即:[https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#run](https://mp.weixin.qq.com/s/V9Q7yewpE2Cm7jGiCmL1HA)
|
||||
|
||||
kubectl run会创建deployment或者job来管理Pod,命令语法如下:
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@ spec:
|
||||
|
||||
### 解析
|
||||
|
||||
**官网中调度器地址:**
|
||||
**中调度器地址:**
|
||||
|
||||
https://kubernetes.io/docs/concepts/scheduling/kube-scheduler/
|
||||
|
||||
@ -154,7 +154,7 @@ https://kubernetes.io/docs/reference/command-line-tools-reference/kube-scheduler
|
||||
|
||||
下面简单说一下静态Pod:
|
||||
|
||||
**静态Pod官网说明:**
|
||||
**静态Pod说明:**
|
||||
|
||||
https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/
|
||||
|
||||
|
||||
@ -158,7 +158,7 @@ pause:控制器不会控制被暂停的资源。使用`kubectl rollout resume`
|
||||
|
||||
### 滚动更新策略
|
||||
|
||||
**滚动更新官网文档:**
|
||||
**滚动更新文档:**
|
||||
[https://kubernetes.io/docs/concepts/workloads/controllers/deployment/](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/)
|
||||
|
||||
中文文档: [滚动更新](/learning/k8s-intermediate/workload/wl-deployment/update.html)
|
||||
|
||||
@ -167,7 +167,7 @@ k8s集群的所有操作基本上都是通过kube-apiserver这个组件进行的
|
||||
**RBAC官方文档:**
|
||||
https://kubernetes.io/docs/reference/access-authn-authz/rbac/
|
||||
|
||||
**创建RoleBinding 、Role、Service Account官网命令指导:**
|
||||
**创建RoleBinding 、Role、Service Account命令指导:**
|
||||
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#-em-rolebinding-em-
|
||||
|
||||
**使用 kubeconfig 文件组织集群访问:**
|
||||
|
||||
@ -59,7 +59,7 @@ cka-1203-02 1/1 1 1 4m4s
|
||||
|
||||
## 解析
|
||||
|
||||
**官网kubectl get命令参考:**
|
||||
**kubectl get命令参考:**
|
||||
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get
|
||||
|
||||
```sh
|
||||
@ -183,7 +183,7 @@ cka-1203-02-77585c9945-vmb2h default
|
||||
cka-1203-03-587d78ccdb-l8n5x default
|
||||
```
|
||||
|
||||
**更多示例,请参考官网kubectl命令示例文档:**
|
||||
**更多示例,请参考kubectl命令示例文档:**
|
||||
https://kubernetes.io/docs/reference/kubectl/cheatsheet/
|
||||
|
||||
</b-card>
|
||||
|
||||
@ -83,7 +83,7 @@ kubectl run myservice --image=nginx --generator=run-pod/v1 --dry-run -o yaml > m
|
||||
**context相关操作官方命令指南:**
|
||||
https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#config
|
||||
|
||||
**Create static Pods官网说明:**
|
||||
**Create static Pods说明:**
|
||||
https://kubernetes.io/docs/tasks/configure-pod-container/static-pod/
|
||||
|
||||
本题主要考kubelet的配置,以及Static Pod的创建。
|
||||
|
||||
Reference in New Issue
Block a user