Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-1 votes
0 answers
30 views

Access kubectl commands within my jenkins container

I have a Jenkins container running in docker compose. Inside my jenkins container I want to access kubectl, so far this was part of my docker-compose.yaml - /usr/local/bin/kubectl:/usr/local/bin/...
Mariángel Pérez's user avatar
-1 votes
0 answers
71 views
+50

Jenkins on EKS, mount EFS in DIND

I am running Jenkins master and agents on K8S. Some of CI workloads require a docker image to be build and pushed to ECR. I installed Jenkins using its Helm chart and running the DIND agent as a ...
Doug's user avatar
  • 123
0 votes
1 answer
83 views

Super Odd Behavior Helm/Jenkins/Artifactory YAML

Using YAML (with Helm), we created the following file to define agent containers. This file, as it stands below, works correctly as does another file with a different set of agent definitions. ...
Jay Blanchard's user avatar
-1 votes
1 answer
33 views

pod terminating when container image is build on Mac M3 Pro chip

I am trying to add ssh to my dockerfile and locally the container runs fine. but on jenkins k8s cluster it fails to come up and exits. any hint? error Defaulted container "main" out of: main,...
AhmFM's user avatar
  • 1,744
0 votes
1 answer
27 views

Running jenkins slaves on a few data centers

Jenkins setup: Jenkins: 2.452.1 OS: Linux - 6.5.0-26-generic Java: 17.0.11 - Eclipse Adoptium (OpenJDK 64-Bit Server VM) --- ansicolor:1.0.4 antisamy-markup-formatter:162.v0e6ec0fcfcf6 apache-...
Kacper Woźniak's user avatar
0 votes
1 answer
25 views

Setup kaniko config.yml file

I am executing a Jenkins pipeline on a k8s based Jenkins server which has Kaniko pre-installed. I would like to build a docker image of my application on this Jenkins server and push my image to ...
Vishnukk's user avatar
  • 564
0 votes
1 answer
97 views

Connecting Jenkins (Docker) to Minikube Kubernetes Cluster Issue

I have Jenkins running inside a Docker container on my local machine, and I'm trying to connect it to a Minikube Kubernetes cluster also running locally. Both jenkins and minikube are using same ...
arvd's user avatar
  • 19
0 votes
1 answer
62 views

Jenkins Kubernetes Cloud Configuration

Recently I have been configuring a Jenkins to use a Kubernetes cloud to deploy pods like workers/slaves but I'm having problems to achieve this. I'm trying this scenario. But I configure this and ...
Andres Cabrera's user avatar
0 votes
1 answer
111 views

Jenkins pipeline issue when deploying to kubernetes

I am working on a pipeline to deploy a container image to kubernetes cluster on GCP. I get a very long error message without a lot of detail as to what the issue is. This is a small piece of message ...
user24738117's user avatar
1 vote
2 answers
71 views

String interpolation inside PodTemplate in Jenkinsfile

I am trying to add the value of image_tag and region inside podtemplate but its not working. Error failed to add image information to the policy rule context: invalid image 'aws-cli:${image_version}' (...
user16133873's user avatar
0 votes
0 answers
36 views

How to Evaluate Environment Variables from a POD_YAML File in Jenkins Pipeline using Kubernetes Agent

In the Jenkinsfile, I'm using a Kubernetes agent along with the yamlFile directive to define pods. Below is the Jenkinsfile configuration: pipeline { agent { kubernetes { yamlFile 'pod....
Assia Khateeb's user avatar
0 votes
0 answers
40 views

After installing Jenkins on a Kubernetes cluster, I encountered an error when building Docker images: 'docker: not found.' Can you help me with this [duplicate]

I have created a Kubernetes cluster with one master node and two worker nodes, and deployed Jenkins on top of it. Now, I'm trying to configure a deployment pipeline in Jenkins that connects to the ...
user24348330's user avatar
0 votes
1 answer
81 views

After creating jenkins in aks cluster I cannot able to access to the external IP address

I have created AKS cluster and i have installed all required things into it and created jenkins in that aks cluster, After creaking jenkins i have got external IP adress and my pods was running ...
Mahananda Reddy's user avatar
0 votes
0 answers
101 views

Use kubernetes secrets as jenkins credentials without a respin

I'm looking for a way to use kubernetes secrets in my jenkins helm release and be able to update/add credentials without having to respin the instance. Currently it works when using plain text and can ...
Grant Phillips's user avatar
1 vote
1 answer
120 views

Jenkins on K8S - Kubernetes secrets as build step env vars

After too much searching, I'm still not sure how we can use K8S secrets as env vars in our declarative Jenkins pipelines. We've tried a few different approaches, including the following. The build ...
JonathanC's user avatar

15 30 50 per page
1
2 3 4 5
65