-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: pritamdas99 <[email protected]>
- Loading branch information
1 parent
046b946
commit 5a6c0c0
Showing
24 changed files
with
944 additions
and
20 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
docs/examples/solr/configuration/sl-custom-nodeselector.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,21 @@ | ||
apiVersion: kubedb.com/v1alpha2 | ||
kind: Solr | ||
metadata: | ||
name: solr-custom-nodeselector | ||
namespace: demo | ||
spec: | ||
version: 9.6.1 | ||
replicas: 2 | ||
podTemplate: | ||
spec: | ||
nodeSelector: | ||
topology.gke.io/zone: us-central1-b | ||
zookeeperRef: | ||
name: zoo | ||
namespace: demo | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi |
68 changes: 68 additions & 0 deletions
68
docs/examples/solr/configuration/sl-custom-podtemplate.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,68 @@ | ||
apiVersion: kubedb.com/v1alpha2 | ||
kind: Solr | ||
metadata: | ||
name: solr-misc-config | ||
namespace: demo | ||
spec: | ||
version: "9.6.1" | ||
zookeeperRef: | ||
name: zoo | ||
namespace: demo | ||
topology: | ||
data: | ||
replicas: 1 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: "solr" | ||
resources: | ||
requests: | ||
cpu: "900m" | ||
limits: | ||
cpu: "900m" | ||
memory: "2.5Gi" | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard | ||
overseer: | ||
replicas: 1 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: "solr" | ||
resources: | ||
requests: | ||
cpu: "900m" | ||
limits: | ||
cpu: "900m" | ||
memory: "2.5Gi" | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard | ||
coordinator: | ||
replicas: 1 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: "solr" | ||
resources: | ||
requests: | ||
cpu: "900m" | ||
limits: | ||
cpu: "900m" | ||
memory: "2.5Gi" | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard |
28 changes: 28 additions & 0 deletions
28
docs/examples/solr/configuration/solr-with-tolerations.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,28 @@ | ||
apiVersion: kubedb.com/v1alpha2 | ||
kind: Solr | ||
metadata: | ||
name: solr-with-toleration | ||
namespace: demo | ||
spec: | ||
version: 9.6.1 | ||
replicas: 2 | ||
podTemplate: | ||
spec: | ||
tolerations: | ||
- key: "key1" | ||
operator: "Equal" | ||
value: "node7" | ||
effect: "NoSchedule" | ||
- key: "key1" | ||
operator: "Equal" | ||
value: "node8" | ||
effect: "NoSchedule" | ||
zookeeperRef: | ||
name: zoo | ||
namespace: demo | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi |
17 changes: 17 additions & 0 deletions
17
docs/examples/solr/configuration/solr-without-toleration.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,17 @@ | ||
apiVersion: kubedb.com/v1alpha2 | ||
kind: Solr | ||
metadata: | ||
name: solr-without-toleration | ||
namespace: demo | ||
spec: | ||
version: 9.6.1 | ||
replicas: 2 | ||
zookeeperRef: | ||
name: zoo | ||
namespace: demo | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi |
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
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
6 changes: 3 additions & 3 deletions
6
docs/guides/solr/configuration/solr.md → .../guides/solr/configuration/config-file.md
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
Oops, something went wrong.