I have a deployment config on openshift 4, I want to lunch a number of pods via openshift API, can I lunch a new rollout of this deployment config via a curl API call, if yes how?
Here is a curl example:
curl -H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json"\
<API-Address>/apis/apps.openshift.io/v1/namespaces/<Namespace>/deploymentconfigs/<DeploymentConfig-Name>/instantiate \
-d '{"latest": true, "force": true, "name": "<DeploymentConfig-Name>"}'