课程介绍
课程安排
实验环境
环境说明
虚拟机的控制
国际化
第一章OpenShift容器平台介绍
描述OpenShift Container Platform特征
Quiz:OpenShift Container Platform Features
描述OpenShift Container Platform架构
OCP架构
Master And Nodes
OpenShift projects and Applications
Building Images with Source-to-Image
Managing OpenShift Resources
OpenShift Networking
Persistent Storage
OpenShift High Availability
Image Streams
第二章 安装OpenShift容器平台
安装准备
OpenShift版本
安装考虑
安装方法
集群限制
架构考虑
硬件要求
生产环境硬件要求
SELinux要求
What is Ansible?
安装准备
执行安装前准备任务
安装
安装过程
准备Inventory文件
配置安装版本
配置认证
配置网络
配置永久存储
配置离线OpenShift集群
配置Node Labels
执行OpenShift Playbooks
验证安装
安装后任务
Overview
配置集群管理员
验证安装
第四章 OpenShift资源和命令行操作
使用CLI配置资源
OpenShift资源
oc explain命令
安装CLI工具
管理资源命令
通用命令
login和logout
project-namespace
node
pod
创建pod
查看pod
删除pod
在pod执行命令
创建包含多个容器的pod
pod日志
pod imagePullPolicy
pod env
pod Lifecycle
pod status和Container States
pod restartPolicy
Init Containers
oc new-app命令
执行排故命令
环境信息
排故命令
常见问题
第三章OpenShift网络
OpenShift网络
创建service
准备pod
以yaml文件方式创建
查看service关联的pod
命令行oc create service
创建没有selector的service
发布服务—服务类型
OpenShift Routes
介绍
创建Routes
环境准备
yaml方式
oc expose方式
router支持协议
Routing Options and Types
创建安全route
第五章 控制资源访问
用户和角色管理
认证方式
User Types
Managing User And Group
Role管理
查看角色
分配cluster-role给用户和组
查看clusterrole绑定信息
回收用户和组cluster-role
分配role给用户和组
查看role绑定信息
回收用户和组role
SCC管理
Security Context Constraints
查看scc列表
查看scc详细信息
导出scc
编辑scc
新建scc
恢复默认scc
Service accounts
SCC使用案例
secret
Secret介绍
Secret类型
创建secret
命令oc create secret docker-registry
引用Secrets
以volume方式引用
以变量方式引用
Web Console管理Secret
第六章 永久存储
介绍
提供persistent存储
永久存储介绍
创建PV和PVC资源
NFS PV
PVC
persistent Volume Reclaim Policy
验证registry使用永久存储
第八次课
第七章 管理应用部署
Controllers
DaemonSet
使用场景:
创建daemonset
ReplicationController
Deployment Config
yaml方式创建dc
命令行方式创建
更新Deployment
回滚Deployment
Pod调度
OpenShift调度算法
Scheduling and Topology
Reboot node
Unschedulable Nodes
Controlling Pod Placement
管理Images,Images Streams和模板
Image Streams
Tagging Images和IS
Templates介绍
第九次课
第八章 安装和配置METRICS子系统
Metrics子系统架构
Metrics Subsystem Components
Sizing the Metrics Subsystem
Providing Persistent Storage for Cassandra
Pre-installation Steps
install
Ansible Variables for the Metrics Subsystem
Verifying the Deployment of the Metrics Subsystem
Uninstalling the Metrics Subsystem
第九章 管理和监控OpenShift容器平台
Limiting Resource Usage
limits for node
Resource Requests and Limits for Pods
Quotas for single project
Limit Ranges
Monitoring Applications with Probes
OpenShift Probes
Checking Methods
Using the Web Console to Manage Probes
Introduction to the Web Console
Managing Metrics with Hawkular