blog
blog copied to clipboard
Kubernetes Chart 是 Helm 包管理器中的一个概念。Helm 是 Kubernetes 的一个包管理工具,用于简化 Kubernetes 应用程序的部署和管理。Chart 是 Helm 中的一个包,它包含了运行 Kubernetes 应用程序所需的所有资源定义和配置文件。 Kubernetes Chart 的主要作用是: 1. 简化应用部署:通过预先定义好的模板,可以快速部署应用程序到 Kubernetes 集群中。 2. 便于版本管理:Chart 可以方便地进行版本控制,以便在不同环境中部署相同的应用程序。 3. 重用和共享:可以将常用的应用程序打包成 Chart,以便在多个项目中重用和共享。 下面是一个与前端相关的 Kubernetes...
NestJS 是一个用于构建高效、可扩展的 Node.js 服务器端应用程序的框架。它使用 TypeScript 编写(也支持 JavaScript),并结合了 OOP(面向对象编程),FP(函数式编程)和 FRP(函数响应式编程)的元素。 将从基本概念和关键组件开始讲解,然后引导你创建一个简单的 CRUD 项目。让我们开始吧! ##### 安装和创建项目: 首先,确保你的计算机上已经安装了 Node.js 和 npm。然后在命令行中运行以下命令安装 Nest CLI: ```bash npm i -g @nestjs/cli ``` 接下来,使用 Nest CLI 创建一个新项目:...
[kubesphere](https://v2-1.docs.kubesphere.io/docs/zh-CN/introduction/glossary/) [kubernetes doc](https://kubernetes.io/zh-cn/docs/concepts/overview/working-with-objects/namespaces/) [kubernetes api](https://kubesphere.io/api/kubesphere#tag/ServiceMesh/operation/getServiceMetrics) [kubesphere 名词解释](https://v2-1.docs.kubesphere.io/docs/introduction/glossary/) --- [install](https://kubesphere.io/docs/v3.3/installing-on-kubernetes/introduction/overview/) + kubesphere install + install(use docker desktop kubernetes ) ``` kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml ``` + [二次开发](https://kubesphere.io/forum/d/2274-kubesphere-console-30/6)...
配置: 1. 我使用的设备是MacBook Pro, 芯片是Apple M1 Pro 16G内存,macOs版本是 Ventura13.0 2. 我安装了docker desktop v4.17.0,开启了kubernets v1.25.4 3. 我现在要对kubesphere/console进行二次开发,代码仓库是 https://github.com/kubesphere/console 需求: 1. 请依据我罗列的条件,写出完整的k8s安装、启动步骤流程及修改的配置项 2. 请依据我罗列的条件,写出完整的kubesphere/console二次开发需要修改的依赖k8s服务的配置项 3. 如果我有遗漏的配置条件,请帮我补充 好的,针对您的需求,我将提供以下步骤和配置项供您参考。 K8s安装和启动步骤 安装Homebrew:在终端中运行以下命令安装Homebrew。 复制 /bin/bash -c...
+ 打印变量 ```yaml - name: console github event run: | echo "${{ toJSON(github.event.repository)}}" ```
[moduleResolution 总结](https://juejin.cn/post/7221551421833314360) ---- ```bash mkdir my-project cd my-project npm init -y git init npx mrm gitignore npm i lodash lodash-es typescript ``` + tsconfig.json ```json { "compilerOptions": { "allowJs": true,...
```javascript const path = require('path'); const webpack = require('webpack'); const { MergeIntoSingleFilePlugin } = require('webpack-merge-and-include-globally'); module.exports = { entry: './src/index.ts', output: { filename: 'bundle.js', path: path.resolve(__dirname, 'dist'), }, target: 'node',...
+ 安装 ``` pnpm install -wD commitizen cz-conventional-changelog ``` + 更新package.json配置 ``` "scripts": { "commit": "cz" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } ``` + 接下来就可以使用 $ pnpm commit...
[https://blog.csdn.net/astonishqft/article/details/124823381](https://blog.csdn.net/astonishqft/article/details/124823381)
[npm publish](https://github.com/features/packages)