-
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 volume expansion, reconfigure tls etc
Signed-off-by: obaydullahmhs <[email protected]>
- Loading branch information
1 parent
c2e28f3
commit 294be21
Showing
28 changed files
with
2,638 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: KafkaOpsRequest | ||
metadata: | ||
name: kfops-add-tls | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: kafka-prod | ||
tls: | ||
issuerRef: | ||
name: kf-issuer | ||
kind: Issuer | ||
apiGroup: "cert-manager.io" | ||
certificates: | ||
- alias: client | ||
subject: | ||
organizations: | ||
- kafka | ||
organizationalUnits: | ||
- client | ||
timeout: 5m | ||
apply: IfReady |
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: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: kf-issuer | ||
namespace: demo | ||
spec: | ||
ca: | ||
secretName: kafka-ca |
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: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: kf-new-issuer | ||
namespace: demo | ||
spec: | ||
ca: | ||
secretName: kafka-new-ca |
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-remove | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: kafka-prod | ||
tls: | ||
remove: true |
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-rotate | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: kafka-prod | ||
tls: | ||
rotateCertificates: true |
14 changes: 14 additions & 0 deletions
14
docs/examples/kafka/reconfigure-tls/kafka-update-tls-issuer.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-update-issuer | ||
namespace: demo | ||
spec: | ||
type: ReconfigureTLS | ||
databaseRef: | ||
name: kafka-prod | ||
tls: | ||
issuerRef: | ||
name: kf-new-issuer | ||
kind: Issuer | ||
apiGroup: "cert-manager.io" |
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 |
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,44 @@ | ||
apiVersion: kubedb.com/v1 | ||
kind: Kafka | ||
metadata: | ||
name: kafka-prod | ||
namespace: demo | ||
spec: | ||
version: 3.5.2 | ||
topology: | ||
broker: | ||
replicas: 2 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: kafka | ||
resources: | ||
requests: | ||
cpu: "500m" | ||
memory: "1Gi" | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard | ||
controller: | ||
replicas: 2 | ||
podTemplate: | ||
spec: | ||
containers: | ||
- name: kafka | ||
resources: | ||
requests: | ||
cpu: "500m" | ||
memory: "1Gi" | ||
storage: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
storageClassName: standard | ||
storageType: Durable | ||
deletionPolicy: WipeOut |
13 changes: 13 additions & 0 deletions
13
docs/examples/kafka/update-version/update-version-ops.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: kafka-update-version | ||
namespace: demo | ||
spec: | ||
type: UpdateVersion | ||
databaseRef: | ||
name: kafka-prod | ||
updateVersion: | ||
targetVersion: 3.6.1 | ||
timeout: 5m | ||
apply: IfReady |
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 |
12 changes: 12 additions & 0 deletions
12
docs/examples/kafka/volume-expansion/kafka-volume-expansion-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,12 @@ | ||
apiVersion: ops.kubedb.com/v1alpha1 | ||
kind: KafkaOpsRequest | ||
metadata: | ||
name: kf-volume-exp-combined | ||
namespace: demo | ||
spec: | ||
type: VolumeExpansion | ||
databaseRef: | ||
name: kafka-dev | ||
volumeExpansion: | ||
node: 2Gi | ||
mode: Online |
13 changes: 13 additions & 0 deletions
13
docs/examples/kafka/volume-expansion/kafka-volume-expansion-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: kf-volume-exp-topology | ||
namespace: demo | ||
spec: | ||
type: VolumeExpansion | ||
databaseRef: | ||
name: kafka-prod | ||
volumeExpansion: | ||
broker: 3Gi | ||
controller: 2Gi | ||
mode: Online |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: Reconfigure TLS/SSL | ||
menu: | ||
docs_{{ .version }}: | ||
identifier: kf-reconfigure-tls | ||
name: Reconfigure TLS/SSL | ||
parent: kaf-kafka-guides | ||
weight: 46 | ||
menu_name: docs_{{ .version }} | ||
--- |
Oops, something went wrong.