17.4. 卸载 Elasticsearch
先决条件
- 有管理员权限。
- 您可以访问 OpenShift Container Platform Web 控制台的 Administrator 视角。
- 
						如果您还没有删除 Red Hat OpenShift Logging Operator 和相关资源,则必须从 ClusterLogging自定义资源中删除对 Elasticsearch 的引用。
流程
- 
						进入 Administration Custom Resource Definitions 页面,然后点 Elasticsearch。 
- 在 Custom Resource Definition Details 页面中点 Instances。
- 
						点实例旁的选项菜单 
						 ,然后点 Delete Elasticsearch。 ,然后点 Delete Elasticsearch。
- 
						进入到 Administration Custom Resource Definitions 页面。 
- 
						点 Elasticsearch 旁边的 Options 菜单 
						 并选择 Delete Custom Resource Definition。 并选择 Delete Custom Resource Definition。
- 删除对象存储 secret。
- 
						进入 Operators Installed Operators 页面。 
- 
						点 OpenShift Elasticsearch Operator 旁边的选项菜单 
						 ,然后点 Uninstall Operator。 ,然后点 Uninstall Operator。
- 可选:删除 - openshift-operators-redhat项目。重要- 如果在这个命名空间中安装了其他全局 Operator,请不要删除 - openshift-operators-redhat项目。- 
								进入 Home Projects 页面。 
- 
								点 openshift-operators-redhat 项目旁的选项菜单 
								 ,然后点 Delete Project。 ,然后点 Delete Project。
- 
								通过在对话框中输入 openshift-operators-redhat并点 Delete 来确认删除。
 
- 
								进入 Home