devops
Remove service on docker-compose through overriding
You may have to switch to version: 3 to do this, I believe on version: 2 you can use the “scale” parameter but I’m not 100% sure. Anyways, you can override the “replicas” parameter like this: # docker-compose.prod.yml version: “3” services: db_for_development: deploy: replicas: 0
How to give a .tf file as input in Terraform Apply command?
You can’t selectively apply one file and then the other. Two ways of (maybe) achieving what you’re going for: Use the -target flag to target resource(s) in one file and then the other. Put each file (or more broadly, group of resources, which might be multiple files) in separate “modules” (folders). You can then apply … Read more
Docker daemon is not running
Doing an combination of following two things might help : – Exit docker from tray (lower right hand of the windows desktop) – Relaunch it as administrator (Start Menu –> Type “Docker” –> Right Click the icon –> “Run as Administrator” Please see if you still get the error.
Using Vagrant to set up a VM with KVM/qemu without VirtualBox
Start vagrant box with command vagrant up –provider=kvm Although it has been said in https://seven.centos.org/2017/08/updated-centos-vagrant-images-available-v1707-01/ that The vagrant-libvirt plugin is only compatible with Vagrant 1.5 to 1.8
docker-compose: how to see file-changes instantly (when developing)
The idea of “Development/Production parity” confuses many on this front. This doesn’t mean that you can simply have a single configuration and it will work across everything; it means you’ll have much closer parity and that you can create an environment that resembles something very close to what you’ll have in production. What’s wrong here … Read more
What is the correct way to setup multiple logically organized sub folders in a terraform repo?
You are seeing this issue because terraform ignores subfolders, so those resources are not being included at all anymore. You would need to configure the subfolders to be Terraform Modules, and then include those modules in your root main.tf
How to fix VM issue with minikube start ?
Figured out the issue. VirtualBox was not installed correctly as Mac had blocked it. It wasn’t obvious at first. Restarting won’t work if VirtualBox isn’t installed correctly. System Preferences -> Security & Privacy -> Allow -> Then allow the software corporation (in this case Oracle) Restart Now it worked as expected.