Operator installation
- The examples in this guide use the following assumptions
-
-
A dedicated namespace for operator deployment has been created. See Create a namespace for GridGain operator.
-
CustomResourceDefinitions is deployed, See Install Custom Resource Definitions (CRDs).
-
RBAC is configured. See RBAC configuration.
-
CustomResources is deployed. See Custom Resources Configuration.
-
Create operator deployment.
kubectl apply -f operator.yaml -n <operator-namespace> #apache-ignite-operator by default
To verify that the operator is successfully installed and running, enter the following command:
kubectl get pods -n <operator-namespace> #apache-ignite-operator by default
Your output should be similar to the following example, with Running as the status of the operator service:
NAME READY STATUS RESTARTS AGE apache-ignite-operator-868fb8bdcd-46xnh 1/1 Running 0 1m
Changing operator version and pullPolicy
The operator is a regular Kubernetes deployment that is specified in the operator.yaml file. By default, there is no need to change the operator.yaml file. However, you might want to change the image version. The default values for image and pullPolicy are “gridgain/apache-ignite-operator:latest”
and “IfNotPresent”
respectively.
The following operator.yaml
snippet shows an example of changing image
to "gridgain/apache-ignite-operator:0.1.5-alpha"
and imagePullPolicy
to “Always”
:
... image: "gridgain/apache-ignite-operator:0.1.5-alpha" imagePullPolicy: "Always" ...
© 2024 GridGain Systems, Inc. All Rights Reserved. Privacy Policy | Legal Notices. GridGain® is a registered trademark of GridGain Systems, Inc.
Apache, Apache Ignite, the Apache feather and the Apache Ignite logo are either registered trademarks or trademarks of The Apache Software Foundation.