OpenShift Container Platform 4.8 存储中显示已用和可用空间的信息,请输入以下命令: $ df -h /var/lib 第 第 2 章 章 了解 了解临时 临时存 存储 储 7 输出显示 /var/lib 中的临时存储使用情况: 输 输出示例 出示例 Filesystem Size Used Avail Use% Mounted on /dev/sda1 69G 32G 34G 49% / OpenShift Container Platform 接受的值 值 值 值 默 默认 认 Filesystem 是 Block 否 表 表 3.6. 块 块卷的 卷的绑 绑定方案 定方案 PV volumeMode PVC volumeMode 绑 绑定 定结 结果 果 Filesystem Filesystem 绑定 Unspecified Unspecified 绑定 Filesystem Unspecified 绑定 Unspecified Unspecified Filesystem 绑定 apiVersion: v1 kind: Pod metadata: name: pod-with-block-volume spec: containers: - name: fc-container image: fedora:26 command: ["/bin/sh", "-c"] args:0 码力 | 118 页 | 1.60 MB | 1 年前3
OpenShift Container Platform 4.14 存储OpenShift Container Platform 4.14 存 存储 储 8 输出显示 /var/lib 中的临时存储使用情况: 输 输出示例 出示例 $ df -h /var/lib Filesystem Size Used Avail Use% Mounted on /dev/disk/by-partuuid/4cd1448a-01 69G 32G 34G 49% / 卷源必须是 persistentVolumeClaim 类型,且必须与期望的 PVC 的名称匹配。 表 表 3.5. volumeMode 接受的 接受的值 值 值 默 默认 认 Filesystem 是 apiVersion: v1 kind: PersistentVolumeClaim metadata: name: block-pvc spec: accessModes: 绑定 定结 结果 果 Filesystem Filesystem 绑定 Unspecified Unspecified 绑定 Filesystem Unspecified 绑定 Unspecified Filesystem 绑定 Block Block 绑定 Unspecified Block 无绑定 Block Unspecified 无绑定 Filesystem Block 无绑定0 码力 | 215 页 | 2.56 MB | 1 年前3
OpenShift Container Platform 4.13 虚拟化章 章 关于 关于 OPENSHIFT VIRTUALIZATION 5 实时迁移需要 ReadWriteMany (RWX) 访问模式。 与 Filesystem 卷模式相比,Block 卷模式性能有显著提高。这是因为 Filesystem 卷模式使用更 多存储层,包括文件系统层和磁盘镜像文件。虚拟机磁盘存储不需要这些层。 例如,如果您使用 Red Hat OpenShift Data Foundation,Ceph ["ReadWriteOnce"], "volumeMode": "Block"}, \ {"accessModes": ["ReadWriteOnce"], "volumeMode": "Filesystem"}]}}' 第 第 5 章 章 OPENSHIFT VIRTUALIZATION 发 发行注 行注记 记 43 OpenShift Virtualization 将 pod 使用的服务帐户令牌链接到该特定 ReadWriteMany 和 volumeMode: Block。这一点非常重要: 实时迁移需要 ReadWriteMany (RWX) 访问模式。 与 Filesystem 卷模式相比,Block 卷模式性能有显著提高。这是因为 Filesystem 卷模式使用更 多存储层,包括文件系统层和磁盘镜像文件。虚拟机磁盘存储不需要这些层。 例如,如果您使用 Red Hat OpenShift Data Foundation,Ceph0 码力 | 393 页 | 4.53 MB | 1 年前3
OpenShift Container Platform 4.10 虚拟化# ... spec: claimPropertySets: - accessModes: - ReadWriteOnce volumeMode: Filesystem cloneStrategy: copy 1 status: provisioner: storageClass: allow process nfs_t (dir (mounton)) allow process proc_t (dir (mounton)) allow process proc_t (filesystem (mount unmount)) 6.2. KUBEVIRT-CONTROLLER 服务帐户的其他 OPENSHIFT CONTAINER PLATFORM 安全性上下文约束和 LINUX settings 复选框,该复选框被默认选择。 Name 模式描述 模式描述 参数 参数 参数描述 参数描述 卷模式 定义持久性卷是否 使用格式化的文件 系统或原始块状 态。默认为 Filesystem。 Filesystem 在基于文件系统的卷中保存虚拟 磁盘。 Block 直接将虚拟磁盘存储在块卷中。 只有底层存储支持时才使用 Block。 访问模式 持久性卷访问模 式。 ReadWriteOnce 0 码力 | 307 页 | 3.45 MB | 1 年前3
OpenShift Container Platform 4.4 安装storage: files: - contents: source: data:text/plain;base64,e30K filesystem: root mode: 420 path: /etc/clevis.json EOF $ cat << EOF > ./99-openshift-master-tpmv2-encryption storage: files: - contents: source: data:text/plain;base64,e30K filesystem: root mode: 420 path: /etc/clevis.json EOF 4. 生成 YAML 文件的备份副本。在创建集群时会删除该文件,所以您应该进行备份。 ewogInVybCI6ICJodHRwczovL3RhbmcuZXhhbXBsZS5jb20iLAogInRoc CI6ICJaUk1leTFjR3cwN3psVExHYlhuUWFoUzBHdTAiCn0K filesystem: root mode: 420 path: /etc/clevis.json kernelArguments: - rd.neednet=1 <0 码力 | 40 页 | 468.04 KB | 1 年前3
OpenShift Container Platform 3.11 扩展和性能指南restart docker-storage-setup # docker info | egrep -i 'storage|pool|space|filesystem' Storage Driver: overlay2 1 Backing Filesystem: extfs STORAGE_DRIVER=devicemapper DEVS=/dev/xvdb VG=docker_vg # systemctl docker info | egrep -i 'storage|pool|space|filesystem' Storage Driver: devicemapper 1 Pool Name: docker_vg-docker--pool 2 Pool Blocksize: 524.3 kB Backing Filesystem: xfs Data Space Used: 62.39 MB Data0 码力 | 58 页 | 732.06 KB | 1 年前3
OpenShift Container Platform 4.8 日志记录schema_config: configs: - from: 2020-10-24 store: boltdb-shipper object_store: filesystem schema: v11 index: prefix: index_ period: 24h storage_config: boltdb_shipper: space shared_store: filesystem filesystem: directory: /tmp/loki/chunks compactor: working_directory: /tmp/loki/boltdb-shipper-compactor shared_store: filesystem limits_config: reject_old_samples:0 码力 | 223 页 | 2.28 MB | 1 年前3
OpenShift Container Platform 4.10 可伸缩性和性能/queues/rx- %2A%3B%20do%20echo%208192%20%3E%20%24x/rps_flow_cnt%3B%20%20done%27 %22%0A filesystem: root mode: 0644 path: /etc/udev/rules.d/70-persistent-net.rules - contents: 20%20Receive%20Flow%20Ste ering%20%28RFS%29%0Anet.core.rps_sock_flow_entries%3D8192%0A filesystem: root mode: 0644 path: /etc/sysctl.d/95-enable-rps.conf $ oc create -f enable-rfs filesystem: root mode: 420 path: /etc/modprobe.d/sctp-blacklist.conf - contents: source: data:text/plain;charset=utf-8,sctp filesystem: root0 码力 | 315 页 | 3.19 MB | 1 年前3
OpenShift Container Platform 4.10 监控volumeClaimTemplate: spec: storageClassName: fast volumeMode: Filesystem resources: requests: storage: 40Gi $ oc -n openshift-user Alertmanager 有两个副本,所以您需要四个 PV 来支持整个监控堆栈。PV 可从 Local Storage Operator 获得,但如果您启用了动态置备存储,则不会使用它。 在配置持久性卷时,使用 Filesystem 作为 volumeMode 参数的存储类型值。 配置本地持久性存储。 注意 注意 如果将本地卷用于持久性存储,请不要使用原始块卷,这在 LocalVolume 对象中 的 volumeMode:0 码力 | 135 页 | 1.58 MB | 1 年前3
OpenShift Container Platform 4.8 容器镜像仓库(Registry)annotations: imageregistry.openshift.io: "true" spec: accessModes: - ReadWriteOnce volumeMode: Filesystem resources: requests: storage: 100Gi 2 storageClassName:0 码力 | 39 页 | 415.94 KB | 1 年前3
共 21 条
- 1
- 2
- 3













