Most Popular
1500 questions
4
votes
1 answer
Using Prometheus to monitor Spring Boot Applications in Kubernetes Cluster
I have spring boot powered microservices deployed in my local kubernetes cluster. The microservices are using micrometer and prometheus registry but due to our company policy the actuator is available on another port:
8080 for "business" http…
Mark Bramnik
- 141
- 1
- 3
4
votes
1 answer
I'm trying to run `vagrant provision` on PowerShell Window for Ansible playbook
Here is what it replies:
Windows is not officially supported for the Ansible Control Machine.
Please check https://docs.ansible.com/intro_installation.html#control-machine-requirements
What should I do? Thank you
Thi Nguyen Hoang
- 41
- 1
4
votes
1 answer
Is GitLab flow (or GitHub flow, etc) anti build-once deploy-everywhere?
Historically, especially in the Java world, build-once, deploy everywhere has been a very big thing for deployments. Artifacts should be built exactly one time when a release is made and stored somewhere like Nexus or Artifactory where they are…
John Humphreys
- 1,510
- 5
- 16
4
votes
1 answer
How to deploy docker-compose to a remote host
I am new to the docker ecosystem and I am trying to figure out a proper deployment infrastructure for a system I am working on.
Imagine a following scenario: a system consists of three microservices - DB, core server, and an app (server + client).…
Adam Wolski
- 142
- 1
- 8
4
votes
2 answers
What are the different types of work in a development team?
I'm currently on my annual re-read of The Phoenix Project and we're going through the different types of work that an Ops Team face. These are:
Project Work
Changes
Internal Projects
Unplanned Work
This time around I'm not convinced that these…
Liath
- 547
- 3
- 11
4
votes
1 answer
Exit a Makefile target called by parent without throwing an error
Let's say that I have 2 targets:
test:
# ...
@$(MAKE) dosomething
@echo test
# ...
dosomething:
# ...
@if [ -z "$(SOMETHING)" ]; then exit 0; fi
@echo dosomething
# ...
I would like echo test to execute even if…
Destroy666
- 141
- 1
- 3
4
votes
1 answer
How can I calculate costs of deploying 1000 instances of Drupal?
What are the things that should I investigate for making an estimate of the cost of deploying 1000 instances of Drupal, for example?
I was thinking in:
Database space
Database usage (in ops/second? how can I test it?)
Application uploads…
JorgeeFG
- 253
- 1
- 6
4
votes
0 answers
Grafana sometimes can't resolve prometheus hostname
Scenario
I deploy grafana and prometheus onto EKS cluster (AWS K8s service).
If I use prometheus service's fqdn (prometheus-server.monitoring.svc.cluster.local) as the data source, grafana sometimes fail to load the data like the image below. If I…
Tran Triet
- 819
- 3
- 10
- 19
3
votes
2 answers
How to run a CMD in a docker container that was created using Packer?
So I am creating a docker image with packer.
The template defines the provisioners and builders etc.
The builder section looks like this:
{
"builders": [
{
"type": "docker",
"image": "ubuntu:latest",
…
Kyu96
- 125
- 3
- 16
3
votes
1 answer
Mitigate false positives due to daylight saving time in CloudWatch anomaly dectector
For monitoring, I set up CloudWatch alerts based on CloudWatch anomaly detection. Overall, they work quite nicely, but they got confused when the clock gets shifted (summer timer to winter time).
We have now recurring false-positives even though the…
Philipp Claßen
- 1,675
- 2
- 16
- 30
3
votes
2 answers
Ansible configure and compile in directory
So I have have an Ansible Task that extracts a programs sourcecode zip into a certain directory and is then supposed to compile and install it.
The extraction of the zip works fine, but then I need to execute the commands:
./configure
make
sudo make…
Kyu96
- 125
- 3
- 16
3
votes
1 answer
Trunk Based Development - release branch testing
We are currently using Git flow branching strategy and looking to go to a trunk based strategy - although we are quite a ways away from getting there I am trying to get all my ducks in a row, prioritize and eventually get there. I feel that its not…
VKR
- 71
- 3
3
votes
2 answers
What is DataOps?
This site already has great answers for questions like What is DevOps and what is SecOps.
Over time, I have come to be of the opinion that DevOps was born when the philosophy of the Agile methodology was applied to Operations. Similarly so with…
James Shewey
- 3,734
- 1
- 15
- 38
3
votes
2 answers
Jenkins triggered by multiple git repos
I've been looking around to see how to have ~10 different repos all on a git push trigger a single pipeline that does pretty much the same exact thing - build a docker image -except that the different repo names will be used for the docker image…
joshk132
- 465
- 10
- 22
3
votes
1 answer
How to enforce policies for manifests in Kubernetes?
I have built a self-service platform based on Kubernetes, where we create namespaces for each team and allow them to 'do whatever they want within the namespace' (we set resource limits so no one can kill the whole cluster).
However, now I want to…
dayuloli
- 141
- 2