All Questions

Filter by
Sorted by
Tagged with
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
33 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
25 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
36 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 ...
1
vote
1answer
183 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
26 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
2answers
78 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
15 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
10 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
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
67 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 ...
0
votes
1answer
102 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
18 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
10 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
53 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
29 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
16 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
28 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
8 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 ...
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
21 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 ...
2
votes
2answers
286 views

Use one Helm chart for ALL microservices?

This is a follow up question to my post Parameterized Kubernetes manifest files?. I understand more about Helm now, after lots of reading, including the Learn Helm book (which I recommend). I still ...
1
vote
1answer
32 views

Azure Dev Ops delete releases not going to production

I have several release pipelines that build to a UAT environment on a continuous integration. They await deployment to Production on an approval. A new release cancels the previous Production ...
0
votes
0answers
7 views

Github actions can’t access swift package

# This is a basic workflow to help you get started with Actions name: CI # Controls when the action will run. on: # Triggers the workflow on push or pull request events but only for the main ...
1
vote
2answers
48 views

Tool to produce nice output about desired vs. current state

I've been trying to stick to the "infrastructure as code" principle as much as possible in my work. But after the devops project got more complicated I started loosing the centralized ...
0
votes
0answers
21 views

Azure Web App for containers Connect to Monitoring

Using Azure Web App for containers to serve a PHP App on Apache2 in a Linux container, I would like to see and further analyse my Application logs in Azure Monitor. From there I would like to ...
0
votes
0answers
61 views

Jenkinsfile pipeline ecr docker tag parameter

I've been trying to get a solution for a docker image tag drop down parameter in a Jenkinsfile for a deploy pipeline. So basically, pipeline as code, with choose your own image tag to deploy this ...
0
votes
0answers
22 views

Building the rpm package in teamcity and installing the packages required to build this

I'm new to building RPMs . I need to build a source code from github and that is throwing missing header file systemd/sd-journal.h: No such file or directory . For this, I found on one of the github ...
0
votes
1answer
87 views

Add stages to Jenkins declarative pipeline through shared library

Is there a way to write a stage in a Jenkins shared library so that it can be added to declarative pipelines? Background For many projects, I need to run tests on multiple different servers. My ...
0
votes
2answers
50 views

Can I run multiple pipelines in a single GitLab repo using GitLab CI/CD?

I know that I can't have multiple gitlab-ci.yml files in one repo, but it still seems fairly limited. Say for example I have one set of tests I want to run whenever a change is pushed or on PRs, and ...
0
votes
1answer
45 views

Can I move SSL certificate files from one server to another for the same domain?

I have a website running at https://domain.com and IP a.a.a.a, with an SSL cert issued by GoDaddy. The server is deployed with Nginx. Everything is working fine as it is. However I'm trying to deploy ...
0
votes
1answer
37 views

REST API: create project with powershell returns unspecified internal error

I'm creating a a project with the code below. The response is always an unspecified error. Invoke-RestMethod : {"$id":"1","innerException":null,"message":"...
0
votes
0answers
24 views

Error - “`block (2 levels) in <top (required)>': wrong number of arguments (given 1, expected 0) (ArgumentError)”

I get this error when I run a simple vagrant script to spin up a VM. The "provider" is VirtualBox & the "box" to be used is CentOS7. I have tried to change the hostname to all ...
0
votes
0answers
38 views

Connecting Gradle with Helm/Kubernetes

I understand the concept of GitOps, where Git is the source of truth. Well with us that's partly true. Gradle is our source of truth, and our build.gradle files, which are stored in Git, define the ...
0
votes
0answers
12 views

Issue in copying files from base image to second image multistage

I am using multistage to reduce size of docker image and size of second image is reduced but when I try to run docker container from second image, I am retrieving no module found cv2. How would I ...
0
votes
0answers
24 views

Best way to organize e2e testing in separate environment without intervention to stable development process

Hello DevOps community! TL;DR What are your cases where you integrated cypress end-to-end testing to your project? What are the best approaches? Pitfalls? Long story... I got the QA engineer asking me ...
-1
votes
1answer
16 views

Documentation of Azure DevOps Server 2019 Rest API

Is there anywhere a documentation, that ony references the RestApi 5.0? So I can find only what I am able to use?
0
votes
0answers
3 views

Elasticsearch snapshot struck in inprogress state from one week

In one of my ES cluster, the elasticsearch snapshot was struck in inprogress state from few days. I tried below options, but it didn't work out. ElasticSearch Version: 5.6.10 Tried the delete the ...
0
votes
0answers
8 views

Salt - Need state to check pillar and perform a if/else check

This is salt 101 I think, but I'm really a salt N00b and need assistance. I need to disable specific services on all of our servers by default, but I need to create a pillar that allows me to override ...
0
votes
0answers
15 views

How can I pinpoint a bottleneck to optimize database queries?

I'm using GCP with a Mysql 5.7 Cloud SQL instances. I have a VM which reads/writes data with the instance. My operations (a PHP script which reads and writes to the database) do not seem to have an ...
0
votes
0answers
14 views

Test Kerberos, SQL Server running on Docker on local MAC

I have SQL Server running on docker and did the setup using the following : https://www.quackit.com/sql_server/mac/install_sql_server_on_a_mac.cfm Then I setup Kerberos on local using the following : ...
0
votes
0answers
20 views

How can i setup Blue/Green deployment using Cloudflare loadbalancer

I am attempting to setup blue/green deployment in our production environment. I cannot seem to find any documentation on this being done using cloudflare loadbalancer except the document regarding ...
0
votes
1answer
59 views

Enable/disable resource in terraform using count

I added a piece of code to support enable/disable to the feature - I used the count. Now I have the following problem: ERROR: on modules/eventhub/main.tf line 110, in resource "azurerm_eventhub&...
0
votes
0answers
15 views

kubeadm installation issue in google cloud platform

I am installing opensource kubeadm in google cloud platform using k8s configuration files. As part of the installation, i updated the cloudprovider values as gce in initconfiguration, apiserver and ...
0
votes
1answer
22 views

Disabling HTTP Basic auth for requests from specific ips in k8s ingress

Currently I have a webpage which is freely accessible from certain networks an requires HTTP basic auth otherwise. This behaviour is set in the nginx config. It looks something like this: geo $...
0
votes
1answer
37 views

Ingress ip returns HTTP error DNS_PROBE_FINISHED_NXDOMAIN

I have the next ingress (output of "kubectl get ingress") NAME HOSTS ADDRESS PORTS AGE main * 192.168.39.190 80 46m But when I try to visit that IP address in ...
0
votes
0answers
10 views

Elastic Beanstalk Log Line Breaks

I have a Node.js app running in Elastic Beanstalk and logging using console.log, console.error etc...then I have CloudWatch logs turned on. When I go to the Insights and do a query it shows up but ...
2
votes
1answer
62 views

Using helm to manage an “environment?”

I'm new to Kubernetes, and hence helm, so I've been reading a lot, and teaching myself by setting up a cluster, services, deployments, and pods. In my case I use AWS EKS. I now at least understand ...
0
votes
1answer
19 views

AWS S3, as an organizer see empty bucket

I am an owner of organizer in on my aws account. When I enter S3 I see one folder, which is empty. But its being billed 8$ per month, so smth should be there. Is it possible that one account, of my ...

15 30 50 per page
1 2 3
4
5
84