Skip to content

Commit

Permalink
Adding kustomize to deploy zookeeper and solr to OpenShift Local
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Nov 26, 2023
1 parent 982eb1e commit 9370080
Show file tree
Hide file tree
Showing 18 changed files with 3,230 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apiVersion: smartvillage.computate.org/v1
kind: EdgeSolr
metadata:
name: default
namespace: solr
spec:
solr:
name: solr
replicas: 1
resources:
limits:
memory: 2Gi
cpu: '2'
requests:
memory: 2Gi
cpu: '1'
configsets:
- name: computate
configmap: computate-configset
collections:
- name: computate
configset: computate
zookeeper:
replicas: 1
host: zookeeper.zookeeper.svc
limits:
memory: 1Gi
cpu: '1'
requests:
memory: 1Gi
cpu: '1'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- edgesolr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- default/
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: smartvillage.computate.org/v1
kind: SmartaByarSmartVillage
metadata:
name: default
namespace: zookeeper
spec:
zookeeper:
host: zookeeper
replicas: 1
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- edgezookeeper.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- default/
5 changes: 5 additions & 0 deletions kustomize/overlays/openshift-local/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- zookeeper/
- solr/

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:

- configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- computate-configset/
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespaces/
- configmaps/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- solr/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: solr
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespaces/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- zookeeper/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: zookeeper

0 comments on commit 9370080

Please sign in to comment.