diff --git a/charts/dev/templates/service.yaml b/charts/dev/templates/service.yaml index 656e5ca..9dff46c 100644 --- a/charts/dev/templates/service.yaml +++ b/charts/dev/templates/service.yaml @@ -21,5 +21,6 @@ spec: targetPort: http protocol: TCP name: http + nodePort: 30171 selector: {{- include "dev.selectorLabels" . | nindent 4 }} diff --git a/charts/dev/values.yaml b/charts/dev/values.yaml index 1628339..ee2c343 100644 --- a/charts/dev/values.yaml +++ b/charts/dev/values.yaml @@ -38,7 +38,7 @@ securityContext: # runAsUser: 1000 service: - type: ClusterIP + type: NodePort port: 8080 ingress: diff --git a/kind/config.yaml b/kind/config.yaml index 1838eff..83679aa 100644 --- a/kind/config.yaml +++ b/kind/config.yaml @@ -17,4 +17,6 @@ nodes: hostPort: 27017 - containerPort: 31699 hostPort: 9092 + - containerPort: 30171 + hostPort: 8080 image: kindest/node:v1.27.1@sha256:b7d12ed662b873bd8510879c1846e87c7e676a79fefc93e17b2a52989d3ff42b \ No newline at end of file diff --git a/minikube/kuma/cp.yaml b/minikube/kuma/cp.yaml index b7c8bb7..b64c7d4 100644 --- a/minikube/kuma/cp.yaml +++ b/minikube/kuma/cp.yaml @@ -1,6 +1,6 @@ ### To enable Egress -# egress: -# enabled: true +egress: + enabled: true controlPlane: mode: zone ## To setup control plane as global zone: zone-1 ## To setup control plane as zone @@ -9,4 +9,4 @@ controlPlane: kdsZoneClient: skipVerify: true ingress: - enabled: true + enabled: true \ No newline at end of file diff --git a/minikube/kuma/global.yaml b/minikube/kuma/global.yaml index d51c5be..0432531 100644 --- a/minikube/kuma/global.yaml +++ b/minikube/kuma/global.yaml @@ -3,8 +3,10 @@ # enabled: true controlPlane: mode: global ## To setup control plane as global + service: + type: LoadBalancer ingress: - enabled: true + enabled: false ingressClassName: dev-nginx hostname: kuma.example.com annotations: @@ -21,4 +23,4 @@ controlPlane: nginx.ingress.kubernetes.io/backend-protocol: "HTTP" path: / globalZoneSyncService: - type: ClusterIP \ No newline at end of file + type: LoadBalancer \ No newline at end of file diff --git a/minikube/metallb/ipaddresspool.yaml b/minikube/metallb/ipaddresspool.yaml index 677e64b..6c61fa6 100644 --- a/minikube/metallb/ipaddresspool.yaml +++ b/minikube/metallb/ipaddresspool.yaml @@ -5,7 +5,7 @@ metadata: namespace: metallb-system spec: addresses: - - 172.18.0.3-172.18.0.10 + - 172.18.0.0/16 --- apiVersion: metallb.io/v1beta1 kind: L2Advertisement