-
Notifications
You must be signed in to change notification settings - Fork 54
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: Muhammad Raisul Islam Evan <[email protected]>
- Loading branch information
1 parent
0bdc1af
commit 751bd7c
Showing
25 changed files
with
715 additions
and
31 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
docs/examples/memcached/custom-config/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,18 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: custom-mc | ||
namespace: demo | ||
spec: | ||
version: "1.6.22" | ||
replicas: 1 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: memcached | ||
env: | ||
- name: "Memcached_Key" | ||
value: KubeDB | ||
- name: "Memcached_Value" | ||
value: '123' | ||
deletionPolicy: WipeOut |
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,13 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: memcached-node-selector | ||
namespace: demo | ||
spec: | ||
version: "1.6.22" | ||
replicas: 1 | ||
podTemplate: | ||
spec: | ||
nodeSelector: | ||
disktype: ssd | ||
deletionPolicy: WipeOut |
29 changes: 29 additions & 0 deletions
29
docs/examples/memcached/custom-config/sidecar-container.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,29 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: memcached-custom-sidecar | ||
namespace: demo | ||
spec: | ||
version: "1.6.22" | ||
replicas: 1 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: memcached | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 100Mi | ||
requests: | ||
cpu: 100m | ||
memory: 100Mi | ||
- name: filebeat | ||
image: evanraisul/custom_filebeat:latest | ||
resources: | ||
limits: | ||
cpu: 300m | ||
memory: 300Mi | ||
requests: | ||
cpu: 300m | ||
memory: 300Mi | ||
deletionPolicy: WipeOut |
9 changes: 9 additions & 0 deletions
9
docs/examples/memcached/custom-config/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,9 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: memcached-without-tolerations | ||
namespace: demo | ||
spec: | ||
version: "1.6.22" | ||
replicas: 1 | ||
deletionPolicy: WipeOut |
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
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
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
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
Oops, something went wrong.