Questions tagged [devops]

65 questions
0
votes
1 answer

What does "COPY --from=build-env /app/build/web /usr/share/nginx/html" do?

I have a Dockerfile as following: # Install Operating system and dependencies FROM ubuntu:22.04 AS build-env RUN apt-get update RUN apt-get install -y curl git wget unzip libgconf-2-4 gdb libstdc++6 libglu1-mesa fonts-droid-fallback lib32stdc++6…
best_of_man
  • 367
  • 1
  • 3
  • 12
0
votes
0 answers

git and/or azure devops treat folders that start with . as submodules

I have a problem with the pipeline where it wouldn't checkout the .iac folder. However, when I changed it to iac (from .iac)it worked. Additionally I am seeing that the .azuredevops folder isn't being checkout either. I thought it may have been…
Joy1979
  • 111
  • 3
0
votes
1 answer

My website is working when https://www.example.com but not when https://example.com

I have purchased the domain from Godaddy. My website is working when https://www.example.com example.com www.example.com Not working when https://example.com I want to know where I need to add the suitable configuration. I have already added…
0
votes
1 answer

Delay A pipeline For 24Hours

Hello Im using Azure piplines for some tasks Here is a simiple example of what im trying to achieve : what im trying to do is to to trigger pipline2 after pipeline1 complition (this is done) and once the pipeline 2 is triggered i want it to wait…
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

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
  • 31
  • 1
  • 3
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
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
  • 235
  • 1
  • 5
  • 8
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…
0
votes
1 answer

Ansible playbook - defining var based on condition

I want to create a var based on condition so I created the below : hosts: test vars: vtarget_backup_folder_in_progress: "{{ "{{ folder }}/{{ target }}/test{{ hostvars['localhost']['tstamp'].stdout }}{{ type }}" if node_type == "master" else "{{…
Sam
  • 1
  • 1
0
votes
2 answers

How to enable local image registry on OpenShift Single Node Cluster installation

I've recently completed an installation of a Single Node Cluster using OpenShift 4 but I'm running into issues when trying to spin up some of the example container / projects they have available. I just keep getting the following error: Error…
davidburtton
  • 41
  • 1
  • 4