--file
JSON
/YAML
file containing Kubernetes objects. Use --file -
to enable input from stdin.--protocol
http
. [choices: http
, http2
, grpc
, tcp
].convert
command, create a k8s.yaml
file with the following content:
k8s.yaml
file into a Control Plane object and output it to the terminal.
Output
Deployment
or CronJob
, will be transformed into workloads. These workloads will feature containers whose port protocols are aligned with the specification provided in the --protocol
option.
Output
cpln convert --file k8s.yaml | cpln apply --file -