OpenShift Container Platform 4.6 发行注记descheduler 策略的新参数(技术预览) 1.2.15.6. 生成一个在一个 registry 范围内有效的 ImageContentSourcePolicy 对象 1.2.16. 集群日志记录 Log Forwarding API 已正式发布 在日志消息中添加标签 新的集群日志记录仪表板 用于调整 Fluentd 的新参数 1.2.17. 监控 1.2.17.1. 用户定义项目的监控 1 将来可能需要更改的次数,从而减少集群必须重新引导所有节点的次 数。 1.2.16. 集群日志记录 Log Forwarding API 已正式 已正式发 发布 布 Log Forwarding API 现已正式发布。Log Forwarding API 允许您通过配置带有端点的自定义资源来转发日 志来转发容器、基础架构和审计日志。Log Forwarding API 现在支持转发到 Kafka 代理并支持 syslog TLS。您还可以将应用程序日志从特定项目转发到端点。 对于 GA 版本,Log Forwarding API 有很多变化,包括在日志转发自定义资源(CR)中更改参数名称。 如果使用 Log Forwarding 技术预览版本,则需要手动对现有 Log Forwarding CR 进行所需的更改。 在日志消息中添加 在日志消息中添加标签 标签 Log Forwarding API 允许您添加自由文本标签来记录0 码力 | 91 页 | 1.15 MB | 1 年前3
OpenShift Container Platform 4.10 可伸缩性和性能将数据写入磁盘并在磁盘上持久化,所以其性能取决于磁盘性能。虽然 etcd 并不是有非常高的 I/O 负载,但它需要使用一个具有低延迟的块设备才能获得最佳性能和稳定性。因为 etcd 的共识协议依 赖于将元数据永久存储到一个日志 (WAL),所以 etcd 对磁盘的写延迟非常敏感。减慢来自其他进程的磁 盘活动和磁盘活动可能会导致长时间的 fsync 延迟。 这些延迟可能会导致 etcd 丢失心跳,不会及时向磁盘提交新的建议,并最终遇到请求超时和临时丢失问 节点上并置其他工作负载,并共享相同的底层 I/O 基础架构。 就延迟而言,应该在一个可最少以 50 IOPS 按顺序写入 8000 字节的块设备上运行。也就是说,当有一 个 20ms 的延迟时,使用 fdatasync 来同步 WAL 中的写入操作。对于高负载的集群,建议使用 8000 字 节的连续 500 IOPS (2 毫秒)。要测量这些数字,您可以使用基准测试工具,如 fio。 要实现这样的性能,在由低延迟和高吞吐量的 SSD etcd,它会检查测试运行中获得的 fsync 指标的 p99 值是否小于 20ms。一些最重要的 etcd 指标可能受到 I/O 性能的影响,如下所示: etcd_disk_wal_fsync_duration_seconds_bucket 指标报告了 etcd 的 WAL fsync 持续时间。 etcd_disk_backend_commit_duration_seconds_bucket 指标报告 etcd 后端提交延迟持续时0 码力 | 315 页 | 3.19 MB | 1 年前3
OpenShift Container Platform 4.8 日志记录OpenShift Logging 程序错误修复 5.4.9 。 1.1.1. 程序错误修复 在此次更新之前,Fluentd 收集器会警告未使用的配置参数。在这个版本中,删除了这些配置参 数及其警告信息。(LOG-3074) 在此次更新之前,Kibana 有一个固定的 24h OAuth cookie 过期时间,当 accessTokenInactivityTimeout 字段被设置为小于 24h 的值时,会导致 的值时,会导致 Kibana 中的 401 错误。 在这个版本中,Kibana 的 OAuth cookie 过期时间与 accessTokenInactivityTimeout 同步,默 认值为 24h。(LOG-3306) 1.1.2. CVE CVE-2016-3709 CVE-2020-35525 CVE-2020-35527 CVE-2020-36516 CVE-2020-36558 CVE-2021-3640 平台轮转日志文件,且不会读取日志消息。 在这个版本中,通过设置上游开发团队所推荐的配置参数修正。(LOG-2792) 在此次更新之前,当 ClusterLogForwarder 自定义资源定义了 JSON 解析时,每个 rollover 任 务都会创建空索引。在这个版本中,新的索引不为空。(LOG-2823) 在此次更新之前,如果您删除了 Kibana 自定义资源,OpenShift Container0 码力 | 223 页 | 2.28 MB | 1 年前3
OpenShift Container Platform 3.11 扩展和性能指南fact_caching = jsonfile fact_caching_connection = $HOME/ansible/facts fact_caching_timeout = 600 log_path = $HOME/ansible.log nocows = 1 callback_whitelist = profile_tasks [privilege_escalation] become = False 是唯一可用于临时本地存储的主分区。有两个支持的主 分区,即 root 和 runtime。 root 根分区默认存放 kubelet 的根目录、/var/lib/kubelet/ 和 /var/log/ 目录。您可以在 pod、操作系 统和 OpenShift Container Platform 系统守护进程间共享这个分区。Pod 可以通过使用 EmptyDir 卷、容器日志、镜像层和容器可写入层来访问此分区。OpenShift Translators Postgresql SQL 是 performance.st at-prefetch performance.re ad-ahead performance.wr ite-behind performance.re addir-ahead performance.io -cache performance.q uick-read performance.o pen-behind0 码力 | 58 页 | 732.06 KB | 1 年前3
OpenShift Container Platform 4.10 安装startingVersion: 3.67.0 OpenShift Container Platform 4.10 安装 安装 62 -h,--help 显示帮助。 --log-level指定日志级别详细程度的数量。有效值为 0 - 9。默认值为 0。 --manifests-only 为 ImageContentSourcePolicy 对象生成清单,将集群配置为使用镜 kubeadmin 用户的凭证。 输 输出示例 出示例 注意 注意 当安装成功时,集群访问和凭证信息也会输出到 /.openshift_install.log。 重要 重要 安装程序生成的 Ignition 配置文件包含 24 小时后过期的证书,然后在该时进 行续订。如果在更新证书前关闭集群,且集群在 24 小时后重启,集群会自动 恢复过期的证书。一个例外是,您必须手动批准待处理的 导致安装 失败的问题。 重要 重要 $ ./openshift-install create cluster --dir \ 1 --log-level=info 2 ... INFO Install complete! INFO To access the cluster as the system:admin user when using 0 码力 | 3142 页 | 33.42 MB | 1 年前3
OpenShift Container Platform 4.10 监控openshift-monitoring data: config.yaml: | prometheusK8s: remoteWrite: - url: "https://remote-write.endpoint"第 第 2 章 章 配置 配置监 监控堆 控堆栈 栈 35 对于 endpo openshift-monitoring data: config.yaml: | prometheusK8s: remoteWrite: - url: "https://remote-write.endpoint" basicAuth: username: name: remoteWriteAuth key: openshift-monitoring data: OpenShift Container Platform 4.10 监 监控 控 36 4. 在身份验证凭证后添加 write relabel 配置值: 对于 <write_relabel_configs>,请替换您要发送到远程端点的指标写入重新标记配置列表。 以下示例演示了如何转发名为 my_metric 的单个指标: 有关写入重新标记配置选项的详情,请查看 0 码力 | 135 页 | 1.58 MB | 1 年前3
OpenShift Container Platform 4.14 安装终端会显示用于访问集群的说明,包括指向 Web 控制台和 kubeadmin 用户的凭证的链接。 凭证信息还会输出到/.openshift_install.log. 重要 重要 不要删除安装程序或安装程序所创建的文件。需要这两者才能删除集群。 输 输出示例 出示例 重要 重要 安装程序生成的 Ignition 配置文件包含在 24 小时后过期的证书,然后在过期时进 中的所有命令。 下载并安装新版本的 oc。 $ ./openshift-install create cluster --dir \ 1 --log-level=info 2 ... INFO Install complete! INFO To access the cluster as the system:admin user when using /.openshift_install.log 日志文件获取 kubeadmin 密码。 2. 列出 OpenShift Container Platform Web 控制台路由: 注意 注意 另外,您还可以从安装主机上的 /.openshift_install.log 日志 日志 文件获取 OpenShift Container 0 码力 | 3881 页 | 39.03 MB | 1 年前3
OpenShift Container Platform 4.7 日志记录ClusterLogForwarder 自定义资源 (CR) YAML 文件中配置 inputs[].application.selector.matchLabels 元素来收集日志数据。您还可以按命名空间过滤收 集的日志数据。(LOG-883) 此发行版本将以下新的 ElasticsearchNodeDiskWatermarkReached 警告添加到 OpenShift Elasticsearch Operator (EO): 线阈值时,警报会应用过去几个警告。这个警告周期为您提供了在节点达到磁盘水位线阈值 前响应的时间。警告消息也提供故障排除步骤的链接,您可以按照这些链接来帮助缓解问题。EO 应用过去几小时的磁盘空间数据到线性模型来生成这些警告。(LOG-1100) JSON 日志现在可以作为 JSON 对象(而不是带引号的字符串)转发到红帽受管 Elasticsearch 集 第 第 1 章 章 RED HAT OPENSHIFT LOGGING 对象(而不是带引号的字符串)转发到红帽受管 Elasticsearch 集 群或其他支持的第三方系统。另外,您现在可以从 Kibana 中的 JSON 日志消息查询各个字段, 从而增加特定日志的可发现性。(LOG-785, LOG-1148) 1.2.1.2. 弃用和 弃用和删 删除的功能 除的功能 之前版本中的一些功能已被弃用或删除。 弃用的功能仍然包含在 OpenShift Logging 中,并且仍然被0 码力 | 183 页 | 1.98 MB | 1 年前3
OpenShift Container Platform 4.13 安装终端会显示用于访问集群的说明,包括指向 Web 控制台和 kubeadmin 用户的凭证的链接。 凭证信息还会输出到/.openshift_install.log. 重要 重要 不要删除安装程序或安装程序所创建的文件。需要这两者才能删除集群。 输出示例 出示例 重要 重要 安装程序生成的 Ignition 配置文件包含在 24 小时后过期的证书,然后在过期时进 通过下载二进制文件安装 OpenShift CLI $ ./openshift-install create cluster --dir \ 1 --log-level=info 2 ... INFO Install complete! INFO To access the cluster as the system:admin user when using /.openshift_install.log 日志文件获取 kubeadmin 密码。 2. 列出 OpenShift Container Platform Web 控制台路由: 注意 注意 另外,您还可以从安装主机上的 /.openshift_install.log 日志 日志 文件获取 OpenShift Container 0 码力 | 4634 页 | 43.96 MB | 1 年前3
OpenShift Container Platform 4.8 CLI 工具managing a cluster under the 'adm' subcommand. Usage: oc [flags] Basic Commands: login Log in to a server new-project Request a new project new-app Create a new application jobs.batch/bar -n foo # Check to see if I can read pod logs oc auth can-i get pods --subresource=log # Check to see if I can access the URL /logs/ oc auth can-i get /logs/ # List all allowed actions ## Load the oc completion code for bash into the current shell source <(oc completion bash) ## Write bash completion code to a file and source it from .bash_profile oc completion bash > ~/.kube/completion0 码力 | 152 页 | 1.24 MB | 1 年前3
共 48 条
- 1
- 2
- 3
- 4
- 5













