Skip to content

Commit 2fda6b6

Browse files
Merge branch 'master' into recommendation
Signed-off-by: Arnob Kumar Saha <[email protected]>
2 parents c368ff2 + 9a13294 commit 2fda6b6

File tree

222 files changed

+7248
-374
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+7248
-374
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,17 @@ jobs:
6161
kubectl create -f https://github.com/kubedb/installer/raw/master/crds/kubedb-crds.yaml
6262
kubectl create -f https://github.com/kubernetes-csi/external-snapshotter/raw/master/client/config/crd/snapshot.storage.k8s.io_volumesnapshotclasses.yaml
6363
kubectl create -f https://github.com/kubestash/installer/raw/master/crds/kubestash-crds.yaml
64+
# recommendation
6465
kubectl create -f https://github.com/kubeops/supervisor/raw/master/crds/supervisor.appscode.com_approvalpolicies.yaml
6566
kubectl create -f https://github.com/kubeops/supervisor/raw/master/crds/supervisor.appscode.com_clustermaintenancewindows.yaml
6667
kubectl create -f https://github.com/kubeops/supervisor/raw/master/crds/supervisor.appscode.com_maintenancewindows.yaml
6768
kubectl create -f https://github.com/kubeops/supervisor/raw/master/crds/supervisor.appscode.com_recommendations.yaml
69+
# gateway
70+
kubectl create -f https://github.com/appscode-cloud/catalog/raw/master/crds/catalog.appscode.com_mongodbbindings.yaml
71+
kubectl create -f https://github.com/voyagermesh/installer/raw/master/charts/voyager-gateway/crds/generated/gateway.envoyproxy.io_envoyproxies.yaml
72+
kubectl create -f https://github.com/voyagermesh/installer/raw/master/charts/gateway-api/crds/gateway.networking.k8s.io_gatewayclasses.yaml
73+
kubectl create -f https://github.com/fluxcd/helm-controller/raw/main/config/crd/bases/helm.toolkit.fluxcd.io_helmreleases.yaml
74+
kubectl create -f https://github.com/fluxcd/source-controller/raw/main/config/crd/bases/source.toolkit.fluxcd.io_helmrepositories.yaml
6875
6976
- name: Check codespan schema
7077
run: |

docs/examples/druid/quickstart/mysql-demo.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
name: mysql-demo
55
namespace: demo
66
spec:
7-
version: "8.0.35"
7+
version: "9.1.0"
88
storage:
99
storageClassName: "standard"
1010
accessModes:
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: kubedb.com/v1alpha2
2+
kind: Ignite
3+
metadata:
4+
name: custom-ignite
5+
namespace: demo
6+
spec:
7+
replicas: 3
8+
version: 2.17.0
9+
configSecret:
10+
name: ignite-configuration
11+
storage:
12+
storageClassName: "standard"
13+
accessModes:
14+
- ReadWriteOnce
15+
resources:
16+
requests:
17+
storage: 1Gi
18+
deletionPolicy: WipeOut
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
apiVersion: kubedb.com/v1alpha2
2+
kind: Ignite
3+
metadata:
4+
name: custom-ignite
5+
namespace: demo
6+
spec:
7+
version: "2.17.0"
8+
replicas: 1
9+
podTemplate:
10+
spec:
11+
containers:
12+
- name: ignite
13+
env:
14+
- name: "Ignite_Key"
15+
value: KubeDB
16+
- name: "Ignite_Value"
17+
value: '123'
18+
deletionPolicy: WipeOut
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: v1
2+
stringData:
3+
node-configuration.xml: |
4+
<?xml version="1.0" encoding="UTF-8"?>
5+
<beans xmlns="http://www.springframework.org/schema/beans"
6+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7+
xsi:schemaLocation="http://www.springframework.org/schema/beans
8+
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
9+
<!-- Ignite Configuration -->
10+
<bean class="org.apache.ignite.configuration.IgniteConfiguration">
11+
<property name="authenticationEnabled" value="true"/>
12+
</bean>
13+
</beans>
14+
15+
kind: Secret
16+
metadata:
17+
name: ignite-configuration
18+
namespace: demo
19+
resourceVersion: "4505"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: kubedb.com/v1alpha2
2+
kind: Ignite
3+
metadata:
4+
name: ignite-without-tolerations
5+
namespace: demo
6+
spec:
7+
version: "2.17.0"
8+
replicas: 1
9+
deletionPolicy: WipeOut
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: kubedb.com/v1alpha2
2+
kind: Ignite
3+
metadata:
4+
name: ignite-node-selector
5+
namespace: demo
6+
spec:
7+
version: "2.17.0"
8+
replicas: 1
9+
podTemplate:
10+
spec:
11+
nodeSelector:
12+
disktype: ssd
13+
deletionPolicy: WipeOut
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
apiVersion: kubedb.com/v1alpha2
2+
kind: Ignite
3+
metadata:
4+
name: ignite-custom-sidecar
5+
namespace: demo
6+
spec:
7+
version: "2.17.0"
8+
replicas: 1
9+
podTemplate:
10+
spec:
11+
containers:
12+
- name: ignite
13+
resources:
14+
limits:
15+
cpu: 500m
16+
memory: 500Mi
17+
requests:
18+
cpu: 500m
19+
memory: 500Mi
20+
- name: filebeat
21+
image: docker.elastic.co/beats/filebeat:9.0.3
22+
resources:
23+
limits:
24+
cpu: 300m
25+
memory: 300Mi
26+
requests:
27+
cpu: 300m
28+
memory: 300Mi
29+
deletionPolicy: WipeOut
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: kubedb.com/v1alpha2
2+
kind: Ignite
3+
metadata:
4+
name: ignite-with-tolerations
5+
namespace: demo
6+
spec:
7+
version: "2.17.0"
8+
replicas: 1
9+
podTemplate:
10+
spec:
11+
tolerations:
12+
- key: "key1"
13+
operator: "Equal"
14+
value: "node1"
15+
effect: "NoSchedule"
16+
deletionPolicy: WipeOut
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: kubedb.com/v1alpha2
2+
kind: Ignite
3+
metadata:
4+
name: minute-ignite
5+
namespace: demo
6+
spec:
7+
replicas: 1
8+
version: "2.17.0"
9+
podTemplate:
10+
spec:
11+
serviceAccountName: my-custom-serviceaccount
12+
containers:
13+
- name: ignite
14+
resources:
15+
limits:
16+
cpu: 500m
17+
memory: 128Mi
18+
requests:
19+
cpu: 250m
20+
memory: 64Mi
21+
deletionPolicy: DoNotTerminate

0 commit comments

Comments
 (0)