Most Popular
1500 questions
6
votes
1 answer
Implications of introducing Docker to the development team
We always tend to have a moral implications of certain critical decisions taken for development irrespective of the realisation if the decision is critical or not. Say for example switching an entire stack for a team of developers or enforcing them…
Abhay Pai
- 303
- 2
- 5
6
votes
2 answers
AWS Spot instances price
While trying to create spot instances I notices that the Price for almost all instance types (from m3 , c3, c4) are always higher than the On-Demand price of corresponding variants in us-east-1c and us-east-1f regions (for almost 3 months)
Can…
6
votes
1 answer
What are best practices to solve `All files/directories will have '-rwxr-xr-x' permissions` when building docker images on Windows?
When a docker image is built on a Windows host the following message is returned:
SECURITY WARNING: You are building a Docker image from Windows against a non-Windows
Docker host. All files and directories added to build context will have…
030
- 13,235
- 16
- 74
- 173
6
votes
2 answers
Deploying a Kubernetes cluster for production on multiple clouds
I want to install a highly available kubernetes cluster (multiple master nodes) on a public cloud (AWS, Azure, GCP and maybe others).
I'm looking for a non-vendor specific option to do it.
I'm aware of several options like
Kops
Juju
Other Github…
Eldad Assis
- 378
- 3
- 9
6
votes
1 answer
Where does k3s store it's "/var/lib/kubelet/config.yaml" file?
Referencing another answer here, they suggest setting
evictionHard:
imagefs.available: 1%
memory.available: 100Mi
nodefs.available: 1%
nodefs.inodesFree: 1%
In the file /var/lib/kubelet/config.yaml. However, I do not see that file in my k3s…
Evan Carroll
- 2,091
- 3
- 22
- 65
6
votes
3 answers
Continuously getting locked out from EC2 instance. No supported authentication methods available
I am getting continously locked out from my ec2 instance time and again. I have to take its root volume and attach it to some other instance (mostly new instance) to prevent data loss. I am not able to figure out what is causing my ssh being denied.…
lakshayk
- 636
- 1
- 4
- 8
6
votes
0 answers
Kubernetes deployement with minimum disruption to websocket connections
Problem statement: Make a deployment with minimum disruption to clients connected via websockets.
Stack: GKE (Regional cluster - 1.22.8-gke.200), helm, Node.js/websockets, HPA, Rolling Update.
Our Kubernetes Cluster is composed by micro-services…
thanosam
- 71
- 3
6
votes
1 answer
Colored logging messages from Python script within GitLab CI
I am using a docker container for my GitLab CI and would like to have any output/logging messages in color inside the CI. What I mean: the commands from .gitlab-ci.yml are in color, but the outputs of the scripts running python3 colored_logging.py…
ziggyler
- 63
- 1
- 3
6
votes
3 answers
Backup Jenkins log files to external cloud storage
I'm looking to automatically back up Jenkins log files for all jobs running on our master and slaves once a week, moving them to aws' s3 and deleting them from their respective directories when done.
My question is, is there an existing plugin that…
Alex
- 4,512
- 6
- 27
- 47
6
votes
1 answer
Where does the string docker.example.com in my GitLab CI job come from?
I am trying to have a Docker image deployed to my server by GitLab CI, but it only worked once¹ and then dies with the error message below. Here is the .gitlab-ci.yml snippet:
deploy-image:
image: docker:latest
services:
- docker:dind
…
mcnesium
- 375
- 1
- 2
- 7
6
votes
1 answer
What are the metrics to consider when doing API performance testing?
I want to establish the benchmark behavior of my API through performance testing.
The purpose is to ensure that the product meet or exceed requirements such as:
Throughput
Response time
Stability
Resource usage
Some of KPIs I'm aware of:
Average…
storm
- 1,759
- 3
- 15
- 34
6
votes
3 answers
Get private key from terraform state?
I used the terraform resource tls_private_key to generate a key and push that into AWS, but it didn't give me the private key to use to access the related resources. How can I recover that key?
Josiah
- 363
- 4
- 11
6
votes
2 answers
How to visualize dynamic microservice architecture running with Consul?
Using Consul, you could allow your teams decentrally deploy and run microservices with dynamic dependencies.
It is also possible to list the services: /catalog/service/:service
Now, how to assess these dependencies automatically if the architecture…
Ta Mu
- 6,772
- 5
- 39
- 82
6
votes
1 answer
Use a Kustomize image transformation on an Argo CronWorkflow
I am developing an ETL pipeline using Argo Workflows, and in order to handle environment related configurations, I am using Kustomize.
Here is the base/cronworkflow.yaml file
apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
name:…
Vektor88
- 163
- 5
6
votes
0 answers
How do I find out exactly when a Github personal access token was last used?
A few days ago, I got an email from github saying that a personal access token that we used is in an 'outdated format':
We noticed that an application, TeamCity(ci.support.example.com), owned by an organization you are an admin of,…
Barton Chittenden
- 161
- 2