All Questions
1,034
questions with no upvoted or accepted answers
10
votes
0
answers
2k
views
Provisioning times for Redis in cloud taking too long, how can we shorten it?
Provisioning a 1 GB Redis cache service on AWS takes around 8 minutes. Doing the same on Azure takes around 16 minutes. Ours Terraform scripts need the call back from the Redis systems. Why is this ...
8
votes
0
answers
3k
views
Is there a standard pattern for doing flyway migrations on a kubernetes stack?
There's these instructions from redhat but they're cooking their own flyway.
Here's what I've done:
I have a dockerfile that looks like this:
FROM boxfuse/flyway
ADD ./flyway /flyway
#TODO: ...
6
votes
1
answer
125
views
What are the metrics to consider when doing API performance testing?
I want to establish the benchmark behavior of my API through performance testing.
The purpose is to ensure that the product meet or exceed requirements such as:
Throughput
Response time
Stability
...
6
votes
1
answer
3k
views
Defining and using bash functions in AWS CodeBuild
I thought I could slightly improve readability of repetitive sed calls when inserting secrets into a file with AWS CodeBuild. I defined a bash function:
replaceConfig() { sed -i 's|{'$1'}|'${!1}'|' ...
5
votes
1
answer
2k
views
Testing for EL with Ansible facts; distribution or os_family?
Sometimes in an Ansible playbook, you'll want to condition running a task on whether or not the distribution is CentOS, RHEL, etc, or if it's something else. A very common example is when a package is ...
5
votes
2
answers
990
views
Azure DevOps - How Do I Change the Service Connection for a Build Pipeline
I have a build pipeline already configured using a .yml file. I transferred the repository over to a different organization on GitHub, added all of the necessary Azure Pipelines integrations and ...
5
votes
4
answers
3k
views
ERROR: Unable to read database state: No such file or directory
I was trying to install Photon by pulling the docker image. But when I run docker build -t photon . I am getting the below error.
---> Running in 3076fb42ef8b
ERROR: Unable to read database state:...
5
votes
1
answer
939
views
Is there any way of getting code coverage with molecule?
I'm currently working on testing Ansible roles with Molecule. I have one role with 2 scenarios that are executed in Jenkins but just before that, those are submitted to a SonarQube analysis. So I ...
4
votes
0
answers
265
views
Does the GitHub Container Registry provide something like a Deploy Key?
Currently I push to the GitHub Container Registry (GHCR) with my Personal Access Token.
Is there a method to deploy a PRIVATE project "GitHub Container Registry" such that a token will only ...
4
votes
0
answers
1k
views
Kubernetes deployement with minimum disruption to websocket connections
Problem statement: Make a deployment with minimum disruption to clients connected via websockets.
Stack: GKE (Regional cluster - 1.22.8-gke.200), helm, Node.js/websockets, HPA, Rolling Update.
Our ...
4
votes
0
answers
374
views
How do I find out exactly when a Github personal access token was last used?
A few days ago, I got an email from github saying that a personal access token that we used is in an 'outdated format':
We noticed that an application, TeamCity(ci.support.example.com), owned by an ...
4
votes
0
answers
189
views
Build Windows image for openstack with packer
I am trying to build Windows image for Openstack with packer, but i don't know how to add the autounattend.xml file or floppy files.
I build the image with success from qemu but I cannot find the same ...
4
votes
0
answers
59
views
How do I get synced_folder to execute after a shell provisoner
So what I think I'm trying to do is pretty simple, I need to execute the following in-order:
Run a script that will install via script VBoxLinuxAdditions.run [this is working when I run it by itself]
...
4
votes
1
answer
3k
views
Jenkins error using Junit plugin: Test reports were found but none of them are new. Did LeafNodes run?
I'm trying to get our test reports (generated using google test with the xml output switch) into Jenkins, but keep getting the error message:
Test reports were found but none of them are new. Did ...
4
votes
0
answers
213
views
Installing Packages from a 3rd Party Repository with FAI
Problem
I want to install Docker CE on a Debian Stretch system using Fully Automatic Installation (FAI). The official Docker documentation recommends that you install Docker using their package ...
3
votes
0
answers
30
views
Measuring image pull latency in k8s cluster
I maintain a Kubernetes clusters that pulls a number of images (mostly from Docker Hub, but also some from GCR and GHCR). I am interested in building a dashboard to measure the amount of time it takes ...
3
votes
1
answer
189
views
How to use same terraform code for both kubernetes clusters Oracle (OKE) and AWS (EKS)?
I want to use same terraform code for both kubernetes clusters oracle (OKE) and AWS (EKS) and install the argocd helm chart on it, I given my code below for your reference, now the problem I am facing ...
3
votes
1
answer
443
views
"ipv6_cidr_block": all of `ipv6_cidr_block,ipv6_ipam_pool_id` must be specified
Usage: import
Version:
Terraform v1.1.9
provider registry.terraform.io/hashicorp/aws v4.11.0
I've something like this defined:
assign_generated_ipv6_cidr_block = "true"
cidr_block ...
3
votes
0
answers
689
views
How to configure registries.yaml to point to several Harbor proxy cache registry?
I have configured a Harbor (with SSL and FQDN: harbor.example.com) as a proxy cache for several docker registries (docker.io, quay.io and k8s.gcr.io). I can pull any images without any problem from ...
3
votes
0
answers
1k
views
Share cache between gitlab.com owned runner and self hosted runner
We are in the middle of migrating from Self Hosted GitLab to Gitlab.com (Cloud). This also means that we are shifting building through shell, to building through Docker (using Kaniko).
A summary of ...
3
votes
0
answers
570
views
Create a Kubernetes Service that loads an external host url AND port
I have a url like this: http://myserver.mydomain.com:98765
I need to have this url be a Kubernetes service so I can address it in Kubernetes like this: my-service.mynamespace.svc.cluster.local. (So, ...
3
votes
0
answers
1k
views
How to boot the system in cgroup v2 mode?
I used the following commands to install docker in rootless mode.
curl -sSL https://get.docker.com/rootless | sh
systemctl --user start docker.service
systemctl --user enable docker.service
sudo ...
3
votes
1
answer
307
views
Incorporating python linter(flake8) in the CI/CD pipeline that use GitHub, Github Actions in a code base that is not in compliance
I have a codebase that is not in compliance with flake8. The CI/CD pipeline uses GitHub/GitHub actions. I would like to start adding python flake8 (to check for complexity, errors and code smells) ...
3
votes
0
answers
66
views
Monitoring SSRS report server with AppDynamics
I've spent several days trying to figure out how to set up AppDynamics to monitor our SQL Server Reporting Servers, and am encountering the issue where multiple nodes for the same server and ...
3
votes
0
answers
43
views
Is there an all-in-one control center software that can be used to manage build and test execution and to visualize test results?
If there are no constraints with regards to other components used in the system at all, do you know a software that can be used as a sort of "cockpit" / control center to visualize test ...
3
votes
0
answers
1k
views
Jenkins Unable to Match Two Identical Strings
I have a config file that's in YAML format, which includes this relevant portion:
project:
protectedBranches:
- master
- develop
- feature/something
In my Jenkinsfile, the YAML file is ...
3
votes
0
answers
702
views
Where are Docker containers stored on disk?
I'm learning about Docker. I feel stuck at the moment, I think that I have some wrong concepts about how Docker works, and that shadows how it actually works, but I can't really locate the problem. I ...
3
votes
1
answer
206
views
Is running linux container on windows aws instance possible?
what I'm trying to achieve is running a Linux(ubuntu LST) container inside a windows server 2019 OS.
The problem is that the windows OS runs as an AWS instance.
There have been problem for me trying ...
3
votes
0
answers
2k
views
Copying a large number of files (>4GB) into a Kubernetes pod results in error code 137
I'm trying to find a workaround for this that isn't incredibly slow. I'm trying to download a large data folder from a Kubernetes pod for reupload to another cluster that is not connected to the ...
3
votes
0
answers
128
views
Grafana K8s microservices availability dashboard based on actuator uptime
I need to create a dashboard that is using micrometer prometheus spring actuator endpoint to show all services for a given namespaces in green boxes or red boxes depending on status, the boxes should ...
3
votes
0
answers
536
views
How can I run a script in an Azure WebApp container after deployment as part of an Azure DevOps Pipeline using the classic pipelines interface?
My knowledge of Azure is pretty limited - this is the first project where I've worked with it.
We are deploying Azure webapps in docker containers via an Azure pipeline configured with the classic ...
3
votes
0
answers
277
views
How to deploy StatsD listening on UDP in kubernetes with external loadbalancer on AWS?
Our goal is to have StatsD deployed on k8s cluster running on AWS.
Currently all existing applications using UDP to send StatsD metrics.
As we understood from the kubernetes docs and tests we ...
3
votes
0
answers
370
views
Confluent Kafka helm chart - broker pods not being able to communicate to Zookeper overtime
We are running confluent helm chart on a lot of clusters, we occasionally get brokers pods failing after some time and no self-heal after is following, the error in the broker usually is the following:...
3
votes
0
answers
904
views
Remote connection from Docker container by FTP
I built my docker image and run it:
docker run --rm -P -d test:latest
Then I entered the command and opened connection:
ftp
open XXX
I successfully connected and entered user data. After that I ...
3
votes
0
answers
2k
views
Error MSB4226: Microsoft.WebApplication.targets" was not found
I was wondering if someone has ran into this problem as I have tried everything to fix. I have a DevOps build pipeline in Azure running visual studio 2015 version (which matches my local machine) and ...
3
votes
0
answers
376
views
Enable SSLv3 in Minikube Nginx Ingress
I have some problems with enabling SSLv3 in my Nginx Ingress used as a Minikube addon.
I have read in docs how to do it. It should be as simple as adding single map.
Unfortunately I haven't had much ...
3
votes
0
answers
34
views
How can I allow admins to run Django Admin CLI commands against a Django application deployed live as part of a Docker Swarm cluster?
Specifically, I want them to run the following: https://django-q.readthedocs.io/en/latest/monitor.html
I am looking to write a minimal wrapper-script which would simply allow them to run a single ...
3
votes
0
answers
37
views
how to protect proxy credentials of a local docker daemon run by systemd from viewing by ordinary users?
i have my local docker CLI binary connected with a docker daemon on the LAN (or better say on the same machine). for certain duties this daemon needs to connect to the internet via a company firewall/...
3
votes
0
answers
1k
views
Istio - corsPolicy allowOrigin from virtualService not blocking curl requests from different origins
Bug description
1.2.2/1.2.10/1.4.0/1.5.1/1.5.2/1.5.3/1.5.4/1.6.0 - allowOrigins not blocking curl requests from different origins. Security vulnerability scan has detected this. When I curl if a ...
3
votes
0
answers
456
views
Thanos or Cortex - What handles very large scale (say, hundreds of millions of time series) better?
We're looking at a new metrics solution and are attempting to build it in house. So, my question is:
What can scale more effectively / with less pain; Thanos or Cortex?
I understand the general ...
3
votes
0
answers
258
views
Spinnaker not showing images in pipeline trigger
I have a Spinnaker pipeline which I am trying to add an automated trigger from an ECR repo. Spinnaker lets me add the docker registry as per the following spinnaker doc link, however I am unable to ...
3
votes
0
answers
818
views
Kubernetes metric or command to show liveness delay time (app startup time)
HTTP Kubernetes liveness and readiness checks are configured as per the documentation.
The initialDelaySeconds field tells the kubelet how long it should wait before performing the first liveness / ...
2
votes
1
answer
26
views
Use an asymmetric cypher to secure Ansible vault
I'm trying to develop a Playbook which must handle sensitive user data (SSH keys, Registry credentials, etc.).
Only a user and the Ansible controller can see the data associated with that same user.
...
2
votes
0
answers
51
views
Deleted service connection in Azure DevOps and now cannot select a new one
I deleted what I thought were unused service connections in Azure DevOps, and now I cannot change the connection on existing pipelines. The build pipelines are yaml based but the service connections ...
2
votes
0
answers
59
views
Ingress losing some settings on restart (k3s)
I'm experimenting with some Kubernetes stuff TrueNAS Scale, which comes with k3s (1.25.3) installed. I installed one of the TrueCharts apps (https://truecharts.org/) but the settings for it appear ...
2
votes
0
answers
25
views
Jenkins build fails when no commits in the code (ChannelSftp.throwStatusError)
I have built a jenkins pipeline for executing a test on a windows server. Once the automated test report is generated on the windows server, it ships that report to a different server.
There are ...
2
votes
0
answers
134
views
Installing k3s: zsh: not enough directory stack entries
When I install k3s, I'm getting
zsh: not enough directory stack entries.
You can see this at the bottom of the log below,
$ curl -sfL https://get.k3s.io | sh -
# Check for Ready node, takes ~30 ...
2
votes
0
answers
42
views
how to specify query when searching for run in jenkins blueocean rest api
I have some jenkins project, that has multiple pipelines defined. I can easily search for runs for a certain pipeline:
$ curl -k --silent "https://<SOME_SERVER>/blue/rest/search/?q=type:run;...
2
votes
1
answer
55
views
Kubernetes repeating job with start and end date?
I am looking to see if there is a way of running a task on a repeat interval with an explicit start and end date.
In the ecosystem I have found that Cron Job task type lines up very well with a repeat ...
2
votes
0
answers
21
views
AWS Cloudformation - managing multiple stages versioning and deployment
I'm working on a simple cloudformation stack for a web app (some lambda functions, api gateway, cloudfront distribution, etc).
The cloudformation stack template is currently versioned on a gitlab ...