liejuntao001 / jenkins-k8sagent-lib Goto Github PK
View Code? Open in Web Editor NEWJenkins Shared Library to get dynamic agent from Kubernetes cloud
License: MIT License
Jenkins Shared Library to get dynamic agent from Kubernetes cloud
License: MIT License
Hello,
It will be very interesting to have a way to get the "pod template definition" from the repository which is going to be verified.
In my local, I am trying to check if it is possible, but the issue is that I can´t do a git checkout of a file without a workspace, that it must be provided by an agent.
So, maybe it will be not possible, ¿have you try to do this?
Thanks.
Hi,
Thank you for this repo, very interesting and I think its great.
Just a thought to add support for adding a volume mount would be great, say if wanted to add an option for a docker socket volume to be created and have that mounted on all or selected containers.
Thank you
Hello,
I am using you project to merge yamls and generate a dynamic kubernetes agent. I have an error in the generated agent when my yaml contains a command:
spec:
securityContext:
fsGroup: 1000
containers:
The generated json agent have the cammand in double:
{
"tty": true,
"securityContext": {
"allowPrivilegeEscalation": false,
"runAsUser": 1000
},
"name": "builder",
"image": "my_domain/fr/base/maven3.5.4-openjdk11-nodejs14.17.0:latest",
"volumeMounts": [
{
"mountPath": "/home/jenkins/repository",
"name": "repository-persistent-storage"
}
],
"command": [
"cat",
"cat"
],
"imagePullPolicy": "Always",
"resources": {
"requests": {
"cpu": "1000m",
"memory": "2Gi"
},
"limits": {
"cpu": "3000m",
"memory": "10Gi"
}
}
}
So my container can't start.
Can you help me to fix this problem please?
Thanks a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.