I have two projects in gitlab using the same gitlab-runner that I control. The first project is using kubernetes executor when running CI but the second gets "docker+machine". The .gitlab-ci.yml is nearly identical for both. Is there a way to force only the kubernetes executor?
How to force only kubernetes executor for gitlab-runner
487 Views Asked by katomaso At
1
There are 1 best solutions below
Related Questions in KUBERNETES
- Golang == Error: OCI runtime create failed: unable to start container process: exec: "./bin": stat ./bin: no such file or directory: unknown
- I can't create a pod in minikube on windows
- Oracle setting up on k8s cluster using helm charts enterprise edition
- Retrieve the Dockerfile configuration from the Kubernetes and also change container Java parameter?
- Summarize pods not running, by Namespace and Reason - I'm having trouble finding the reason
- How to get Java running parameters from Spring Boot running inside container in pod where no ps exist
- How do we configure prometheus server to scrape metrics from a pod with Istio sidecar proxy?
- In rke kube-proxy pod is not present
- problem with edge server registration in Eureka
- Unable to Access Kubernetes LoadBalancer Service from Local Device Outside Cluster
- Kubernetes cluster on GCE connection refused error
- Based on my experience, I've outlined the Kubernetes request flow. Could someone please add or highlight any points I might have overlooked?
- how to define StackGres helm chart "restapi" values to use internal LoadBalancer - AWS EKS
- Python3.11 can't open file [Errno 2] No such file or directory
- Cannot find remote pod service - SERVICE_UNAVAILABLE
Related Questions in GITLAB-CI
- Cannot connect to Postgres Database when running Quarkus Tests with Gitlab ci
- Invalid command 'bdist_msi' when trying to create MSI installer with 'cx_Freeze' in Gitlab CI/CD Pipeline
- There are no active runners online GitLab
- On Gitlab, is there a way to allow Maintaners to merge MRs even if some checks fail?
- Gitlab pipeline stuck with nx cloud issue
- Upgrade Gitlab-runner package in amazon Linux 2 and Ubuntu 22.04 through Ansible
- How to set variables across several Earthfiles with earthly for continuous integration
- How to run particular jobs in GitLab CI/CD via GitLab API?
- How to start from a clean stage after maven release job fails in GitLab pipeline?
- How to install docker-compose on CI runner environment where you're trying to build your Docker images
- avoid duplicated job in the gitlab-ci
- How to run RedPanda Kafka container in GitLab CI for tests?
- Can't figure out why the pipeline does not run
- Migrating .gitlab-ci.yml from Terraform to OpenTofu with OIDC Setup
- how to provide custom variables in gitlab api?
Related Questions in GITLAB-RUNNER
- gitlab-runner helm: Incorrect Usage: flag provided but not defined: -template-config
- Zabbix collecting prometheus encoded data from GitLab runner
- Cache location with gitlab-runner and docker executor on Windows?
- Gitlab runner error on local isntance The remote end hung up unexpectedly after reboot
- How to get Terraform providers on GitLab CI runners in an air-gapped environment
- How to speedup python venv caching in GitLab CI local runner?
- Use Docker Hub authenticated login for GitLab Runners to fix rate limiting issue
- gitlab runner unable to parse docker host
- Gitlab CI Runner fails to push image to container registry - unexpected HTTP status: 200 OK
- Gitlab-Runner | x509: certificate signed by unknown authority
- After providing domain name and ip address in extra hosts in my gitlab runner my pipeline failed
- Assign Gitlab Runner daemon's pod and the jobs's pods to two separate node groups in Kubernetes when using Kubernetes executor
- Kubernetes Service Account Token for GitLab Runner
- Unauthorize to run apply Kubernetes via gitLab-runner
- gitlab-runner: Segmentation Fault? How to solve this?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
As suggested by @rkosegi, compare tags in .gitlab-ci.yml, that's used to control runner allocation.
To set runner to run untagged jobs follow the following steps:
When you register a runner, its default behavior is to only pick tagged jobs.
To change this, you must have the Owner role for the project.
To make a runner pick untagged jobs:
Go to the project’s Settings > CI/CD and expand the Runners section.
Find the runner you want to pick untagged jobs and make sure it is enabled.
Select the pencil button.
Check the Run untagged jobs option.
Select Save changes for the changes to take effect.
The runner tags list can not be empty when it’s not allowed to pick untagged jobs.