The first step in deploying a Space is to configure the GigaSpaces Manager.
helm install test insightedge-manager
GigaSpaces uses the Custom Resources Definition (CRD) feature of Kubernetes to define a resource type called Processing Unit. With a properly defined
yaml file, the
kubectl apply command can be used to deploy a GigaSpaces Processing Unit.
For example, in the command line execute the following command to deploy the
kubectl apply -f filename.yaml
Click below to see a sample
yaml file. This sample file specifies four primary instances, four backup instances, and also specifies that each backup instance will be on a different host than its primary instance.
The Processing Unit will use one stateful set per stateful pu.
Note the highlighted entries in the
- kind: ProcessingUnit
Specifies the Processing Unit custom resource type
Four primary instances are deployed
Four additional backup instances are deployed
Applicable only if
ha: true. If this option is set to
true, then the four backup instances will each be deployed on a different host from their primary instance.
Enter the following command to see the status of the Processing Units:
kubectl get pus
Sample output appears as follows:
Enter the following command to delete a Processing Unit:
kubectl delete pu name-of-processing-unit