@@ -130,8 +130,6 @@ resource "kubernetes_config_map" "aoc_config_map" {
130130
131131 data = {
132132 " aoc-config.yml" = module.basic_components.0 .otconfig_content
133- " client.qps" = " 100"
134- " client.burst" = " 400"
135133 }
136134 depends_on = [kubernetes_service_account . sample-app-sa ]
137135}
@@ -144,10 +142,9 @@ resource "kubernetes_config_map" "mocked_server_cert" {
144142 name = " mocked-server-cert"
145143 namespace = var. deployment_type == " fargate" ? kubernetes_namespace. aoc_fargate_ns . metadata [0 ]. name : kubernetes_namespace. aoc_ns . metadata [0 ]. name
146144 }
145+
147146 data = {
148147 " ca-bundle.crt" = module.basic_components.0 .mocked_server_cert_content
149- " client.qps" = " 100"
150- " client.burst" = " 400"
151148 }
152149}
153150
@@ -216,8 +213,8 @@ resource "kubernetes_deployment" "aoc_deployment" {
216213 path = " /"
217214 port = 8080
218215 }
219- initial_delay_seconds = 60
220- period_seconds = 30
216+ initial_delay_seconds = 10
217+ period_seconds = 5
221218 }
222219 }
223220
@@ -230,7 +227,7 @@ resource "kubernetes_deployment" "aoc_deployment" {
230227
231228 resources {
232229 limits = {
233- cpu = " 200m "
230+ cpu = " 100m "
234231 memory = " 256Mi"
235232 }
236233 }
@@ -257,10 +254,6 @@ resource "kubernetes_service" "mocked_server_service" {
257254 metadata {
258255 name = " mocked-server"
259256 namespace = var. deployment_type == " fargate" ? kubernetes_namespace. aoc_fargate_ns . metadata [0 ]. name : kubernetes_namespace. aoc_ns . metadata [0 ]. name
260- annotations = {
261- " qps.authentication.k8s.io" = " 100"
262- " burst.authentication.k8s.io" = " 400"
263- }
264257 }
265258 spec {
266259 selector = {
@@ -272,9 +265,6 @@ resource "kubernetes_service" "mocked_server_service" {
272265 target_port = 8080
273266 }
274267 }
275- timeouts {
276- create = " 20m"
277- }
278268}
279269
280270resource "kubectl_manifest" "aoc_deployment_adot_operator" {
@@ -321,10 +311,6 @@ resource "kubernetes_service" "sample_app_service" {
321311 metadata {
322312 name = " sample-app"
323313 namespace = var. deployment_type == " fargate" ? kubernetes_namespace. aoc_fargate_ns . metadata [0 ]. name : kubernetes_namespace. aoc_ns . metadata [0 ]. name
324- annotations = {
325- " qps.authentication.k8s.io" = " 100"
326- " burst.authentication.k8s.io" = " 400"
327- }
328314 }
329315 spec {
330316 selector = {
@@ -338,9 +324,6 @@ resource "kubernetes_service" "sample_app_service" {
338324 target_port = module. common . sample_app_listen_address_port
339325 }
340326 }
341- timeouts {
342- create = " 20m"
343- }
344327}
345328
346329resource "kubernetes_ingress" "app" {
0 commit comments