Most Popular
1500 questions
4
votes
1 answer
EC2 EBS Free Tier - Is Storage Reusable?
Can I delete an EC2 instance and start off from scratch on my EBS free tier usage? For instance, I was running a Red Hat server with 10 GB of EBS being used. However, I deleted that EC2 within a few hours. I then spun up another machine with 8 GB of…
Linux Overthrow
- 41
- 2
4
votes
1 answer
Execute the whole Playbook serially
Adding serial: 1 to a Play will execute that one Play one host at a time. Is there something similar for the whole playbook?
That is, all plays will execute only in one host, and when they are finished then all plays will execute on the next host,…
Diego Puertas
- 41
- 1
4
votes
1 answer
What are best practices for over-committing resources in a staging environment?
Suppose there is a staging environment very strapped for resources as new development, data workloads and other applications grow. Ideally one would like to maintain production parity, even at the resource allocation level per each deployed item in…
user20119
4
votes
1 answer
Condition to skip a test when running in a container
I'm writing an Inspec profile which has a specific control that I want to skip if the control is running inside a docker container. This looks like:
control 'ssh daemon' do
impact 'critical'
only_if('not in docker') do
condition_expression
…
Bruce Becker
- 3,573
- 4
- 19
- 40
4
votes
1 answer
Should I chunk my docker images in many small layers instead of one large?
When I build docker image for existing applications I try to use as few layers as possible and clean up any unwanted files. For example building an image for moodle:
# Dockerfile for moodle instance.
# Forked from Jonathan Hardison's…
Dimitrios Desyllas
- 173
- 8
4
votes
1 answer
Conversion tool for converting kubernetes yaml files from 1.15 to 1.17?
we are on kubernetes 1.15.* and our yaml files are incompatible with the latest 1.17 installation.
Is there an easy way of converting our yaml files with a tool?
RAbraham
- 195
- 1
- 5
4
votes
1 answer
How To Determine Min/Max Resources For Kubernetes Pods?
Say I have 2 nodes for a kubernetes cluster. Both has
2 CPU → 4 Total
2G RAM → 4 Total
I have 4 pods to shcedule-- no replicas yet, 1 major pod that'll use 80% of resources, other use 5% each.
What resource limits should I specify for these…
Sollosa
- 143
- 4
4
votes
2 answers
Including vault-encrypted variables in a task
I just recently started to use Ansible, and am trying to deploy a configuration file that contains a secret key and email (for credentials to use with an API). I encrypted them with ansible-vault encrypt_string ..., and added them to playbook:
-…
Lucky The Rabbit
- 95
- 1
- 1
- 5
4
votes
1 answer
Project pipeline not able to access NuGet package from Artifact Feed in different Project
Updated 20th Feb & 21st Feb
Summary
Not able to find NuGet package from our private feed under Artifacts.
Our Azure DevOps environment
In Azure, we have our company "space": dev.azure.com/OurCompany
Under that, we have multiple Projects, so for…
DrGriff
- 496
- 5
- 6
4
votes
3 answers
What is the Prometheus and Grafana ideal setup?
I am just wondering. If I have many environments monitored via Prometheus, what will be the best configuration?
The security and efficiency are already important for on-premise installations but they are much more important and unavoidable when…
gervais.b
- 155
- 3
4
votes
1 answer
Looking for ways to host application in AWS and have it monitored using opensource
I am a newbie in the world of DevOps and have been assigned a task to implement web applications for the customers in AWS and that application monitored (security, metrics and logging) using any of the open source tools. I dabbled with Nagios a…
san_guy25
- 41
- 1
4
votes
1 answer
Mount Azure FileShare using terraform
What is a good way to mount an Azure File Storage automatically during provisioning on VMs?
There is a Microsoft doc describing how a file share can be mounted in general. This requires that Azure CLI is installed and a user is logged in.
As an…
kap
- 141
- 1
- 5
4
votes
2 answers
Can an in-memory filesystem be created from inside a docker container with no special permissions?
I'd like to create an in-memory filesystem within a docker container running on a cluster where I can't assign the container any special permissions (e.g. the container can't have CAP_SYS_ADMIN capability necessary for using mount).
Is it possible…
David Parks
- 331
- 4
- 15
4
votes
1 answer
monitor for docker stats similar to htop?
I'm in the need for this and my google leaded me to this post on SO
I guess it's helpful to boost the beta for our sister site DevOps Stackexchagne here.
I quote the original question
docker stats gives a good overview of the cpu/mem/net io/disk io…
Nam G VU
- 195
- 1
- 8
4
votes
1 answer
What is a gating continuous integration (CI) system?
I often find myself in the position of mentioning gating CI systems and I thought it would be good to have a post I can easily reference explaining what that is. So here goes:
What is a gating CI system and how is it different from the traditional…
Dan Cornilescu
- 6,730
- 2
- 19
- 44