点OperatorsOperatorHub。 从operator 列表中搜索Local Storage Operator,再单击它。 点击Install。 图2.1. 安装 Operator 页面 在Install Operator页面中设置以下选项: 把频道更新为4.6 安装模式为A specific namespace on the cluster Installed Name...
6.3. 安装 Local Storage Operator在本地存储设备上创建 Red Hat OpenShift Data Foundation 集群前,请先从 Operator Hub 安装 Local Storage Operator。 流程 登录OpenShift Web 控制台。 点Operators OperatorHub。 在Filter...
"github.com/openshift/local-storage-operator/pkg/internal" corev1 "k8s.io/api/core/v1" "k8s.io/klog/v2" "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" provCommon "sigs.k8s.io/sig-storage-local-static-provisioner/pkg/common" )...
RUN make build-operator FROM registry.ci.openshift.org/ocp/4.17:base-rhel9 FROM registry.ci.openshift.org/ocp/4.18:base-rhel9 COPY --from=builder /go/src/github.com/openshift/local-storage-operator/_output/bin/local-storage-operator /usr/bin/ COPY config/manifests /manifests ENTRYPOINT ...
IBM Storage Fusion Data Foundation clusters with Local Storage Operator are deployed using local storage devices. To find out if your existing cluster with Fusion Data Foundation was deployed using local storage devices, use the following procedure:
operator: In values: - my-node ``` - `name`: 本地存储卷的名称,这里设为`local-pv`。 - `capacity`: 指定存储容量为`10Gi`。 - `storageClassName`: 引用之前创建的本地存储类`local-storage`。 - `accessModes`: 指定访问模式为`ReadWriteOnce`,表示只能被单个Pod挂载为读写模式。
Figure 2. OCP OperatorHub filter on OpenShift Container Storage Operator SelectOpenShift Container Storage Operatorand then select Install. On the next screen make sure the settings are as shown in this figure. Also, make sure to change to "A specific namespace on the cluster" andchoose the ...
"operator": "In", "values": ["example-node"] } ]} ]} }'spec: capacity: storage: 100Gi accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Delete storageClassName: local-storage local: path: /mnt/disks/ssd1 总结 Kubernetes1.7一共支持27...
{"storage":"<MAX_SIZE>"},"local":{"path":"<PATH>"},"nodeAffinity":{"required":{"nodeSelectorTerms":[{"matchExpressions":[{"key":"kubernetes.io/hostname","operator":"In","values":["<NODE>"]}]}]}},"persistentVolumeReclaimPolicy":"Retain","storageClassName":"<SC_NAME>","volume...
Now you can deploy the Operator and Percona XtraDB Cluster using this StorageClass indeploy/cr.yaml: ...volumeSpec:persistentVolumeClaim:storageClassName:localpvaccessModes:["ReadWriteOnce"]resources:requests:storage:200Gi There are other storage options provided by the OpenEBS, which may be helpful...