Option 'a' and 'b' are incorrect because they contain typos or incorrect syntax. The correct command uses kubectl get rollout history` to fetch the history of a deployment.
To fetch a list of rollout history logs for a specific deployment in your company's namespace using Kubernetes, you can use the `kubectl rollout history` command. The correct option is:
c. `kubectl get rollout history deployment/data-n -n hacker-company`
Here's a step-wise answer to achieve this:
1. Open a terminal or command prompt.
2. Use the `kubectl` command to fetch the rollout history for a specific deployment in your company's namespace. Replace `data-n` with the name of your deployment, and `-n hacker-company` with the namespace where the deployment is located:
Code:
kubectl get rollout history deployment/data-n -n hacker-company
3. After running this command, you will see a list of rollout history revisions for the specified deployment in the `hacker-company` namespace.