-
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.
Add remaining kafka ops request docs
Signed-off-by: obaydullahmhs <[email protected]>
- Loading branch information
1 parent
db04112
commit a748bf7
Showing
34 changed files
with
4,380 additions
and
702 deletions.
There are no files selected for viewing
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
8 changes: 8 additions & 0 deletions
8
docs/examples/kafka/reconfigure/kafka-combined-custom-config.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,8 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: kf-combined-custom-config | ||
namespace: demo | ||
stringData: | ||
server.properties: |- | ||
log.retention.hours=100 |
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,19 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Kafka | ||
metadata: | ||
name: kafka-dev | ||
namespace: demo | ||
spec: | ||
replicas: 2 | ||
version: 3.6.1 | ||
configSecret: | ||
name: kf-combined-custom-config | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard | ||
storageType: Durable | ||
deletionPolicy: WipeOut |
15 changes: 15 additions & 0 deletions
15
docs/examples/kafka/reconfigure/kafka-reconfigure-apply-combined.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,15 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: KafkaOpsRequest | ||
metadata: | ||
name: kfops-reconfigure-apply-combined | ||
namespace: demo | ||
spec: | ||
type: Reconfigure | ||
databaseRef: | ||
name: kafka-dev | ||
configuration: | ||
applyConfig: | ||
server.properties: |- | ||
log.retention.hours=150 | ||
timeout: 5m | ||
apply: IfReady |
18 changes: 18 additions & 0 deletions
18
docs/examples/kafka/reconfigure/kafka-reconfigure-apply-topology.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: ops.kubedb.com/v1alpha1 | ||
kind: KafkaOpsRequest | ||
metadata: | ||
name: kfops-reconfigure-apply-topology | ||
namespace: demo | ||
spec: | ||
type: Reconfigure | ||
databaseRef: | ||
name: kafka-prod | ||
configuration: | ||
applyConfig: | ||
broker.properties: |- | ||
log.retention.hours=150 | ||
controller.properties: |- | ||
controller.quorum.election.timeout.ms=4000 | ||
controller.quorum.fetch.timeout.ms=5000 | ||
timeout: 5m | ||
apply: IfReady |
14 changes: 14 additions & 0 deletions
14
docs/examples/kafka/reconfigure/kafka-reconfigure-update-combined.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,14 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: KafkaOpsRequest | ||
metadata: | ||
name: kfops-reconfigure-combined | ||
namespace: demo | ||
spec: | ||
type: Reconfigure | ||
databaseRef: | ||
name: kafka-dev | ||
configuration: | ||
configSecret: | ||
name: new-kf-combined-custom-config | ||
timeout: 5m | ||
apply: IfReady |
14 changes: 14 additions & 0 deletions
14
docs/examples/kafka/reconfigure/kafka-reconfigure-update-topology.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,14 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: KafkaOpsRequest | ||
metadata: | ||
name: kfops-reconfigure-topology | ||
namespace: demo | ||
spec: | ||
type: Reconfigure | ||
databaseRef: | ||
name: kafka-prod | ||
configuration: | ||
configSecret: | ||
name: new-kf-topology-custom-config | ||
timeout: 5m | ||
apply: IfReady |
10 changes: 10 additions & 0 deletions
10
docs/examples/kafka/reconfigure/kafka-topology-custom-config.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 | ||
kind: Secret | ||
metadata: | ||
name: kf-topology-custom-config | ||
namespace: demo | ||
stringData: | ||
broker.properties: |- | ||
log.retention.hours=100 | ||
controller.properties: |- | ||
controller.quorum.election.timeout.ms=2000 |
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,30 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Kafka | ||
metadata: | ||
name: kafka-prod | ||
namespace: demo | ||
spec: | ||
version: 3.6.1 | ||
configSecret: | ||
name: kf-topology-custom-config | ||
topology: | ||
broker: | ||
replicas: 2 | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard | ||
controller: | ||
replicas: 2 | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard | ||
storageType: Durable | ||
deletionPolicy: WipeOut |
8 changes: 8 additions & 0 deletions
8
docs/examples/kafka/reconfigure/new-kafka-combined-custom-config.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,8 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: new-kf-combined-custom-config | ||
namespace: demo | ||
stringData: | ||
server.properties: |- | ||
log.retention.hours=125 |
8 changes: 8 additions & 0 deletions
8
docs/examples/kafka/reconfigure/new-kafka-topology-custom-config.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,8 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: new-kf-topology-custom-config | ||
namespace: demo | ||
stringData: | ||
broker.properties: |- | ||
log.retention.hours=125 |
11 changes: 11 additions & 0 deletions
11
docs/examples/kafka/scaling/horizontal-scaling/kafka-hscale-down-combined.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: KafkaOpsRequest | ||
metadata: | ||
name: kfops-hscale-down-combined | ||
namespace: demo | ||
spec: | ||
type: HorizontalScaling | ||
databaseRef: | ||
name: kafka-dev | ||
horizontalScaling: | ||
node: 2 |
13 changes: 13 additions & 0 deletions
13
docs/examples/kafka/scaling/horizontal-scaling/kafka-hscale-down-topology.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: KafkaOpsRequest | ||
metadata: | ||
name: kfops-hscale-down-topology | ||
namespace: demo | ||
spec: | ||
type: HorizontalScaling | ||
databaseRef: | ||
name: kafka-prod | ||
horizontalScaling: | ||
topology: | ||
broker: 2 | ||
controller: 2 |
11 changes: 11 additions & 0 deletions
11
docs/examples/kafka/scaling/horizontal-scaling/kafka-hscale-up-combined.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: KafkaOpsRequest | ||
metadata: | ||
name: kfops-hscale-up-combined | ||
namespace: demo | ||
spec: | ||
type: HorizontalScaling | ||
databaseRef: | ||
name: kafka-dev | ||
horizontalScaling: | ||
node: 3 |
13 changes: 13 additions & 0 deletions
13
docs/examples/kafka/scaling/horizontal-scaling/kafka-hscale-up-topology.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: KafkaOpsRequest | ||
metadata: | ||
name: kfops-hscale-up-topology | ||
namespace: demo | ||
spec: | ||
type: HorizontalScaling | ||
databaseRef: | ||
name: kafka-prod | ||
horizontalScaling: | ||
topology: | ||
broker: 3 | ||
controller: 3 |
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/v1 | ||
kind: Kafka | ||
metadata: | ||
name: kafka-dev | ||
namespace: demo | ||
spec: | ||
replicas: 2 | ||
version: 3.6.1 | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard | ||
storageType: Durable | ||
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,28 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Kafka | ||
metadata: | ||
name: kafka-prod | ||
namespace: demo | ||
spec: | ||
version: 3.6.1 | ||
topology: | ||
broker: | ||
replicas: 2 | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard | ||
controller: | ||
replicas: 2 | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard | ||
storageType: Durable | ||
deletionPolicy: WipeOut |
20 changes: 20 additions & 0 deletions
20
docs/examples/kafka/scaling/vertical-scaling/kafka-vertical-scaling-combined.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,20 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: KafkaOpsRequest | ||
metadata: | ||
name: kfops-vscale-combined | ||
namespace: demo | ||
spec: | ||
type: VerticalScaling | ||
databaseRef: | ||
name: kafka-dev | ||
verticalScaling: | ||
node: | ||
resources: | ||
requests: | ||
memory: "1.2Gi" | ||
cpu: "0.6" | ||
limits: | ||
memory: "1.2Gi" | ||
cpu: "0.6" | ||
timeout: 5m | ||
apply: IfReady |
28 changes: 28 additions & 0 deletions
28
docs/examples/kafka/scaling/vertical-scaling/kafka-vertical-scaling-topology.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: ops.kubedb.com/v1alpha1 | ||
kind: KafkaOpsRequest | ||
metadata: | ||
name: kfops-vscale-topology | ||
namespace: demo | ||
spec: | ||
type: VerticalScaling | ||
databaseRef: | ||
name: kafka-prod | ||
verticalScaling: | ||
broker: | ||
resources: | ||
requests: | ||
memory: "1.2Gi" | ||
cpu: "0.6" | ||
limits: | ||
memory: "1.2Gi" | ||
cpu: "0.6" | ||
controller: | ||
resources: | ||
requests: | ||
memory: "1.1Gi" | ||
cpu: "0.6" | ||
limits: | ||
memory: "1.1Gi" | ||
cpu: "0.6" | ||
timeout: 5m | ||
apply: IfReady |
Oops, something went wrong.