Questions tagged [devops]

56 questions
1
vote
1 answer

parsing debug information from ansible k8s_info module

I'm testing the ansible k8s_info module and having a challenge parsing the result in a register variable. The playbook gets pods from all namespaces. My objective is to print only the spec.containers information from each pod returned in the…
dcrearer
  • 133
  • 5
0
votes
0 answers

how to Protect nginx.conf file from hackers?

I want to verify out some best ways of managing nginx conflicts that prevent me from sharing information about vulnerabilities from my server or hosted sites. If you administer a web server like Nginx, Apache2, or caddy, please share your industry…
0
votes
0 answers

How vps instance like aws, google cloud,... scale with containers?

As I understand. K8s will use the blueprint to create multiple containers on the same machine. But how this gonna help the scalability. For example, my laptop got 2 pods of backend servers and they got load balanced. I want to create another server…
0
votes
0 answers

unable to create Jenkins pipeline for UAT environment which is only accessible through VPN

i am trying to develop a pipeline for organization's UAT environment. to access that environment for manual deployments we use VPN (which is not open-vpn), now i am stuck because i am unable to find any Jenkins plugin which can help my connection to…
bin_
  • 1
  • 1
0
votes
0 answers

Kong Nginx timers in pending state

Prometheus query kong_nginx_timers exposes 0 running timers and static number of pending timers all the time. Any explanations? how to test? What query to use in order to alert on too many pending timers?
0
votes
0 answers

How to monitor nginx application using Nagios on different server

I have Nagios monitor tool install on my one on the servers machine. There are some nginx service running on different server machine that I want to monitor using nagios. How can i monitor those nginx services. check_nginx I don't see default…
0
votes
0 answers

Incoming apiserver requests

is there any option to see what request is reaching apiserver? I'm struggling with error authentication.go:104] Unable to authenticate the request due to an error: x509: certificate has expired or is not yet valid Certs are valid. Master node is…
RedBluff
  • 1
  • 2
0
votes
0 answers

Using S3 Objects in Terraform Function Path Parameters

I am trying to move all my configuration files to S3 storage, and access them directly from Terraform while provisioning. However, I was not able to point to S3 object directly similar to giving a local file path. So instead of; content =…
0
votes
1 answer

Deploying monorepo without SSH

Full Disclosure: I'm a DevOps noob. I am running a MERN mono repo on an EC2 instance. Originally, I would always SSH into my machine, pull from the repository, and build again. But there are problems with this.. the build process takes longer and so…
0
votes
0 answers

What process manager is suitable for multiple instances of the same service?

I am working on an app which can start and stop a service (lnd) with different options for different users: Service Instance 1 for Alice using config 1 Service Instance 2 for Bob using config 2 Service Instance 3 for Carol using config…
Sergei Basharov
  • 379
  • 2
  • 3
  • 13
0
votes
1 answer

AWS Policy to Read/write RDS

In my scenario , I want a policy that will allow reading and writing of abc-database-backups/rds/postgresql-backup on S3? We'll want the my servers to have that access added. Is creating a role and attaching it to the servers is best or adding a key…
0
votes
1 answer

Hashicorp Vault How Do I Login Headless From STDIN Using Bash Shell?

Given a Bash Shell say in a Docker container running on Gitlab, for example, how would I get the password to get passed in? When I login with this: $ vault login -method=ldap username=myusername It asks me for a password. How do I get the prompt…
0
votes
1 answer

Can not redirect https with upstream directive

With such config a I get redirecting to google.com server { listen 80; proxy_ssl_server_name on; rewrite_log on; location / { proxy_pass https://google.com; } } but if I add upstream instead of host upstream…
Artem
  • 101
  • 1
0
votes
1 answer

Jenkins Shell script not working. Yarn: command not found

I am running jenkins to build a react app and executing shell commands to build the app automatically. I following are the bash commands cd /var/www/FarmGroWeb sudo git reset --hard sudo git pull origin dev sudo yarn sudo yarn build It fails on the…
Riwaj Chalise
  • 195
  • 1
  • 2
  • 6
0
votes
0 answers

Individual Local Accounts on AWS

I'm my scenario, Currently, we have all developers connect to ec2 instances using the ec2-user account. Is there a better way to do this so we can see which actions developers take on the machines? I'm wanting to be able to identify who executes…