Exploring service parameters
Now, let's look at service parameters. Service parameters include the parameters that let you collect statistics about your data, as well as patch your pipeline's Kubernetes configuration.
enable_stats
The enable_stats
parameter, as its name suggests, enables pipeline statistics logging. By default, this parameter is disabled. For debugging purposes, it is recommended that you set this parameter to true
. Once you enable statistics collection, the statistics are saved in the stats
folder. You cannot disable statistics collection.
The following code shows how to define the enable_stats
parameter in YAML format:
enable_stats: true
The following code shows how to define the enable_stats
parameter in JSON format:
"enable_stats": true,
Next, we'll learn about pod_patch
.
pod_patch
The pod_patch
parameter enables you to rewrite any field in your pipeline Pods. This can be useful for many things, but one example...