Simply a way to represent data in different forms.
Templating comes in handy when you want the results of your operation displayed in your desired configuration and order. They can be specified in
transform fields for the
Topology object. The template can be configured In the next section, you'll see the different supported templates.
Canary Template Types
To specify the template to be used for representing your data, the following options are available:
- name: pod-metrics
- kind: PodMetrics
JSON.stringify() is used in the
display field to convert the value of
k8s.getPodMetrics(results) to a JSON string.