Table of Contents generated with DocToc
This is a meta operator for install the common service operator and instance.
- go version v1.13+.
- docker version 17.03+
- kubectl v1.11.3+
- operator-sdk
- Access to a Kubernetes v1.11.3+ cluster
Checkout this Meta Operator repository
# git clone https://github.com/IBM/meta-operator.git
# cd meta-operator
Build the meta operator image and push it to a public registry, such as quay.io:
# make image
Run make install
to install the operator. Check that the operator is running in the cluster, also check that the common service was deployed.
Following the expected result.
# kubectl get all -n meta-operator
NAME READY STATUS RESTARTS AGE
pod/meta-operator-786d699956-z7k4n 1/1 Running 0 21s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/meta-operator 1/1 1 1 22s
NAME DESIRED CURRENT READY AGE
replicaset.apps/meta-operator-786d699956 1 1 1 22s
To uninstall all that was performed in the above step run make uninstall
.
Use the following command to check the operator logs.
# kubectl logs deployment.apps/meta-operator -n meta-operator
End to end tests For more information see the writing e2e tests guide.
When the API or CRD changed, run make code-dev
re-generate the code.