이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 2. Installing the native Data Grid CLI as a client plugin
			Data Grid provides a command line interface (CLI) compiled to a native executable that you can install as a plugin for oc clients. You can then use your oc client to:
		
- Create Data Grid Operator subscriptions and remove Data Grid Operator installations.
 - Set up Data Grid clusters and configure services.
 - Work with Data Grid resources via remote shells.
 
2.1. Installing the native Data Grid CLI plugin 링크 복사링크가 클립보드에 복사되었습니다!
				Install the native Data Grid Command Line Interface (CLI) as a plugin for oc clients.
			
Prerequisites
- 
						Have an 
occlient. - Download the native Data Grid CLI distribution from the Data Grid software downloads.
 
Procedure
- 
						Extract the 
.ziparchive for the native Data Grid CLI distribution. Copy the native executable, or create a hard link, to a file named "kubectl-infinispan", for example:
cp redhat-datagrid-cli kubectl-infinispan
cp redhat-datagrid-cli kubectl-infinispanCopy to Clipboard Copied! Toggle word wrap Toggle overflow - 
						Add 
kubectl-infinispanto yourPATH. Verify that the CLI is installed.
oc plugin list The following compatible plugins are available: /path/to/kubectl-infinispan
oc plugin list The following compatible plugins are available: /path/to/kubectl-infinispanCopy to Clipboard Copied! Toggle word wrap Toggle overflow Use the
infinispan --helpcommand to view available commands.oc infinispan --help
oc infinispan --helpCopy to Clipboard Copied! Toggle word wrap Toggle overflow 
2.2. kubectl-infinispan command reference 링크 복사링크가 클립보드에 복사되었습니다!
				This topic provides some details about the kubectl-infinispan plugin for clients.
			
				Use the --help argument to view the complete list of available options and descriptions for each command.
			
				For example, oc infinispan create cluster --help prints all command options for creating Data Grid clusters.
			
|   Command  |   Description  | 
|   
								  |   Creates Data Grid Operator subscriptions and installs into the global namespace by default.  | 
|   
								  |   Creates Data Grid clusters.  | 
|   
								  |   Displays running Data Grid clusters.  | 
|   
								  |   Starts an interactive remote shell session on a Data Grid cluster.  | 
|   
								  |   Removes Data Grid clusters.  | 
|   
								  |   Removes Data Grid Operator installations and all managed resources.  |