@@ -26,6 +26,7 @@ import (
2626 "github.com/ava-labs/avalanchego/tests/fixture/tmpnet"
2727 "github.com/ava-labs/avalanchego/tests/fixture/tmpnet/flags"
2828 "github.com/ava-labs/avalanchego/utils/constants"
29+ "github.com/ava-labs/avalanchego/utils/logging"
2930
3031 appsv1 "k8s.io/api/apps/v1"
3132 corev1 "k8s.io/api/core/v1"
@@ -286,7 +287,17 @@ func newNodeStatefulSet(name string, flags tmpnet.FlagsMap) *appsv1.StatefulSet
286287}
287288
288289func defaultPodFlags () map [string ]string {
289- return tmpnet .DefaultPodFlags (constants .LocalName , nodeDataDir )
290+ tmpnetFlags := tmpnet .DefaultTmpnetFlags ()
291+ tmpnetFlags .SetDefaults (tmpnet.FlagsMap {
292+ config .DataDirKey : nodeDataDir ,
293+ config .NetworkNameKey : constants .LocalName ,
294+ config .SybilProtectionEnabledKey : "false" ,
295+ config .HealthCheckFreqKey : "500ms" , // Ensure rapid detection of a healthy state
296+ config .LogDisplayLevelKey : logging .Debug .String (),
297+ config .LogLevelKey : logging .Debug .String (),
298+ config .HTTPHostKey : "0.0.0.0" , // Need to bind to pod IP to ensure kubelet can access the http port for the readiness
299+ })
300+ return tmpnetFlags
290301}
291302
292303// waitForPodCondition waits until the specified pod reports the specified condition
0 commit comments