In the command oc set env buildconfig/phpbuild BUILD_LOGLEVEL=4, what resource type is being configured?

Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

In the command oc set env buildconfig/phpbuild BUILD_LOGLEVEL=4, what resource type is being configured?

Explanation:
The operation targets a BuildConfig resource. In OpenShift CLI syntax, resources are identified as <resource>/<name>, where the part before the slash is the resource type. Here, buildconfig denotes the BuildConfig resource, and phpbuild is the specific BuildConfig being modified. So the environment variable BUILD_LOGLEVEL=4 is being set for that BuildConfig, which affects the parameters used when a build starts.

The operation targets a BuildConfig resource. In OpenShift CLI syntax, resources are identified as /, where the part before the slash is the resource type. Here, buildconfig denotes the BuildConfig resource, and phpbuild is the specific BuildConfig being modified. So the environment variable BUILD_LOGLEVEL=4 is being set for that BuildConfig, which affects the parameters used when a build starts.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy