摘要:### 元信息 api列表: - `kubectl api-resources` - `kubectl api-resources -o wide` 用法查询: - `kubectl explain .` ### Pod 创建/更新Pod资源:`kubectl apply -f ` 查看已有Pod资
阅读全文
|
05 2023 档案
摘要:### 元信息 api列表: - `kubectl api-resources` - `kubectl api-resources -o wide` 用法查询: - `kubectl explain .` ### Pod 创建/更新Pod资源:`kubectl apply -f ` 查看已有Pod资
阅读全文
摘要:> K8S通过yaml格式的声明式API与资源对象交互 > API版本由`apiVersion`字段指定,API对象类型由`kind`字段指定 > 除此之外,每个API对象有三大类属性: > - `metadata`:元数据 > - `spec`:规范 > - `status`:状态 ### Pod
阅读全文
摘要:### 一、安装与配置 安装: ``` # Centos7 yum install docker ``` 启动 & 设为开机启动: ``` systemctl start docker.service systemctl enable docker.service ``` 镜像源配置: ``` #
阅读全文
摘要:### 一、仓库管理 `git init`:本地初始化 `git clone`:克隆远程仓库 `git remote`:远程仓库管理 - `git remote`:查看远程仓库的信息 - `git remote -v`:显示更详细的信息 - `git remote add path`:添加远程仓库
阅读全文
|