Most Popular

1500 questions
4
votes
1 answer

Remove resource from Kustomize base?

I have a kustomize base that I'd like to re-use without editing it. Unfortunately, it creates a namespace I don't want to create. I'd like to simply remove that resource from consideration when compiling the manifests and add a resource for mine…
Josiah
  • 363
  • 4
  • 11
4
votes
2 answers

Helm charts: Can't access defined named templates in subcharts

I am having trouble accessing some named templates defined in the main chart from subcharts. As it is in the documentation that every defined named template is global, I'd like to get help on what I am doing wrong here. Below is the defined named…
William
  • 41
  • 1
  • 2
4
votes
1 answer

Who redirect ports on Windows to access http container?

When we use Linux, Docker can create a rule using iptables to do a port redirection to connect in the http of a container. When we use Windows, how does this work?
user2935
  • 41
  • 1
4
votes
1 answer

How to run a single one-time command on a kubernetes instance/pod

Currently I have a setup on AWS with 4 EC2 machines. They provide a web interface that among other things also has a database search. My recent project was to move the database search to AWS Elastic Search. That took a while but in the end it was…
ChatterOne
  • 143
  • 1
  • 4
4
votes
1 answer

Salt Stack environments ignoring saltenv

I have a salt master with four environments configured (base, dev, staging, prod) I am initially trying to set a pillar item to track which envrionment is in use, namely core:env However when I try to switch environments using the following…
Michael B
  • 253
  • 1
  • 7
4
votes
1 answer

How can I share a (global) variable between salt states?

I am using Salt for deployment and configuration management. In order to attach to a FreeIPA server, I need to randomly generate an OTP token and then use it to attach to IPA. How can I share a variable between SLS files? For example, init.sls: {%-…
James Shewey
  • 3,734
  • 1
  • 15
  • 38
4
votes
1 answer

Why should I store artifacts?

Why should I store artifacts? I'm doing it but i don't know if it still make sense. My builds are fairly quick I do git tag versioning None of my builds depends on another. (all independent micro-services) Any compelling reason to keep this…
gabrielpe
  • 78
  • 4
4
votes
2 answers

Secrets in Docker without Swarm

I am using Docker, but not Swarm (or any other orchestration) for a project. Is there a way to leverage Docker Secrets without Swarm?
a20z
  • 41
  • 1
  • 2
4
votes
2 answers

How to prune all but two most recent docker images?

I'm building images on a small server and spinning them up with docker-compose. When it's disk gets full I run docker prune -a so all the stopped containers, dangling image are cleaned out. But I'd like to keep one or two recent images in case I…
Kickaha
  • 153
  • 1
  • 6
4
votes
2 answers

Create service per pod in statefulset

I have a statefulset app which can have any number of replicas. The pods produced should be able to communicate to external comptures. Those pods must act statefully when clients communicate with them. I tried to create headless service and nodeport…
4
votes
1 answer

auto delete aws S3 backups

I need to automate deletion of aws S3 backups ... evidently if I tag the backup with one of daily, weekly, monthly, yearly then aws will delete based on my desired retention counts per those periods however I see no easy way to determine which of…
Scott Stensland
  • 489
  • 3
  • 14
4
votes
1 answer

How not expose my backend

I'm studying Docker and how to properly publish my containers coding a very simple web application. It has only two containers, backend and frontend. I've published the source code here: https://github.com/sinayra/hello-private-world If I run…
Sinayra
  • 43
  • 3
4
votes
2 answers

Is it common for DevOps engineers to write code for user requirements?

After reading some articles about DevOps, I understand that DevOps engineers do write code. However, it's a bit unclear to me about what kind of code a DevOps engineer write. Assume that there are (very roughly) 2 categories of code: For system…
johnlinp
  • 143
  • 2
4
votes
2 answers

Can a kubernetes pod be forced to stay alive after its main command fails?

After starting a long running kubernetes job we've found that the final result will fail to upload to its final location. We would like to force the pod to stay open after the main process fails so we can exec in and manually process the final…
David Parks
  • 331
  • 4
  • 15
4
votes
1 answer

Jenkins Docker Behind Reverse Proxy Adds ":80" to the URL

The Jenkins container redirects to URL:80, which is causing an error. When I remove the :80, everything is working as it should. I have tried the proxy with a simple web app and there were no issues. This is the docker-compose.yml…
Kyle.C
  • 41
  • 2