Skip to content

Commit 60f68d3

Browse files
committed
feat: kubernetes tuning for micronaut and kafka
1 parent 7aa3d66 commit 60f68d3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

scripts/helm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ full-stack:
4040
port: 8080
4141
tier:
4242
livenessPath: /healthz
43+
livenessInitialDelay: 3
4344
# Security
4445
runAsUser:
4546
fsGroup:
@@ -141,6 +142,7 @@ full-stack:
141142
path: /api
142143
tier: backend
143144
memoryRequest: 50Mi
145+
livenessInitialDelay: 120
144146
db:
145147
instance: ${taito_zone}:${taito_provider_region}:${db_database_instance}
146148
port: 5432

scripts/taito-template/init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function prune () {
133133
echo "Use external Kafka cluster (Y/n)?"
134134
read -r confirm
135135
if [[ ${confirm} =~ ^[Yy]*$ ]]; then
136-
sed -i "s/KAFKA_HOST:.*$/KAFKA_HOST: TODO/g" ./scripts/helm.yaml
136+
sed -i "s/KAFKA_HOST:.*$/KAFKA_HOST: kafka.kafka.svc.cluster.local/g" ./scripts/helm.yaml
137137
sed -i "/^ $name:\$/,/^$/d" ./scripts/helm.yaml
138138
sed -i "/^ zookeeper:\$/,/^$/d" ./scripts/helm.yaml
139139
fi

0 commit comments

Comments
 (0)