// Disables dumping cluster log from master and nodes after all tests.
// Disables dumping cluster log from master and nodes after all tests.
DisableLogDumpbool
DisableLogDumpbool
// Path to the GCS artifacts directory to dump logs from nodes. Logexporter gets enabled if this is non-empty.
LogexporterGCSPathstring
// If the garbage collector is enabled in the kube-apiserver and kube-controller-manager.
// If the garbage collector is enabled in the kube-apiserver and kube-controller-manager.
GarbageCollectorEnabledbool
GarbageCollectorEnabledbool
// FeatureGates is a set of key=value pairs that describe feature gates for alpha/experimental features.
// FeatureGates is a set of key=value pairs that describe feature gates for alpha/experimental features.
...
@@ -174,6 +176,7 @@ func RegisterCommonFlags() {
...
@@ -174,6 +176,7 @@ func RegisterCommonFlags() {
flag.StringVar(&TestContext.OutputPrintType,"output-print-type","json","Format in which summaries should be printed: 'hr' for human readable, 'json' for JSON ones.")
flag.StringVar(&TestContext.OutputPrintType,"output-print-type","json","Format in which summaries should be printed: 'hr' for human readable, 'json' for JSON ones.")
flag.BoolVar(&TestContext.DumpLogsOnFailure,"dump-logs-on-failure",true,"If set to true test will dump data about the namespace in which test was running.")
flag.BoolVar(&TestContext.DumpLogsOnFailure,"dump-logs-on-failure",true,"If set to true test will dump data about the namespace in which test was running.")
flag.BoolVar(&TestContext.DisableLogDump,"disable-log-dump",false,"If set to true, logs from master and nodes won't be gathered after test run.")
flag.BoolVar(&TestContext.DisableLogDump,"disable-log-dump",false,"If set to true, logs from master and nodes won't be gathered after test run.")
flag.StringVar(&TestContext.LogexporterGCSPath,"logexporter-gcs-path","","Path to the GCS artifacts directory to dump logs from nodes. Logexporter gets enabled if this is non-empty.")
flag.BoolVar(&TestContext.DeleteNamespace,"delete-namespace",true,"If true tests will delete namespace after completion. It is only designed to make debugging easier, DO NOT turn it off by default.")
flag.BoolVar(&TestContext.DeleteNamespace,"delete-namespace",true,"If true tests will delete namespace after completion. It is only designed to make debugging easier, DO NOT turn it off by default.")
flag.BoolVar(&TestContext.DeleteNamespaceOnFailure,"delete-namespace-on-failure",true,"If true, framework will delete test namespace on failure. Used only during test debugging.")
flag.BoolVar(&TestContext.DeleteNamespaceOnFailure,"delete-namespace-on-failure",true,"If true, framework will delete test namespace on failure. Used only during test debugging.")
flag.IntVar(&TestContext.AllowedNotReadyNodes,"allowed-not-ready-nodes",0,"If non-zero, framework will allow for that many non-ready nodes when checking for all ready nodes.")
flag.IntVar(&TestContext.AllowedNotReadyNodes,"allowed-not-ready-nodes",0,"If non-zero, framework will allow for that many non-ready nodes when checking for all ready nodes.")