DevOps/cloud jobs outsourced to India?
Does anyone have statistics about DevOps, cloud engineer jobs being outsourced to India or other countries?
In my mind, since it is cloud which is accessible everywhere, it is like software development, it can be easily outsourced.
Appreciate any insight.
https://redd.it/o7yp7g
@r_devops
Does anyone have statistics about DevOps, cloud engineer jobs being outsourced to India or other countries?
In my mind, since it is cloud which is accessible everywhere, it is like software development, it can be easily outsourced.
Appreciate any insight.
https://redd.it/o7yp7g
@r_devops
reddit
DevOps/cloud jobs outsourced to India?
Does anyone have statistics about DevOps, cloud engineer jobs being outsourced to India or other countries? In my mind, since it is cloud which...
Using Ansible and Python in ESXi
Hey guys,
I am trying to do some playbooks with ansible to create and manage some VMs in ESXi but i am having some troubles.
First i check the connection and everything is working, i can even send bash commands with ansible.
I made a playbook that creates a VM but everytime i try to create i have `requests` error saying that i dont have `requests` installed in ESXi. So i tried to install requests but i dont have `pip` or `apt` and i cant even install setuptools with `python setup.py install`.
​
Are there any ways i can make this work? I think i need to install pip in ESXi but i dont know any other way i can do this
​
​
Here is my playbook
​
```yaml
\---
\- hosts: esxi
tasks:
\- name: Create VM based on Template
vmware_guest:
hostname: ""
username: ""
password: ""
validate_certs: False
name: TESTE
template: AWX-Template
datacenter: "Lab"
folder: /vmfs/volumes/HDD_2
state: poweredon
networks:
\- name: VM Network
type: static
start_connected: true
ip: 10.0.0.2
netmask: 255.255.255.0
gateway: 10.0.0.1
customization:
domain: lab.local
dns_servers:
\- 8.8.8.8
\- 8.8.4.4
wait_for_ip_address: yes
wait_for_customization: yes
​
​
```
https://redd.it/o7yo1n
@r_devops
Hey guys,
I am trying to do some playbooks with ansible to create and manage some VMs in ESXi but i am having some troubles.
First i check the connection and everything is working, i can even send bash commands with ansible.
I made a playbook that creates a VM but everytime i try to create i have `requests` error saying that i dont have `requests` installed in ESXi. So i tried to install requests but i dont have `pip` or `apt` and i cant even install setuptools with `python setup.py install`.
​
Are there any ways i can make this work? I think i need to install pip in ESXi but i dont know any other way i can do this
​
​
Here is my playbook
​
```yaml
\---
\- hosts: esxi
tasks:
\- name: Create VM based on Template
vmware_guest:
hostname: ""
username: ""
password: ""
validate_certs: False
name: TESTE
template: AWX-Template
datacenter: "Lab"
folder: /vmfs/volumes/HDD_2
state: poweredon
networks:
\- name: VM Network
type: static
start_connected: true
ip: 10.0.0.2
netmask: 255.255.255.0
gateway: 10.0.0.1
customization:
domain: lab.local
dns_servers:
\- 8.8.8.8
\- 8.8.4.4
wait_for_ip_address: yes
wait_for_customization: yes
​
​
```
https://redd.it/o7yo1n
@r_devops
reddit
Using Ansible and Python in ESXi
Hey guys, I am trying to do some playbooks with ansible to create and manage some VMs in ESXi but i am having some troubles. First i check the...
Being SRE in the USA
Any SREs in the USA on here? I am based in the UK and I have been wondering about salary ranges depending on experience in the USA. I guess it depends on location as well. Thanks
https://redd.it/o7m92i
@r_devops
Any SREs in the USA on here? I am based in the UK and I have been wondering about salary ranges depending on experience in the USA. I guess it depends on location as well. Thanks
https://redd.it/o7m92i
@r_devops
reddit
Being SRE in the USA
Any SREs in the USA on here? I am based in the UK and I have been wondering about salary ranges depending on experience in the USA. I guess it...
Sharing our Traefik runbook
Hey /r/devops!
At https://mediamachine.io we use traefik as a reverse proxy and we wrote an article about how we configured it to help us handle our incoming requests.
You can find the article here: https://mediamachine.io/blog/mediamachine-runbook-for-traefik .
Please take a look at it, and let me know if it's useful for you, or if you think we should write more about how we're using it.
Thanks!
https://redd.it/o7ezxp
@r_devops
Hey /r/devops!
At https://mediamachine.io we use traefik as a reverse proxy and we wrote an article about how we configured it to help us handle our incoming requests.
You can find the article here: https://mediamachine.io/blog/mediamachine-runbook-for-traefik .
Please take a look at it, and let me know if it's useful for you, or if you think we should write more about how we're using it.
Thanks!
https://redd.it/o7ezxp
@r_devops
mediamachine.io
MediaMachine | MediaMachine
Intelligent video thumbnails, summaries and transcode
4 years of devops background without know how to program
Yep, exactly what the title says. I have 4 years of experience in DevOps without knowing how to program, I can read code (Groovy and Python) but I'm not able to develop complex Jenkins libraries and automation with Python.
My background is more on the infrastructure side. I have 3 AWS certifications and another one from Red Hat...I can write simple bash scripts and also simple Jenkins Pipelines. Also I can write Docker and task-definitions for ECS, Terraform and Linux.
Recently I joined a new company where the core of the DevOps pipeline is a Jenkins Shared Library and since I can understand a bit of what it does I'm pretty sure I won't be able to maintain it and I'm a bit scared of don't know how to approach that. Any recommendation? (Courses, Tips, Tutorials)
Btw sorry for any bad written word, english is not my native language.
https://redd.it/o7dw1u
@r_devops
Yep, exactly what the title says. I have 4 years of experience in DevOps without knowing how to program, I can read code (Groovy and Python) but I'm not able to develop complex Jenkins libraries and automation with Python.
My background is more on the infrastructure side. I have 3 AWS certifications and another one from Red Hat...I can write simple bash scripts and also simple Jenkins Pipelines. Also I can write Docker and task-definitions for ECS, Terraform and Linux.
Recently I joined a new company where the core of the DevOps pipeline is a Jenkins Shared Library and since I can understand a bit of what it does I'm pretty sure I won't be able to maintain it and I'm a bit scared of don't know how to approach that. Any recommendation? (Courses, Tips, Tutorials)
Btw sorry for any bad written word, english is not my native language.
https://redd.it/o7dw1u
@r_devops
reddit
r/devops - 4 years of devops background without know how to program
1 vote and 0 comments so far on Reddit
This is udemy DevOps class good?
Have you taken this class? Basing on reviews, it seems a good class. I am new to and want to expand on Ansible, Kubernetes and AWS. Would this be a quick good hands-on, intro class, to get more into DevOps?
Thanks.
# DevOps Project: CI/CD with Jenkins Ansible Docker Kubernetes
https://www.udemy.com/course/valaxy-devops/
#
https://redd.it/o83mxq
@r_devops
Have you taken this class? Basing on reviews, it seems a good class. I am new to and want to expand on Ansible, Kubernetes and AWS. Would this be a quick good hands-on, intro class, to get more into DevOps?
Thanks.
# DevOps Project: CI/CD with Jenkins Ansible Docker Kubernetes
https://www.udemy.com/course/valaxy-devops/
#
https://redd.it/o83mxq
@r_devops
Udemy
DevOps Project 1 - CI/CD with Git Jenkins Ansible Kubernetes
100% Hands-on labs on how to create DevOps CI/CD pipelines using Git, Jenkins, Ansible, Docker and Kubernetes on AWS
Help with selection process (logic test + personal presentation).
I have applied to the selection process of this company (bank) for hiring software developers. The first part consists in a logic test and personal presentation.
I accept help with materials to practice the logic part. Reports from people who have already participated of similar processes are welcome, since I have no idea of what is waiting for me. And any contributions that you deem constructive for an interview will be very useful, too. Thank you.
https://redd.it/o83444
@r_devops
I have applied to the selection process of this company (bank) for hiring software developers. The first part consists in a logic test and personal presentation.
I accept help with materials to practice the logic part. Reports from people who have already participated of similar processes are welcome, since I have no idea of what is waiting for me. And any contributions that you deem constructive for an interview will be very useful, too. Thank you.
https://redd.it/o83444
@r_devops
reddit
Help with selection process (logic test + personal presentation).
I have applied to the selection process of this company (bank) for hiring software developers. The first part consists in a logic test and...
Open Question: Terraform Scaling Challenges
Have you or are you in the process of expanding the set of people that are managing Terraform at your company? From trusted experts to dozens or hundreds of committers, what is your experience.
What challenges are you running into? How are you keeping reliability from suffering as you make this transition?
https://redd.it/o7ag2e
@r_devops
Have you or are you in the process of expanding the set of people that are managing Terraform at your company? From trusted experts to dozens or hundreds of committers, what is your experience.
What challenges are you running into? How are you keeping reliability from suffering as you make this transition?
https://redd.it/o7ag2e
@r_devops
reddit
Open Question: Terraform Scaling Challenges
Have you or are you in the process of expanding the set of people that are managing Terraform at your company? From trusted experts to dozens or...
Vault Setup recommendation
Hi I am trying to install Hashicorp vault as docker. I have very basic questions.Thanks in advance for taking time to answer these.
Is it necessary to provide sudoer privilege to Vault. [or run as root on the host\]
Since I am having ( unable to set CAP_SETFCAP effective capability: Operation not permitted, Error initializing storage of type raft: failed to create fsm etc) errors.
Thank you again.
https://redd.it/o72zp1
@r_devops
Hi I am trying to install Hashicorp vault as docker. I have very basic questions.Thanks in advance for taking time to answer these.
Is it necessary to provide sudoer privilege to Vault. [or run as root on the host\]
Since I am having ( unable to set CAP_SETFCAP effective capability: Operation not permitted, Error initializing storage of type raft: failed to create fsm etc) errors.
Thank you again.
https://redd.it/o72zp1
@r_devops
reddit
Vault Setup recommendation
Hi I am trying to install Hashicorp vault as docker. I have very basic questions.Thanks in advance for taking time to answer these. Is it...
From .NET Developer to DevOps - Recipe Please...
**Facts**
* 20 years as a .NET developer with everything that goes with it (C#, SQL Server, blah, blah, blah...)
* Currently working for Navy
* Hold Secret Clearance and Security+ Certificate
I want to break into DevOps. Because if my DoD employment should I go for AWS DevOps or Azure DevOps? I'm currently working in AWS as a dev and someone told me to get the Azure DevOps cert.
Confused. Need guidance.
https://redd.it/o71mfm
@r_devops
**Facts**
* 20 years as a .NET developer with everything that goes with it (C#, SQL Server, blah, blah, blah...)
* Currently working for Navy
* Hold Secret Clearance and Security+ Certificate
I want to break into DevOps. Because if my DoD employment should I go for AWS DevOps or Azure DevOps? I'm currently working in AWS as a dev and someone told me to get the Azure DevOps cert.
Confused. Need guidance.
https://redd.it/o71mfm
@r_devops
reddit
From .NET Developer to DevOps - Recipe Please...
**Facts** * 20 years as a .NET developer with everything that goes with it (C#, SQL Server, blah, blah, blah...) * Currently working for Navy *...
I don't understand how to deploy into a local apache server with Gitlab CI/CD.
A heads up : It's my very first time trying to write a pipeline by myself. I've read docs, had courses, etc. but going into practice is very different than reading or listening to some guy doing it. Besides I only learn by doing.
For real. I really don't get it.
[https://docs.gitlab.com/ee/ci/environments/](https://docs.gitlab.com/ee/ci/environments/)
The documentation does not help. It just shows how to upload to an... url ? What ? I really don't understand.
Basically, what I'd like to do, is to build my angular code, then upload it to a local server of mine, in a specific folder. Doesn't sound that much complex on paper, but it seems it is with Gitlab's CI/CD...
I run a Debian server. Using Apache web server. The website is already hosted (via code I manually dumped) and the full configuration of it is done.
I saw some people suggesting SSH, and while this sound the most logical choice to run my commands, I can't help but be a bit confused : my Gitlab runner runs docker, not ssh. Does that mean I need to change my runner's type into SSH ? Or I can connect into ssh using that docker executor ?
Also, that means I would need to extract my previously built artifact. But If I use a different image than my build job, won't that make it impossible to access the artifacts ? (Basically I see each stage as it's own service without any way to communicate to each other, or at least that's how I understand it)
My pipeline looks like this so far I used a template to help :
stages:
- build
- deploy
build-job:
image: node:latest
stage: build
script:
- npm install
- npm run build
cache:
paths:
- node_modules/
artifacts:
paths:
- dist/
deploy-job: #What I should do here ?
stage: deploy
script:
- echo "Application successfully deployed."
The build process runs without a fail... does not look super complex tho.
So hum, what I'm supposed to do here ?
Thanks for the explanations.
https://redd.it/o87rey
@r_devops
A heads up : It's my very first time trying to write a pipeline by myself. I've read docs, had courses, etc. but going into practice is very different than reading or listening to some guy doing it. Besides I only learn by doing.
For real. I really don't get it.
[https://docs.gitlab.com/ee/ci/environments/](https://docs.gitlab.com/ee/ci/environments/)
The documentation does not help. It just shows how to upload to an... url ? What ? I really don't understand.
Basically, what I'd like to do, is to build my angular code, then upload it to a local server of mine, in a specific folder. Doesn't sound that much complex on paper, but it seems it is with Gitlab's CI/CD...
I run a Debian server. Using Apache web server. The website is already hosted (via code I manually dumped) and the full configuration of it is done.
I saw some people suggesting SSH, and while this sound the most logical choice to run my commands, I can't help but be a bit confused : my Gitlab runner runs docker, not ssh. Does that mean I need to change my runner's type into SSH ? Or I can connect into ssh using that docker executor ?
Also, that means I would need to extract my previously built artifact. But If I use a different image than my build job, won't that make it impossible to access the artifacts ? (Basically I see each stage as it's own service without any way to communicate to each other, or at least that's how I understand it)
My pipeline looks like this so far I used a template to help :
stages:
- build
- deploy
build-job:
image: node:latest
stage: build
script:
- npm install
- npm run build
cache:
paths:
- node_modules/
artifacts:
paths:
- dist/
deploy-job: #What I should do here ?
stage: deploy
script:
- echo "Application successfully deployed."
The build process runs without a fail... does not look super complex tho.
So hum, what I'm supposed to do here ?
Thanks for the explanations.
https://redd.it/o87rey
@r_devops
Gitlab
Environments | GitLab Docs
Environments, variables, dashboards, and review apps.
Flexible ad serving platform for carving up impressions by priority?
Been using DFP/Ad Manager 10+ years with static deliveries, such as x customer receives 1M impressions over y period.
But new requirements are 100% dynamic delivery ranked solely in priority like low, medium, high or perhaps better way to visualize is under, normal, over deliver -- without a fixed static number of impressions to each line item.
Advertisers are added and eliminated over the course of any fixed period, and are divided dynamically as under weight, normal weight, over weight.
I figured I need to write a custom simulation, but first if anyone knows this could be met with existing service, let me know.
https://redd.it/o8bs7d
@r_devops
Been using DFP/Ad Manager 10+ years with static deliveries, such as x customer receives 1M impressions over y period.
But new requirements are 100% dynamic delivery ranked solely in priority like low, medium, high or perhaps better way to visualize is under, normal, over deliver -- without a fixed static number of impressions to each line item.
Advertisers are added and eliminated over the course of any fixed period, and are divided dynamically as under weight, normal weight, over weight.
I figured I need to write a custom simulation, but first if anyone knows this could be met with existing service, let me know.
https://redd.it/o8bs7d
@r_devops
reddit
Flexible ad serving platform for carving up impressions by priority?
Been using DFP/Ad Manager 10+ years with static deliveries, such as x customer receives 1M impressions over y period. But new requirements are...
Alternatives to dynatrace?
I’m just interested in anyone who has had a good experience with vendors or open source options other than dynatrace.
Would love to hear your experiences
https://redd.it/o8et9t
@r_devops
I’m just interested in anyone who has had a good experience with vendors or open source options other than dynatrace.
Would love to hear your experiences
https://redd.it/o8et9t
@r_devops
reddit
Alternatives to dynatrace?
I’m just interested in anyone who has had a good experience with vendors or open source options other than dynatrace. Would love to hear your...
Military newbie that needs help
Hello everyone hope your weekend is going well. I'm writing to ask what can I as active duty navy(transitioning to the civilian world in a few months) can do to get my feet wet. I have 12 years of active duty service in the intelligence community and I have my bachelor's with a TS/SCI clearance. I look on LinkedIn and other job sites and see a lot of positions for devops but I know I dont qualify for those positions. I'm currently enrolled in a accelerated VETEC program for the devops pathway and at the end of this I will have sec+, CEH, and Splunk. I really don't know how those certs will help lay the foundation for devops but those are the certs the class requires us to obtain. Since I have a few months left on active duty what can I do to not only strengthen my working knowledge for technical interviews but where can I begin to learn the basics towards the devops pathway. I realize DEVOPs means different things to different people but any and all advise would be appreciated. Sorry for the long post.
https://redd.it/o8h65w
@r_devops
Hello everyone hope your weekend is going well. I'm writing to ask what can I as active duty navy(transitioning to the civilian world in a few months) can do to get my feet wet. I have 12 years of active duty service in the intelligence community and I have my bachelor's with a TS/SCI clearance. I look on LinkedIn and other job sites and see a lot of positions for devops but I know I dont qualify for those positions. I'm currently enrolled in a accelerated VETEC program for the devops pathway and at the end of this I will have sec+, CEH, and Splunk. I really don't know how those certs will help lay the foundation for devops but those are the certs the class requires us to obtain. Since I have a few months left on active duty what can I do to not only strengthen my working knowledge for technical interviews but where can I begin to learn the basics towards the devops pathway. I realize DEVOPs means different things to different people but any and all advise would be appreciated. Sorry for the long post.
https://redd.it/o8h65w
@r_devops
reddit
Military newbie that needs help
Hello everyone hope your weekend is going well. I'm writing to ask what can I as active duty navy(transitioning to the civilian world in a few...
Do you manually approve builds as they roll out to each environment?
Kind of a simple question, but just wanted to get some idea of what others are doing / experiencing in their jobs. Does your CI/CD process include manual approvals, or do you automate to the point where you can trust your testing frameworks so that issues don't make it to production?
View Poll
https://redd.it/o8i2en
@r_devops
Kind of a simple question, but just wanted to get some idea of what others are doing / experiencing in their jobs. Does your CI/CD process include manual approvals, or do you automate to the point where you can trust your testing frameworks so that issues don't make it to production?
View Poll
https://redd.it/o8i2en
@r_devops
YouTube music lost one subscription
Yesterday night I tried to sign-up for their monthly subscription plan and their payment gateway page closes after entering my card details
I realized no one is perfect, we see Google SRE as a default standard for DevOps but no one is perfect !!
https://redd.it/o8cz16
@r_devops
Yesterday night I tried to sign-up for their monthly subscription plan and their payment gateway page closes after entering my card details
I realized no one is perfect, we see Google SRE as a default standard for DevOps but no one is perfect !!
https://redd.it/o8cz16
@r_devops
reddit
YouTube music lost one subscription
Yesterday night I tried to sign-up for their monthly subscription plan and their payment gateway page closes after entering my card details I...
How many requests per second are considered 'Heavy Load'?
I'm trying to quantify this in numbers even it is hard to come up with numbers that works for everything. any guide/tutorial would be appreciated!
https://redd.it/o8mxq0
@r_devops
I'm trying to quantify this in numbers even it is hard to come up with numbers that works for everything. any guide/tutorial would be appreciated!
https://redd.it/o8mxq0
@r_devops
reddit
How many requests per second are considered 'Heavy Load'?
I'm trying to quantify this in numbers even it is hard to come up with numbers that works for everything. any guide/tutorial would be appreciated!
Kuberneties
Hi. Why is kuberneties so popular? If we are an AWS shop and use ECS are we missing out on the benefits of kuberneties. I want to make sure we are doing the right thing in the long run. Thanks.
https://redd.it/o8nl5u
@r_devops
Hi. Why is kuberneties so popular? If we are an AWS shop and use ECS are we missing out on the benefits of kuberneties. I want to make sure we are doing the right thing in the long run. Thanks.
https://redd.it/o8nl5u
@r_devops
reddit
Kuberneties
Hi. Why is kuberneties so popular? If we are an AWS shop and use ECS are we missing out on the benefits of kuberneties. I want to make sure...
“Click” to copy snippet, app or service
Does anyone know of a app that you can paste your own scripts or snippets in,
And create your own “copy to clipboard” list of snippets?
Ive tried to make a app app like that, but, haven’t figured it out quite yet..
Unless…
Is there already a app like that?
https://redd.it/o8pba2
@r_devops
Does anyone know of a app that you can paste your own scripts or snippets in,
And create your own “copy to clipboard” list of snippets?
Ive tried to make a app app like that, but, haven’t figured it out quite yet..
Unless…
Is there already a app like that?
https://redd.it/o8pba2
@r_devops
reddit
“Click” to copy snippet, app or service
Does anyone know of a app that you can paste your own scripts or snippets in, And create your own “copy to clipboard” list of snippets? Ive...
Looking for a classical non-hosted CI platform that works and is not Jenkins
TL;DR - Jenkins good, Jenkinsfiles bad, need a better tool to handle builds
We have 5 apps. Each has its own code repo (Java EE), web repo (Angular) and integration test repo (Python) plus few additional repos in 2 apps (docbuilds, database migrations and such). Everything is in Linux.
We have had Jenkins since like forever - this is about 10-20+ jobs per app (Maven+freestyle), linked together via downstream job relationship, bash scripts (one per job) handle environment setup, orchestration and report generation. There is no big dependency hell, but there are some usual deps (like deploy only when all test pass, etc). There are periodical builds, SCM polling and manual starts.
Not only this does everything from initial "build code with Maven" job up to the very last "deploy to staging" job, I still have flexibility to either restart the single build or just test few odd jobs. All in all this worked just fine for years.
Now what happened is that with Jenkins 2.277 the MultipleSCMs plugin that handles our checkouts got deprecated and stopped working... I managed to fix it locally based on one unmerged PR it had (and in time this was fixed in Jenkins as well). But given that this might happen again, I've tried to migrate one app to Jenkinsfiles since this is a way Jenkins development go to. This brought in more problems than it solved. :-/
Pipeline visualization is out of the window, not even Blue Ocean helps (and this has its own issues). There are weird problems when jobs are aborted/timeouted, and the more I play with this thing, the more angry I am. :-) I've tried "one Jenkinsfile per job" and also "everything in one Jenkinsfile" (ugh), even different combinations of those two, neither seems to work in a way I'd like it to.
So I've looked at some alternatives and was surprised that almost everything I've found is either
* unmaintained (some promising tools with latest release 10 year ago)
* hosted (this is a no-go, this needs to run locally)
* rather costly (for hosted solutions that have those "Enterprise" packs you can still run on premise)
* "cloud ready" - aka only for Kubernetes etc., we are not planning to go there (yet)
* does not seem to have good support for multiple repos - aka only works as "Build your Pull Requests" - we do have PRs but our workflow is not PR based
Only tool that looks rather decent is buildbot; I've experimented a bit with it few years back and it looked promising, but the web UI in current version 3 seems like a step backwards? I know Chromium uses this but they seem to stick with their fork(?) from v2?
So is there any tool that I haven't found that is as close to good-old-classical Jenkins as possible?
P.S. Some of the issues could've been fixed if we transition to a mono-repo, but this is not possible for various reasons; and many devs do hate Git submodules so I won't be able to force anyone to deliver code like this...
https://redd.it/o8t97b
@r_devops
TL;DR - Jenkins good, Jenkinsfiles bad, need a better tool to handle builds
We have 5 apps. Each has its own code repo (Java EE), web repo (Angular) and integration test repo (Python) plus few additional repos in 2 apps (docbuilds, database migrations and such). Everything is in Linux.
We have had Jenkins since like forever - this is about 10-20+ jobs per app (Maven+freestyle), linked together via downstream job relationship, bash scripts (one per job) handle environment setup, orchestration and report generation. There is no big dependency hell, but there are some usual deps (like deploy only when all test pass, etc). There are periodical builds, SCM polling and manual starts.
Not only this does everything from initial "build code with Maven" job up to the very last "deploy to staging" job, I still have flexibility to either restart the single build or just test few odd jobs. All in all this worked just fine for years.
Now what happened is that with Jenkins 2.277 the MultipleSCMs plugin that handles our checkouts got deprecated and stopped working... I managed to fix it locally based on one unmerged PR it had (and in time this was fixed in Jenkins as well). But given that this might happen again, I've tried to migrate one app to Jenkinsfiles since this is a way Jenkins development go to. This brought in more problems than it solved. :-/
Pipeline visualization is out of the window, not even Blue Ocean helps (and this has its own issues). There are weird problems when jobs are aborted/timeouted, and the more I play with this thing, the more angry I am. :-) I've tried "one Jenkinsfile per job" and also "everything in one Jenkinsfile" (ugh), even different combinations of those two, neither seems to work in a way I'd like it to.
So I've looked at some alternatives and was surprised that almost everything I've found is either
* unmaintained (some promising tools with latest release 10 year ago)
* hosted (this is a no-go, this needs to run locally)
* rather costly (for hosted solutions that have those "Enterprise" packs you can still run on premise)
* "cloud ready" - aka only for Kubernetes etc., we are not planning to go there (yet)
* does not seem to have good support for multiple repos - aka only works as "Build your Pull Requests" - we do have PRs but our workflow is not PR based
Only tool that looks rather decent is buildbot; I've experimented a bit with it few years back and it looked promising, but the web UI in current version 3 seems like a step backwards? I know Chromium uses this but they seem to stick with their fork(?) from v2?
So is there any tool that I haven't found that is as close to good-old-classical Jenkins as possible?
P.S. Some of the issues could've been fixed if we transition to a mono-repo, but this is not possible for various reasons; and many devs do hate Git submodules so I won't be able to force anyone to deliver code like this...
https://redd.it/o8t97b
@r_devops
reddit
Looking for a classical non-hosted CI platform that works and is...
TL;DR - Jenkins good, Jenkinsfiles bad, need a better tool to handle builds We have 5 apps. Each has its own code repo (Java EE), web repo...
Deploying to different namespaces via Jenkins in k8s (and secrets mgmt)
Hi all,
Just a couple of things I wanted to run past you folks to get opinions. First on deploying to different namespaces from Jenkins
My current plan is to deploy Jenkins in k8s under a cicd namespace, and then teams a, b, and c can use that instance for their cicd. Agents will run as ephemeral pods. The question I have is around how to give Jenkins access to other namespaces. As I see it, I have two options:
1. Agents run with a service account that I give the relevant rolebindings to, to enable it to deploy/destroy in other namespaces.
2. Every namespace gets a svc account, and the token for it is saved in Jenkins as a credential (possibly under a folder to restrict usage). Then a job references that single credential which can only talk to one namespace.
However, 1 doesn't feel great because you end up with a service account that can do everything (e.g. delete everything from every namespace) and with 2, a.) it's more work and ultimately b.) you end up storing loads of credentials in Jenkins that are notoriously easy to exfiltrate and hard to manage.
What's the ideal solution here? I think I could use Vault as an external secret store, but I'm not sure what advantage that gives and I was planning to use Sealed Secrets for non-cicd secrets, so Vault would end up just being for storing service account tokens from other project which feels over the top.
P. S. If the best solution is Vault, it would be hugely appreciated if you could expand just a little on the best implementation as I haven't had much Vault xp.
Thanks
https://redd.it/o8tyn9
@r_devops
Hi all,
Just a couple of things I wanted to run past you folks to get opinions. First on deploying to different namespaces from Jenkins
My current plan is to deploy Jenkins in k8s under a cicd namespace, and then teams a, b, and c can use that instance for their cicd. Agents will run as ephemeral pods. The question I have is around how to give Jenkins access to other namespaces. As I see it, I have two options:
1. Agents run with a service account that I give the relevant rolebindings to, to enable it to deploy/destroy in other namespaces.
2. Every namespace gets a svc account, and the token for it is saved in Jenkins as a credential (possibly under a folder to restrict usage). Then a job references that single credential which can only talk to one namespace.
However, 1 doesn't feel great because you end up with a service account that can do everything (e.g. delete everything from every namespace) and with 2, a.) it's more work and ultimately b.) you end up storing loads of credentials in Jenkins that are notoriously easy to exfiltrate and hard to manage.
What's the ideal solution here? I think I could use Vault as an external secret store, but I'm not sure what advantage that gives and I was planning to use Sealed Secrets for non-cicd secrets, so Vault would end up just being for storing service account tokens from other project which feels over the top.
P. S. If the best solution is Vault, it would be hugely appreciated if you could expand just a little on the best implementation as I haven't had much Vault xp.
Thanks
https://redd.it/o8tyn9
@r_devops
reddit
Deploying to different namespaces via Jenkins in k8s (and secrets...
Hi all, Just a couple of things I wanted to run past you folks to get opinions. First on deploying to different namespaces from Jenkins My...