Skip to content

posriniv/meta-operator

 
 

Repository files navigation

Table of Contents generated with DocToc

Meta Operator

Overview

This is a meta operator for install the common service operator and instance.

Prerequisites

Getting Started

Cloning the repository

Checkout this Meta Operator repository

# git clone https://github.com/IBM/meta-operator.git
# cd meta-operator

Building the operator

Build the meta operator image and push it to a public registry, such as quay.io:

# make image

Installing

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

Uninstalling

To uninstall all that was performed in the above step run make uninstall.

Troubleshooting

Use the following command to check the operator logs.

# kubectl logs deployment.apps/meta-operator -n meta-operator

Running Tests

End to end tests For more information see the writing e2e tests guide.

Development

When the API or CRD changed, run make code-dev re-generate the code.

About

operator for operators model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 84.9%
  • Shell 9.2%
  • Makefile 4.7%
  • Dockerfile 1.2%