All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Is it possible to set ENV vars dynamically in Buildkite Pipeline?

I'm looking to add a step to Buildkite Pipeline, that would run certain commands (execute shell file basically) and set some ENV variables that I can use as conditionals in consequent steps. Is it ...
1
vote
1answer
9 views

Terragrunt Linter

I'm having troubles using HCL files at VSCode. When I open the HCL file the indentations are messy. So I fix it and close the file, when I open again...messy again... Someone know a add-ons to works ...
0
votes
0answers
10 views

Jenkins Docker - Make changes to gitconfig

I have a self-hosted Gitea organization, and the way to access the repos requires some "secret" extraheader in .gitconfig. (2FA is also enabled) When I look at Jenkins "Configure System&...
-3
votes
0answers
7 views

Need advice with my NodeJS + Mongo architecture

My production app is running on a 80 USD server on digital ocean. My tech stack is: MongoDB+Redis NodeJS+PM2 Nginx This is everything on 1 server. I receive no traffic in the night and hence it’s not ...
0
votes
0answers
9 views

Nginx healthcheck does not stop

I have the following healthcheck condition for a nginx container inside my docker-compose.yml file: healthcheck: test: ["CMD", "curl", "-f", "http://front-service:...
0
votes
0answers
6 views

How to consolidate multiple servers for CPU and Memory with Kubernetes

Setup: I have 10 Photovoltaics based setup where IOT Gateway get data from sensors, devices and send to Kubernetes Cluster. K8S cluster exposed its ActiveMQ broker with NodePort. Observation: AMQ has ...
0
votes
0answers
2 views

AWS ElasticSearch - Automating manual snapshots

The requirement - A customer requires an automated mechanism that takes a manual snapshot of an AWS ElasticSearch domain (production) on a daily basis. The target of the snapshot is an AWS S3 bucket. ...
0
votes
0answers
3 views

Why maven build slows in docker container when local maven repo mapped to container's /usr/share/?

We run Jenkins pipeline on docker container. During the run, we mount host's .m2 to container's with - -v $HOME/.m2:/usr/share/.m2 When host's .m2 mounted into container's /usr/share/.m2 maven build ...
-1
votes
0answers
5 views

Run python script periodically [closed]

I would like to run a python script on a windows machine every minute (even if the machine is locked). It’s for a personal project. I tried with the W10 task scheduler, despite checking checkboxes it ...
0
votes
0answers
14 views

Is virtualization always a virtual machine? [closed]

In Unix and Linux StackExchange I used the tag "virtualization" and it was changed to "virtual machine" automatically. Is virtualization always a virtual machine? A virtual ...
0
votes
1answer
7 views

Where/what is the `auto-devops` script in gitlab's “auto devops” staging stage?

https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/Jobs/Deploy.gitlab-ci.yml staging: extends: .auto-deploy stage: staging script: - auto-deploy check_kube_domain - ...
0
votes
0answers
7 views

Given a set starting point, how can I tail ALL of the logs regardless of startup/shutdown of individual pods using the OC command?

We have a migration we are doing. I want to grab ALL of the logs as we are doing it. So if I start tailing and one of my pods shuts down, that should work OK however I don't see how to get the logs if ...
1
vote
1answer
7 views

How do I set a base domain for gitlab's auto devops?

Docs seem to point to https://docs.gitlab.com/ee/user/project/clusters/index.html#base-domain However it doesn't seem to specify how to set the base domain strangely enough. Can't seem to find info no ...
0
votes
0answers
10 views

What is the best host solution for a medium starter aplication nowadays?

I'm am deploying an application that can be split into a dashboard with some control systems and an API. The system was developed to be an web interface for some scripts and bots used by a community ...
1
vote
2answers
21 views

How can I get the Docker target platform inside the Build Environment / Dockerfile

I'm doing multi-platform builds with buildx and would like to know if there is a way to determine what platform is currently being build so I can avoid certain steps for certain environments. For ...
1
vote
0answers
24 views

How to use Hashicorp Vault with NodeJS application?

I have Node JS app inside pods, which needs to read vault secrets. So far I found 2 methods for doing that Using init container to mount secrets as .txt files and read/parse them in my app Using node-...
0
votes
1answer
15 views

Does RAM Come Into The Container vs VM Decision?

I am currently running a Java trading system on a VM that needs ~32 GB RAM and runs (almost) 24/7. There are a couple of engines linked to it that require 4GB + 8BG respectively. I am considering ...
1
vote
0answers
7 views

How to trigger email when container changes

Is there a way in Azure to trigger an email send when for some reason the docker container changes? The containers are running in App Service Environments. When I have Jenkins change the container, ...
0
votes
0answers
12 views

Missing SSL settings on LoadBalancer using EKS

I've a stranger situation using EKS, follows my environment: EKS - kubernetes version v1.18.9-eks-d1db3c Ingress - Traefik:v2.3, and we have 2 load balancers internal - load balancer external - load ...
1
vote
0answers
15 views

Docker image, containers and layers

I want to use docker to compile a custom PHP executable. I plan to use alpine as a base image, installing the required tools (build-essentials, etc). The goal is to have the most minimalist resulting ...
1
vote
0answers
12 views

Parallel execution of same job with different configuration- pipeline jenkinsfile script path is updated incorrect

I have a jenkins job A and i have 5 tests (each triggering job A with updation of different jenkinsfile script path as Before Each test) executing in parallel Test1 with pipeline-jenkinfile-1 Test2 ...
0
votes
1answer
10 views

Update volume size dynamically from inside a POD

I was wondering how I could dynamically create and then mount new volumes from inside a pod ? At runtime ! I have to download a lot of files with very different sizes and would like the storage to ...
0
votes
0answers
14 views

What if EC2 in public subnet is not assigned public IPv4

Hi I'm struggling to understand of public vs private communication in Amazon VPC. what if EC2 instance is not assigned public ipv4 in public subnet, can it get traffic/data from any other EC2 ...
-1
votes
1answer
10 views

ansible ad hoc issue

I though it should be possible to run a ansible ad hoc to enable or disable a cron job. ansible shows success with "changed": true, but the cron jobs is not enabled. I see this as a false ...
0
votes
0answers
13 views

Is it safe to run Prometheus on public server?

I'd like to provide stats about a website uptime to general public. Is it safe to run Prometheus with default settings on a web server that is accessible from the internet?
1
vote
1answer
28 views

How does Docker Swarm balance tasks?

From docs.docker.com - force-the-swarm-to-rebalance I can see that Docker Swarm "tasks are given to less busy nodes" to reach eventual balance. I'm trying to find more info on what "...
0
votes
1answer
16 views

TravisCI: Pandas version advanced (Jan 2021) numpy is now incompatible

I am very much a TravisCI beginner. That said, I maintain python package mplfinance and we run a TravisCI test suite for every Pull Request. We run the same tests for py36, py37 and py38. ...
2
votes
1answer
30 views

Is there a better model for my CI/CD cycle?

I am having some troubles finding a better model for my CI/CD cycle. This is mainly gitflow issue. My current model : We have 2 bitbucket branches : master and develop. Both are linked via webhooks to ...
0
votes
1answer
7 views

automysqlbackup fails, return ERROR 1045 [closed]

After a mariadb issue, I should remove/re-install my mariadb server part After that, automysqlbackup doesn't work anymore. it returns ERROR 1045 (28000): Access denied for user 'root'@'localhost' (...
1
vote
1answer
25 views

Docker Build Ending Up `returned a non-zero code: 1`

Running mktexlsr /var/lib/texmf ... done. Building format(s) --all. This may take some time... done. build.sh: line 81: -: No such file or directory The command '/bin/sh -c bash build.sh' ...
0
votes
1answer
13 views

Jenkins and Kubernetes CLI plugin and GKE

I'm trying to use Jenkins Kubernetes CLI plugin from https://plugins.jenkins.io/kubernetes-cli/ to let deploy artifacts from Jenkins to GKE cluster. Expected Behavior Get cluster info on kubectl ...
1
vote
1answer
53 views

Can we do zero-downtime kubernetes deployment with a single pod?

I've inherited an app with K8s services with the following config spec: ... replicas: 1 strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 1 type: RollingUpdate For most ...
0
votes
1answer
14 views

Two identical Azure deployments; one always throws 404 - how to find out what the difference is?

I am deploying a C# ASP.NET Core web service to Azure using Pulumi. I can deploy it in 3 ways: Run it locally from Visual Studio, i.e., not using Azure at all. Deploy it to Azure from my local ...
0
votes
0answers
4 views

Kubernetes manifest files variable substitutions on with Azure DevOps release pipeline variables

I have a CI pipeline on Azure DevOps with a single variable named "foo". In one of my kubernetes manifest files I would like to input that variable, so I have put in this: spec: ...
0
votes
0answers
11 views

How am I getting more 503s than requests with my AWS Application Load Balancer? [closed]

I have an Application-type load balancer with AWS that serves 3 node apps. On weekends, very few requests come in. I noticed today more 503s than it gets requests. Sporadically I'll get 1 or 2 here ...
0
votes
0answers
5 views

Setup a configurable whmcs-whm development environment

I have several clients on different WHMCS, WHM and PHP versions. I need to setup a development environment with configurable WHMCS, WHM and PHP versions to test WHMCS add-ons before releasing to ...
0
votes
1answer
56 views

Is Helm not for me?

I've been studying Kubernetes and Helm lately (I'm new to both) and figuring out how I can fit them into my companies CI/CD process. On top of this, I want to adapt to the GitOps process, where you ...
-1
votes
0answers
18 views

New to DevOps looking for resources [closed]

I'm looking for any resources for a newb in DevOps. I've been spending a fair amount of time in r/Devops but I'd appreciate any resources that you would recommend. Specifically, I want to better ...
0
votes
1answer
45 views

How can I add a when clause for a specific upstream trigger in a Jenkins declarative pipeline?

I have a job defined as a declarative pipeline that gets triggered by a number of different upstream jobs. Depending on which upstream job triggered my job, I don't necessarily need to run all of the ...
0
votes
0answers
11 views

Retrieving project version from csproj in Azure Pipeline .NET Core CLI task

I have the following tasks in my yaml file in Azure DevOps It publishes my console application and zip it in a file - task: DotNetCoreCLI@2 inputs: command: 'publish' publishWebProjects: ...
0
votes
0answers
7 views

How I can cache the built layers on docker build using travis.ci?

In my project I use the following .travis.yml language: shell os: linux dist: xenial git: depth: false services: - docker env: global: - LATEST=39 - LATEST_LTS=39 jobs: - "...
0
votes
1answer
20 views

How do I enable Google App Engine API with Terraform?

I'm attempting to enable the AppEngine service via Terraform but I'm getting an error: Error: Error creating App Engine application: googleapi: Error 403: App Engine Admin API has not been used in ...
0
votes
0answers
18 views

What's the equivalent of the eksctl CLI “--fargate” option in a config file?

I read How to run Serverless Kubernetes: AWS EKS on Fargate, and am wondering what the equivalent option for --fargate is in a config schema shown in Config file schema? I tried $ eksctl create ...
0
votes
0answers
7 views

What criteria should I use to choose the vcenter to build my next cluster of machines?

I've got a system where we create a handful devices periodically on Vcenter servers spread out geographically, we build in one "pod" or another. The load starts out the same and grows in a ...
0
votes
0answers
12 views

Run elixir commands with gitlab-ci

To automate elixir based application ,created a systemd service [Service] Type=simple User=gitlab-runner Group=gitlab-runner Environment=LANG=en_US.UTF-8 WorkingDirectory=/path/to/elixirModule ...
0
votes
1answer
16 views

What is the equivalent of eksctl option “--alb-ingress-access” in a config file?

I read How to run Serverless Kubernetes: AWS EKS on Fargate, and am wondering what the equivalent option for --alb-ingress-access is in a config schema shown in Config file schema? At least it's not ...
0
votes
0answers
7 views

How to add domain users to DevOps Server 2020 so they can connect via Visual Studio

I am unable to connect to a Azure Dev Ops Server in Visual Studio using a domain user account. I always get the TF30063 error when trying to connect to the server. I added the user to the team groups ...
-1
votes
0answers
5 views

Publish python module to Azure Artifacts Feed from Git

How to publish self-written python module to Azure Artifacts Feed from Azure Repo with Azure Pipelines?
0
votes
0answers
25 views

nginx configuration with apache to serve multiple virtual websites

I have simple nginx configuration server { listen 80; listen [::]:80; server_name test.mydomain.com; location / { add_header Content-Type text/plain; return 200 'we are at least here'; ...
0
votes
1answer
7 views

Ansible - Azure resource referencing

My aim is to have my vnet and subnet in a seperate resource group from the other parts of my infrastructure i.e Virtual Machines. I have a short playbook that creates the resource group for my network ...

15 30 50 per page
1
2 3 4 5
81