-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding kustomize to deploy zookeeper and solr to OpenShift Local
- Loading branch information
Showing
18 changed files
with
3,230 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
kustomize/overlays/openshift-local/ansible/solr/default/edgesolr.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/ansible/solr/default/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/ansible/solr/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- default/ |
9 changes: 9 additions & 0 deletions
9
kustomize/overlays/openshift-local/ansible/zookeeper/default/edgezookeeper.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/ansible/zookeeper/default/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/ansible/zookeeper/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- default/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
3,127 changes: 3,127 additions & 0 deletions
3,127
kustomize/overlays/openshift-local/base/solr/configmaps/computate-configset/configmap.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...mize/overlays/openshift-local/base/solr/configmaps/computate-configset/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/base/solr/configmaps/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
5 changes: 5 additions & 0 deletions
5
kustomize/overlays/openshift-local/base/solr/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/base/solr/namespaces/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- solr/ |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/base/solr/namespaces/solr/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/base/solr/namespaces/solr/namespace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: solr |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/base/zookeeper/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- namespaces/ |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/base/zookeeper/namespaces/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- zookeeper/ |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/base/zookeeper/namespaces/zookeeper/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
4 changes: 4 additions & 0 deletions
4
kustomize/overlays/openshift-local/base/zookeeper/namespaces/zookeeper/namespace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: zookeeper |