Skip to content

Add clarifications for k8s pull policies

Alexandr Tanayno requested to merge docs-k8s-pull-policies into main

What does this MR do?

When one uses pull_policy with Kubernetes executor without specifying the allowed_pull_policies in the config file, it will result in the error when trying to run CI/CD jobs:

Preparation failed: failed to pull image 'ubuntu:latest': pull_policy ([Always]) defined in GitLab pipeline config 
is not one of the allowed_pull_policies ([])

This MR adds this error to the troubleshooting sections and clarifies how to use pull policies with k8s executor.

Why was this MR needed?

What's the best way to test this MR?

What are the relevant issue numbers?

Edited by Alexandr Tanayno

Merge request reports