Is it possible to deploy to GKE Autopilot cluster without YAML and just command line? I have inherited a project where deployment generates command line to deploy to CloudRun. I am in the process of migrating from CloudRun to GKE Autopilot and I would like to not need to parse or generate YAML files just for the purpose of deploying a service to GKE Autopilot. Is there a way to deploy with just command line like I can with CloudRun?
kubectl runto create a Pod in a similar way togcloud run deploybut the command deploys only Pods (and you may want to use Deployments|Services etc.). You can usekubectl createto create Deployments|Services etc. but this command supports fewer args (e.g. no--env). Just as with Cloud Run, you should consider creating YAML (or JSON) configs (or associated tools) to leverage the full power of the platform.