All Projects → gluster → anthill

gluster / anthill

Licence: Apache-2.0 license
A Kubernetes/OpenShift operator to manage Gluster clusters

Programming Languages

go
31211 projects - #10 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to anthill

deploy
Deploy Development Builds of Open Cluster Management (OCM) on RedHat Openshift Container Platform
Stars: ✭ 133 (+280%)
Mutual labels:  openshift, operator
ibm-spectrum-scale-csi
The IBM Spectrum Scale Container Storage Interface (CSI) project enables container orchestrators, such as Kubernetes and OpenShift, to manage the life-cycle of persistent storage.
Stars: ✭ 41 (+17.14%)
Mutual labels:  openshift, operator
cryostat-operator
An OpenShift Operator to facilitate setup and management of Cryostast and expose the Cryostat API through Kubernetes Custom Resources.
Stars: ✭ 25 (-28.57%)
Mutual labels:  openshift, operator
logging-operator
A golang based operator to create and manage EFK (Elasticsearch, Fluentd, and Kibana) stack on Kubernetes
Stars: ✭ 42 (+20%)
Mutual labels:  openshift, operator
Deploy
Deploy Development Builds of Open Cluster Management (OCM) on RedHat Openshift Container Platform
Stars: ✭ 78 (+122.86%)
Mutual labels:  openshift, operator
loki-operator
viaq.github.io/loki-operator/
Stars: ✭ 30 (-14.29%)
Mutual labels:  openshift, operator
grafana-operator
An operator for Grafana that installs and manages Grafana instances, Dashboards and Datasources through Kubernetes/OpenShift CRs
Stars: ✭ 449 (+1182.86%)
Mutual labels:  openshift, operator
wildfly-operator
Kubernetes Operator for WildFly
Stars: ✭ 28 (-20%)
Mutual labels:  openshift, operator
Camel K
Apache Camel K is a lightweight integration platform, born on Kubernetes, with serverless superpowers
Stars: ✭ 549 (+1468.57%)
Mutual labels:  openshift, operator
argocd-operator-helm
[DEPRECATED] Argo CD Operator (Helm) installs Argo CD in OpenShift and Kubernetes.
Stars: ✭ 18 (-48.57%)
Mutual labels:  openshift, operator
Argocd Operator
A Kubernetes operator for managing Argo CD clusters.
Stars: ✭ 151 (+331.43%)
Mutual labels:  openshift, operator
K8up
Kubernetes and OpenShift Backup Operator
Stars: ✭ 130 (+271.43%)
Mutual labels:  openshift, operator
pulp-operator
Kubernetes Operator for Pulp 3. Under active development.
Stars: ✭ 32 (-8.57%)
Mutual labels:  openshift, operator
Openshift Examples
Openshift Examples - This repo does not provide end to end example but rather act as a rough draft for my work. use with caution. Buzzme at @twitter
Stars: ✭ 247 (+605.71%)
Mutual labels:  openshift
s2ioperator
Operator for Source to image
Stars: ✭ 41 (+17.14%)
Mutual labels:  operator
Selinon
An advanced distributed task flow management on top of Celery
Stars: ✭ 237 (+577.14%)
Mutual labels:  openshift
Openwhisk Deploy Kube
The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters.
Stars: ✭ 231 (+560%)
Mutual labels:  openshift
openshift-cartridge-mysql
Custom cartridge for OpenShift providing MySQL 5.7.17
Stars: ✭ 13 (-62.86%)
Mutual labels:  openshift
openshift-install-power
UPI Install helper to deploy OpenShift 4 on IBM Power Systems Virtual Server using Terraform IaC
Stars: ✭ 16 (-54.29%)
Mutual labels:  openshift
Openshift Cartridge Nodejs
Custom cartridge for OpenShift providing the lastest version of Node.js.
Stars: ✭ 227 (+548.57%)
Mutual labels:  openshift

Gluster operator for Kubernetes and OpenShift

Build Status Documentation Status

Found a bug? Let us know.

Have a request? Tell us about it.

Interested in helping out? Take a look at the contributing doc to find out how.

Build

The operator is based on the Operator SDK. In order to build the operator, you first need to install the SDK. Instructions are here.

Once the SDK is installed, Anthill can be built via:

$ dep ensure --vendor-only

$ operator-sdk build docker.io/gluster/anthill
$ operator-sdk build docker.io/gluster/anthill
INFO[0000] Building Docker image docker.io/gluster/anthill
Sending build context to Docker daemon  152.1MB
Step 1/3 : FROM docker.io/centos:7.5.1804
7.5.1804: Pulling from library/centos
Digest: sha256:adbf1369c8dbeaa2bf9df0b891394e3ca09b5272a2fb54e0fadc6b14dd93fcad
Status: Downloaded newer image for centos:7.5.1804
 ---> 76d6bc25b8a5
Step 2/3 : USER nobody
 ---> Using cache
 ---> dc1dd738f9a4
Step 3/3 : ADD build/_output/bin/anthill /usr/local/bin/anthill
 ---> Using cache
 ---> cffc3a0ef59e
Successfully built cffc3a0ef59e
Successfully tagged gluster/anthill:latest
INFO[0002] Operator build complete.

Installation

Install the CRDs into the cluster:

$ kubectl apply -f deploy/crds/operator_v1alpha1_glustercluster_crd.yaml
customresourcedefinition.apiextensions.k8s.io "glusterclusters.operator.gluster.org" created

Install the service account, role, and rolebinding:

$ kubectl apply -f deploy/service_account.yaml
serviceaccount "anthill" created

$ kubectl apply -f deploy/role.yaml
role.rbac.authorization.k8s.io "anthill" created
rolebinding.rbac.authorization.k8s.io "anthill" created

There are two options for deploying the operator.

  1. It can be run normally, inside the cluster. For this, see deploy/operator.yaml for a skeleton.

  2. It can also be run outside the cluster for development purposes. This removes the need to push the container to a registry by running the operator executable locally. For this:

    $ OPERATOR_NAME=anthill operator-sdk up local --namespace=default
    INFO[0000] Running the operator locally.
    {"level":"info","ts":1542396040.2412076,"logger":"cmd","caller":"manager/main.go:57","msg":"Registering Components."}
    {"level":"info","ts":1542396040.2413611,"logger":"kubebuilder.controller","caller":"controller/controller.go:120","msg":"Starting EventSource","Controller":"glustercluster-controller","Source":"kind source: /, Kind="}
    ...
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].