@@ -433,6 +433,10 @@ def deploy_observability():
433
433
k8s_yaml (read_file ("./.tiltbuild/yaml/kube-state-metrics.observability.yaml" ), allow_duplicates = True )
434
434
k8s_resource (workload = "kube-state-metrics" , new_name = "kube-state-metrics" , extra_pod_selectors = [{"app" : "kube-state-metrics" }], labels = ["observability" ], objects = ["kube-state-metrics:serviceaccount" ])
435
435
436
+ if "parca" in settings .get ("deploy_observability" , []):
437
+ k8s_yaml (read_file ("./.tiltbuild/yaml/parca.observability.yaml" ), allow_duplicates = True )
438
+ k8s_resource (workload = "parca" , new_name = "parca" , port_forwards = "7070" , extra_pod_selectors = [{"app" : "parca" }], labels = ["observability" ], objects = ["parca:serviceaccount" ])
439
+
436
440
if "visualizer" in settings .get ("deploy_observability" , []):
437
441
k8s_yaml (read_file ("./.tiltbuild/yaml/visualizer.observability.yaml" ), allow_duplicates = True )
438
442
k8s_resource (
@@ -461,7 +465,7 @@ def cluster_templates():
461
465
substitutions ["NAMESPACE" ] = substitutions .get ("NAMESPACE" , "default" )
462
466
substitutions ["KUBERNETES_VERSION" ] = substitutions .get ("KUBERNETES_VERSION" , kubernetes_version )
463
467
substitutions ["CONTROL_PLANE_MACHINE_COUNT" ] = substitutions .get ("CONTROL_PLANE_MACHINE_COUNT" , "1" )
464
- substitutions ["WORKER_MACHINE_COUNT" ] = substitutions .get ("WORKER_MACHINE_COUNT" , "3 " )
468
+ substitutions ["WORKER_MACHINE_COUNT" ] = substitutions .get ("WORKER_MACHINE_COUNT" , "1 " )
465
469
466
470
template_dirs = settings .get ("template_dirs" , {
467
471
"docker" : ["./test/infrastructure/docker/templates" ],
0 commit comments