Skip to content

Commit

Permalink
Install gloabl zone
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjith-ka committed Feb 15, 2024
1 parent 001fcb7 commit f937365
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
14 changes: 9 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,6 @@ clean-crossplane:
@helm delete crossplane --namespace crossplane-system
@kubectl delete namespace crossplane-system

kuma:
@helm repo add kuma https://kumahq.github.io/charts
@helm install --create-namespace --namespace kuma-system kuma -f minikube/kuma/values.yaml kuma/kuma

vault:
@helm repo add banzaicloud-stable https://kubernetes-charts.banzaicloud.com
@kubectl create namespace vault-infra && kubectl label namespace vault-infra name=vault-infra
Expand Down Expand Up @@ -215,4 +211,12 @@ kafka:

kafka-ui:
@helm repo add kafka-ui https://provectus.github.io/kafka-ui-charts
@helm install kafka-ui -f minikube/kafka/kafka-ui.yaml kafka-ui/kafka-ui
@helm install kafka-ui -f minikube/kafka/kafka-ui.yaml kafka-ui/kafka-ui

kuma-global:
@helm repo add kuma https://kumahq.github.io/charts
@helm install --create-namespace --namespace kuma-system kuma-global -f minikube/kuma/global.yaml kuma/kuma

kuma-cp:
@helm repo add kuma https://kumahq.github.io/charts
@helm install --namespace kuma-system kuma-cp -f minikube/kuma/cp.yaml kuma/kuma
12 changes: 12 additions & 0 deletions minikube/kuma/cp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### To enable Egress
# egress:
# enabled: true
controlPlane:
mode: zone ## To setup control plane as global
zone: zone-1 ## To setup control plane as zone
kdsGlobalAddress: grpcs://kuma-global-zone-sync:5685
tls:
kdsZoneClient:
skipVerify: true
ingress:
enabled: true
4 changes: 3 additions & 1 deletion minikube/kuma/values.yaml → minikube/kuma/global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ controlPlane:
nginx.ingress.kubernetes.io/proxy-http-version: "1.1"
nginx.ingress.kubernetes.io/force-ssl-redirect: "false"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
path: /
path: /
globalZoneSyncService:
type: ClusterIP

0 comments on commit f937365

Please sign in to comment.