Most Popular
1500 questions
9
votes
2 answers
How to run Ansible with sudo no password commands with become syntax
When I run ansible against a host machine that has some commands I need to run as root, I can't run these with "become" because it runs the commands as root instead of just running them with sudo.
What I've been doing is just using command: sudo ...…
Peter Turner
- 1,430
- 4
- 17
- 35
9
votes
2 answers
How do I get Kubernetes to work when I get an error "the server could not find the requested resource"?
I cannot create a kubernetes pod. I just deployed Kubernetes to Ubuntu 16.04.
I have this as a.yml:
apiVersion: v1
kind: ReplicationController
metadata:
name: nginx
spec:
replicas: 2
selector:
app: nginx
template:
metadata:
…
Jermoe
- 113
- 1
- 2
- 6
9
votes
4 answers
Monitor program progress on multiple servers
We have three servers that are running python programs that are running data analysis tasks inside a tmux session. The method we are using at the moment is ssh'ing into each of them connecting the tmux session and watching the output on the command…
guano
- 93
- 4
9
votes
3 answers
Best practices for external backups for S3 buckets?
I would like to know how everyone is making external backups of S3 buckets and best practices/recommendations for this. Regardless of how good AWS is it is still a single point of failure.
Especially on a more corporate scale, vast amounts of…
Kyle Steenkamp
- 1,152
- 1
- 9
- 17
9
votes
2 answers
Is Azure's confidential computing essentially encrypted RAM?
I'm trying to wrap my head around the Azure confidential computing offering.
It appears that that AWS does not offer encryption at the application level (see diagram for what I mean by this:)
My question is: Is Azure's confidential computing…
hawkeye
- 1,143
- 1
- 9
- 14
9
votes
1 answer
How to make Tiller highly available?
I'm using helm to deploy my services to a Kubernetes cluster.
I want to improve the service availability of my tiller pod. So I scaled the tiller deployment to 2 replicas.
Helm is working as before with no issues that might be related to this.
Does…
Eldad Assis
- 378
- 3
- 9
9
votes
6 answers
How to prevent hug of death on EC2 Instance?
I've a iOS app on the app store and recently I've received a huge surge of traffic to my landing page hosted on EC2 and resulted in the page not responding, luckily I managed to recover it by restarting and upgrading the instance to a t2.medium.
Now…
Missus
- 93
- 4
9
votes
2 answers
How to Chef things that don't exist yet
Let us say I have some Chef code like:
require 'mixlib/shellout'
yum_package 'somepackage'
myvar = Mixlib::ShellOut.new('/bin/somecommand').run_command.stdout.strip
Where /bin/somecommand does not exist yet because it is installed by somepackage.…
Gaius
- 1,076
- 9
- 17
9
votes
1 answer
What is Chef Automate
I've noticed that now most of the Supermarket's recipes are using Chef Delivery (aka Chef Automate). There is little information about it on their site, and it looks for me like it is a "pig in a poke": first you pay and they you know what you've…
madhead
- 265
- 2
- 6
9
votes
1 answer
What steps could be taken to inherit and override some parts of a Chef cookbook?
With 3200+ cookbooks available in Chef supermarket, often there is already a cookbook that covers the need I need to solve.
Almost every time there is some change required to a template, or a variable, or a resource in an existing cookbook.
What are…
Evgeny Zislis
- 8,963
- 5
- 38
- 72
9
votes
1 answer
Does "docker run" actually SSH into the container?
If I run
docker run -it ubuntu bash
Does it actually SSH into the container, or does it use another protocol?
Buvanesh Kumar
- 467
- 3
- 5
- 13
9
votes
2 answers
How to rebuild multiple jobs at the same time in Jenkins?
I'm using Jenkins Rebuild Plugin to execute a parametrized builds with a single Rebuild button. However when I need to rerun dozens of parametrized jobs (either selected, or from the same folder), it's still not efficient.
Is there any simpler way…
kenorb
- 7,841
- 12
- 40
- 77
9
votes
5 answers
Questions about Ansible connection to remote hosts
I want to ask some questions about working of Ansible.
1 - Which shell Ansible uses when logging to remote host ?
https://askubuntu.com/questions/937354/track-logins-made-via-non-interactive-shells/937716?noredirect=1#comment1486867_937716
2 - If…
luv.preet
- 223
- 1
- 7
9
votes
1 answer
Conflicting Kubernetes CPU usage & Docker Container Metrics
We recently switched over our production environment to Kubernetes. I'd like to enforce CPU limits on the containers. I'm getting conflicting CPU metrics that do not fit together. Here's my setup:
DataDog agents running as a Daemonset
Existing…
ahawkins
- 321
- 1
- 5
9
votes
2 answers
How does dependency management for Node.js differ from Maven?
Strange enough node.js unlikely maven installs the packages the software needs inside the project directory.
Is there a way to introduce a central repository which also caches different versions of components and would allow to pull them on build…
Ta Mu
- 6,772
- 5
- 39
- 82