add kafka
This commit is contained in:
parent
7b42aa85bc
commit
9ab0a79312
@ -78,3 +78,10 @@ patches:
|
|||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
name: rabbitmq
|
name: rabbitmq
|
||||||
namespace: rabbitmq
|
namespace: rabbitmq
|
||||||
|
- path: ./patches/kafka.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: kafka
|
||||||
|
namespace: kafka
|
||||||
|
|||||||
16
clusters/yc-k8s-test/infrastructure/patches/kafka.yaml
Normal file
16
clusters/yc-k8s-test/infrastructure/patches/kafka.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: kafka
|
||||||
|
namespace: kafka
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
|
values:
|
||||||
|
global:
|
||||||
|
defaultStorageClass: local-path
|
||||||
|
controller:
|
||||||
|
replicaCount: 1
|
||||||
|
persistence:
|
||||||
|
size: 8Gi
|
||||||
|
storageClass: local-path
|
||||||
22
infrastructure/kafka/base/helmrelease.yaml
Normal file
22
infrastructure/kafka/base/helmrelease.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: kafka
|
||||||
|
namespace: kafka
|
||||||
|
spec:
|
||||||
|
interval: 10m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: kafka-contour
|
||||||
|
version: "0.1.1"
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: yc-oci-charts
|
||||||
|
namespace: flux-system
|
||||||
|
interval: 10m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
upgrade:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
6
infrastructure/kafka/base/kustomization.yaml
Normal file
6
infrastructure/kafka/base/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: kafka
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- helmrelease.yaml
|
||||||
4
infrastructure/kafka/base/namespace.yaml
Normal file
4
infrastructure/kafka/base/namespace.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: kafka
|
||||||
4
infrastructure/kafka/kustomization.yaml
Normal file
4
infrastructure/kafka/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./base
|
||||||
@ -4,6 +4,7 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- cert-manager
|
- cert-manager
|
||||||
- dashboard
|
- dashboard
|
||||||
|
- kafka
|
||||||
- local-path-provisioner
|
- local-path-provisioner
|
||||||
- minio
|
- minio
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user