-
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.
* Started Quickstart Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * QuickStart Done & started Concepts Memcached Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Memcached concepts, custom config & rbac Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fix CLI private-registry Monitoring Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Add Ops Request Version-update & overview images Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Add Version-update Horizontal & Vertical Scaling Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Add Reconfiguration Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Update and fixed Reconfiguration Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Add Memcached Autoscaler Compute Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * FIx Error Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fix links Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fixed Error Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fix docs Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fix Memcached quickstart image Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fix Memcached issue Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fix prometheus operator Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fix issuses Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fix autoscaling file Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fix Autoscaler Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Change according to Review Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fixed Links Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Update Name Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> * Fix elasticsearch update for terminationPolicy > deletionPolicy Signed-off-by: raihankhan <[email protected]> --------- Signed-off-by: Muhammad Raisul Islam Evan <[email protected]> Signed-off-by: raihankhan <[email protected]> Co-authored-by: raihankhan <[email protected]>
- Loading branch information
1 parent
35e3f02
commit da6b509
Showing
67 changed files
with
3,009 additions
and
924 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
docs/examples/memcached/auto-scaler/memcached-autoscaler-compute.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,24 @@ | ||
apiVersion: autoscaling.kubedb.com/v1alpha1 | ||
kind: MemcachedAutoscaler | ||
metadata: | ||
name: mc-autoscaler | ||
namespace: demo | ||
spec: | ||
databaseRef: | ||
name: mc-autoscaler-compute | ||
opsRequestOptions: | ||
timeout: 3m | ||
apply: IfReady | ||
compute: | ||
memcached: | ||
trigger: "On" | ||
podLifeTimeThreshold: 1m | ||
resourceDiffPercentage: 20 | ||
minAllowed: | ||
cpu: 400m | ||
memory: 400Mi | ||
maxAllowed: | ||
cpu: 1 | ||
memory: 1Gi | ||
controlledResources: ["cpu", "memory"] | ||
containerControlledValues: "RequestsAndLimits" |
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,20 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: mc-autoscaler-compute | ||
namespace: demo | ||
spec: | ||
replicas: 1 | ||
version: "1.6.22" | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: memcached | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 100Mi | ||
requests: | ||
cpu: 100m | ||
memory: 100Mi | ||
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
10 changes: 10 additions & 0 deletions
10
docs/examples/memcached/custom-config/mc-configuration.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,10 @@ | ||
apiVersion: v1 | ||
stringData: | ||
memcached.conf: | | ||
--conn-limit=500 | ||
--memory-limit=512 | ||
kind: Secret | ||
metadata: | ||
name: mc-configuration | ||
namespace: demo | ||
resourceVersion: "4505" |
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
13 changes: 13 additions & 0 deletions
13
docs/examples/memcached/reconfigure/apply-config-reconfigure.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,13 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MemcachedOpsRequest | ||
metadata: | ||
name: memcd-reconfig | ||
namespace: demo | ||
spec: | ||
type: Reconfigure | ||
databaseRef: | ||
name: memcd-quickstart | ||
configuration: | ||
applyConfig: | ||
memcached.conf: | | ||
--conn-limit=3000 |
12 changes: 12 additions & 0 deletions
12
docs/examples/memcached/reconfigure/config-secret-reconfigure.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,12 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MemcachedOpsRequest | ||
metadata: | ||
name: memcd-reconfig | ||
namespace: demo | ||
spec: | ||
type: Reconfigure | ||
databaseRef: | ||
name: memcd-quickstart | ||
configuration: | ||
configSecret: | ||
name: new-configuration |
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,11 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: memcd-quickstart | ||
namespace: demo | ||
spec: | ||
replicas: 1 | ||
version: "1.6.22" | ||
configSecret: | ||
name: mc-configuration | ||
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,12 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MemcachedOpsRequest | ||
metadata: | ||
name: memcd-horizontal-up | ||
namespace: demo | ||
spec: | ||
type: HorizontalScaling | ||
databaseRef: | ||
name: memcd-quickstart | ||
horizontalScaling: | ||
replicas: 5 | ||
|
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,20 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: memcd-quickstart | ||
namespace: demo | ||
spec: | ||
replicas: 1 | ||
version: "1.6.22" | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: memcached | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
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,20 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: memcd-quickstart | ||
namespace: demo | ||
spec: | ||
replicas: 1 | ||
version: "1.6.22" | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: memcached | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
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,18 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MemcachedOpsRequest | ||
metadata: | ||
name: memcached-mc | ||
namespace: demo | ||
spec: | ||
type: VerticalScaling | ||
databaseRef: | ||
name: memcd-quickstart | ||
verticalScaling: | ||
memcached: | ||
resources: | ||
requests: | ||
memory: "400Mi" | ||
cpu: "500m" | ||
limits: | ||
memory: "400Mi" | ||
cpu: "500m" |
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,20 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Memcached | ||
metadata: | ||
name: memcd-quickstart | ||
namespace: demo | ||
spec: | ||
replicas: 1 | ||
version: "1.6.22" | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: memcached | ||
resources: | ||
limits: | ||
cpu: 500m | ||
memory: 128Mi | ||
requests: | ||
cpu: 250m | ||
memory: 64Mi | ||
deletionPolicy: WipeOut |
11 changes: 11 additions & 0 deletions
11
docs/examples/memcached/update-version/opsrequest-version-update.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,11 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: MemcachedOpsRequest | ||
metadata: | ||
name: update-memcd | ||
namespace: demo | ||
spec: | ||
type: UpdateVersion | ||
databaseRef: | ||
name: memcd-quickstart | ||
updateVersion: | ||
targetVersion: 1.6.29 |
68 changes: 0 additions & 68 deletions
68
docs/examples/monitoring/builtin-prometheus/prom-config.yaml
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.