RedHat Red Hat Certified OpenShift Administrator EX280 Exam Questions

Page: 1 / 14
Total 33 questions
Question 1

SIMULATION

Task 12

Deploy Application in the Project QED

Task information Details:

Set the service account for the specified deployment in project qed to project1-sa.



Answer : A

Solution:

Ensure you are in the correct project:

oc project qed

Set the service account on the deployment:

oc set serviceaccount deployment/gitlab-skdjfklj project1-sa

Verify:

oc get deployment gitlab-skdjfklj -o yaml | grep serviceAccount

oc describe deployment gitlab-skdjfklj

If required, restart rollout:

oc rollout restart deployment/gitlab-skdjfklj

This task checks workload identity assignment through service accounts.


Page:    1 / 14   
Total 33 questions