Most Popular
1500 questions
7
votes
1 answer
How would you build docker images in Kubernetes while distributing its layer caching among all pod builders at scale?
We are using Azure DevOps as our CICD platform.
We have our own self hosted Linux agents which we integrated into our CICD Azure Kubernetes Cluster .
We use these agents to build our Docker images within the cluster, meaning that we have N agents…
Shaked KO
- 129
- 2
7
votes
1 answer
What are known useful and misleading memes in the DevOps culture?
After discovering the Cattle vs Pets and 12factor apps DevOps memes which now will help me a lot with communication, I ask myself what are other known memes in the DevOps culture?
Side note: best is to establish fact why a meme is a meme e.g. more…
Ta Mu
- 6,772
- 5
- 39
- 82
7
votes
2 answers
ArgoCD Autosync based off of Docker Image `latest` Tag
Using ArgoCD, I'd like to have the App AutoSync Update/Reploy when the docker image is updated on a specific tag such as latest or stable.
For example, if I have a deployment in my git repo like this:
apiVersion: apps/v1
kind: Deployment
metadata:
…
DogEatDog
- 191
- 1
- 7
7
votes
3 answers
Jenkins shows the job as failed if there is nothing to commit to gitlab
I have been using one Jenkins job, that will pull repository from gitlab.
Then it will modify the files and push it into gitlab (only if any user added any new files/modify contents in gitlab). Otherwise, it simply does empty commit.
When empty…
Buvanesh Kumar
- 467
- 3
- 5
- 13
7
votes
1 answer
Vendoring - what is it?
In various tools there is the concept of "vendoring". i.e. Ruby's bundle, and Chef's Berkshelf.
"vendor" is not a verb and in documentation it's often assumed that I know what it means. Can someone help shed some light on what it is and the benefits…
Tom Duckering
- 171
- 5
7
votes
1 answer
Defining and using bash functions in AWS CodeBuild
I thought I could slightly improve readability of repetitive sed calls when inserting secrets into a file with AWS CodeBuild. I defined a bash function:
replaceConfig() { sed -i 's|{'$1'}|'${!1}'|' config.json; }
This can be called like…
Kyle
- 171
- 1
- 3
7
votes
2 answers
How do you monitor Node Micro services running inside of Docker Containers?
This article about "How healthy is your Dockerized application?" explains the trouble with monitoring, but it doesn't provide any good examples of how to actually monitor a microservice inside of the docker container.
We are currently using PM2…
avi
- 1,279
- 1
- 13
- 32
7
votes
3 answers
Prometheus Alertamanger - how to silence all alerts for a given period during a maintenance?
A work scenario that I can't cover currently is that I want to set a maintenance mode, meaning all alerts received from Prometheus to be ignored, I want to be able to set it through the UI for a given period until maintenance finish. One way to do…
anVzdGFub3RoZXJodW1hbg
- 454
- 1
- 5
- 14
7
votes
2 answers
Stress testing for docker container
I want my container to die under high pressure to check monitoring and alerting as well as compose autorestarts. What is best way to simulate heavy load within docker container. I've tried so far
root@docker-vm:/# stress --vm 10 --vm-bytes 2048M…
Most Wanted
- 671
- 8
- 18
7
votes
2 answers
Site monitoring browser-only tool running in frontend only?
Infrastructure monitoring tools like Nagios or much more "low-level" curl are well known in the DevOps community.
But, given I would like just to track some APIs in similar manner just in frontend, what are known more or less mature popular tools…
Ta Mu
- 6,772
- 5
- 39
- 82
7
votes
2 answers
How to list all users with specific role in GCP
gcloud projects get-iam-policy [PROJECT-ID] lists all users with their roles for specific project. There are different filters and formatters available but I can't seem to find the right way to just filter only by specific role.
$ gcloud projects…
SiliconMind
- 173
- 1
- 4
7
votes
2 answers
chef database cookbook deprecated
I frequently use chef database cookbook and it is being deprecated doesn't receive any updates. They even disabled issues on the github so it is not possible to check if any issues I encounter have been discussed and possible solutions were…
AlexD
- 179
- 5
7
votes
1 answer
Creating Keycloak Realm via Ansible
Currently there is no module to create a Keycloak realm with Ansible. There is a PR but it is stucked since half a year or so. So I though, there is a Keycloak REST API…
TRW
- 313
- 2
- 12
7
votes
2 answers
fatal: ambiguous argument 'master': unknown revision or path not in the working tree
when I modified one of my cookbook that I tried to add a cookbook dependency in berks file
cookbook name, '=0.1.0', git: 'ssh://url:xxx/cookbook', tag: '0.0.1'
and then tried to converge it which throws an error
'fatal: ambiguous argument…
pandey
- 949
- 2
- 9
- 18
7
votes
1 answer
How to get environment variables in ECS container?
What AWS CLI command should I be using to access the environment variables in an AWS ECS cluster's task's container?
I've seen describe-cluster, list-tasks, describe-tasks, describe-container-instances, etc... I can't seem to find one that lets me…
Alex
- 4,512
- 6
- 27
- 47