Skip to content

Commit

Permalink
Merge branch 'master' into mg-add
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnobKumarSaha committed Dec 19, 2022
2 parents b9e8d27 + faf51b3 commit 1cc61f8
Show file tree
Hide file tree
Showing 192 changed files with 13,642 additions and 3,103 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1

Expand All @@ -33,8 +33,7 @@ jobs:
- name: Check links
run: |
liche -r docs -d $(pwd) -c 10 -p -h -l -x '^(.*github.com.*|.*api.slack.com.*|.*twitter.com.*|.*linode.com.*|.*helm.sh.*|.*k8s.io.*|.*percona.com.*|.*kubernetes.io.*)$'
liche -r docs -d $(pwd) -c 10 -p -h -l -x '^(.*github.com.*|.*api.slack.com.*|.*twitter.com.*|.*linode.com.*|.*helm.sh.*|.*k8s.io.*|.*percona.com.*|.*kubernetes.io.*|.*search-guard.com.*|.*hub.docker.com.*|.*appscode.com.*|.*mongodb.com.*|.*community.arm.com.*|.*cluster.com.*|.*proxysql.com.*|.*stackoverflow.com.*|.*redis.io.*|.*www.elastic.co.*)$'
- name: Create Kubernetes cluster
id: kind
uses: engineerd/setup-kind@v0.5.0
Expand Down Expand Up @@ -62,7 +61,7 @@ jobs:
kubectl create -f https://github.com/stashed/installer/raw/master/crds/stash-crds.yaml
kubectl create -f https://github.com/kubevault/installer/raw/master/crds/kubevault-crds.yaml
kubectl create -f https://github.com/kubedb/installer/raw/master/crds/kubedb-crds.yaml
- name: Check codespan schema
run: |
codespan-schema-checker --content=./docs
2 changes: 1 addition & 1 deletion .github/workflows/preview-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ concurrency:
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v1
Expand Down
376 changes: 376 additions & 0 deletions docs/CHANGELOG-v2022.12.13-rc.0.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/guides/elasticsearch/concepts/appbinding/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ KubeDB uses [Stash](https://appscode.com/products/stash/) to perform backup/reco

Like any official Kubernetes resource, an `AppBinding` has `TypeMeta`, `ObjectMeta` and `Spec` sections. However, unlike other Kubernetes resources, it does not have a `Status` section.

An `AppBinding` object created by `KubeDB` for PostgreSQL database is shown below,
An `AppBinding` object created by `KubeDB` for Elasticsearch database is shown below,

```yaml
apiVersion: appcatalog.appscode.com/v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/mysql/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ menu:
identifier: guides-mysql
name: MySQL
parent: guides
weight: 10
weight: 40
menu_name: docs_{{ .version }}
---
10 changes: 10 additions & 0 deletions docs/guides/mysql/autoscaler/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Autoscaling
menu:
docs_{{ .version }}:
identifier: guides-mysql-autoscaling
name: Autoscaling
parent: guides-mysql
weight: 47
menu_name: docs_{{ .version }}
---
10 changes: 10 additions & 0 deletions docs/guides/mysql/autoscaler/compute/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: Compute Autoscaling
menu:
docs_{{ .version }}:
identifier: guides-mysql-autoscaling-compute
name: Compute Autoscaling
parent: guides-mysql-autoscaling
weight: 46
menu_name: docs_{{ .version }}
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: autoscaling.kubedb.com/v1alpha1
kind: MySQLAutoscaler
metadata:
name: my-as-compute
namespace: demo
spec:
databaseRef:
name: sample-mysql
opsRequestOptions:
timeout: 3m
apply: IfReady
compute:
mysql:
trigger: "On"
podLifeTimeThreshold: 5m
resourceDiffPercentage: 20
minAllowed:
cpu: 250m
memory: 400Mi
maxAllowed:
cpu: 1
memory: 1Gi
containerControlledValues: "RequestsAndLimits"
controlledResources: ["cpu", "memory"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: kubedb.com/v1alpha2
kind: MySQL
metadata:
name: sample-mysql
namespace: demo
spec:
version: "8.0.31"
replicas: 3
topology:
mode: GroupReplication
storageType: Durable
storage:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
podTemplate:
spec:
resources:
requests:
cpu: "200m"
memory: "300Mi"
limits:
cpu: "200m"
memory: "300Mi"
terminationPolicy: WipeOut
Loading

0 comments on commit 1cc61f8

Please sign in to comment.