kubelet connecting to docker.sock instead of containerd.sock
Kubernetes version: latestInstallation method: kubeadmHost OS: debian9container runtime: containerdKubelet fails when starting and after inspecting the logs using journalctl -xeu kubelet i see that it...
View ArticleWhy it is recommended to run only one process in a container?
In many blog posts, and general opinion, there is a saying that goes "one process per container".Why does this rule exist?Why not run ntp, nginx, uwsgi and more processes in a single container that...
View ArticleChange docker container’s log PATH
Team:All my container logs are under /var/log/containers..Where in kubelet or docker config can I specify this path such that logs are instead created under new path?Ex : /shared ? Instead of /var/log
View Articlekubernetes quota vs limit. What are they? How are they different? When should...
I have been reading through the docs but it still is not clear as to why I should use one or the other. They have great examples of how to configure them but don't answer the why for quotes or limits...
View ArticleHow can I use a buildah script for image generation using GitHub Actions?
Buildah scripts typically use shell. You can see an example of a script here,#!/bin/shctr=$(buildah from alpine:3)buildah commit "$ctr" myAlpineImageLet's say I have such a shell script that produces...
View ArticleHow to create a local network mapping in linux
I'm deploying nextcloud via docker, however the way the configuration is set up, it creates a subnetwork at 10.10.10.0/24 on the system it's running on instead of running it on 127.0.0.1. Then the only...
View ArticleDocker 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 directoryThe command '/bin/sh -c bash build.sh' returned a...
View ArticleIncrease concurrent users by limiting container resources with docker-swarm
Consider the scenario where I have:4 replicas of an app4 coresOn load, the app consumes 100% for a single coreCan I tell each replica to only use 50% of the core and if so, would this allow at most 8...
View ArticleDoes 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 moving...
View ArticleContainer Image Promotion across environments in ECR/ECS
We have started doing some initial work on deploying containers on ECS Fargate service.However we are not yet completely figured out how to manage our image promotion across different environments.In...
View ArticleHow to build, package and deploy a react-native-web app in a Docker container?
Given there is a react-native-web solution, what needs to be done to build it and run inside a Docker container?What is the build environment/toolchain?Which environment is required to run?From what I...
View ArticleService to service communication - through proxy or direct?
A common scenario is two or more services behind a reverse proxy, typically each deployed in a container:| service 1 | | service 2 | \ / \ / \ / | Proxy |Now the two services want to talk to each...
View ArticleTesting docker image builds when low level libraries change
BackgroundIn our organization we have many small repos for shared libraries used among our applications. Particularly, we have many Python libraries and Python applications. We have a structures...
View ArticleWhat is the effect of setting up CPU limits on docker containers according to...
Let's say I have a Linux machine with 10 CPUs (1000%) and a docker container that at its peak consumes 500% of the CPU and the process takes 10 hours to complete (let's say it runs most of the time at...
View ArticleHow to get into an App Container Manually with Garden-RunC Backend?
So I have been trying this-tutorial to access the runC container from the diego-cell VM. However, when I try to run /var/vcap/packages/runc/bin/runc exec -t <instance_id> /bin/bashI get the...
View ArticleWhen do I run applications on a server in a pod and when to run them directly...
I am trying to get started in the DevOps Field by setting up a small server currently with Virtualbox, later on for a small team. For my basic setup I plan to use gitea as self-hosted git and Jenkins...
View ArticleIs it possible to setup two different types of brokers on a signle cluster?
Mqtt provides methods to work at scale by putting multiple containarised brokers in a kubernetes cluster. I seen EMQ usecase https://www.emqx.io/blog/emqx-in-volkswagen-iov for achieving this using...
View ArticleAccessing TPM from inside a Docker Container
I want to implement Vault as part of the DevOps build pipeline to store all the secrets like passwords and certificates. I understand that Vault keeps the data encrypted but I have been asked to look...
View ArticleDeveloping of my app: container technology as a development technology itself...
Disclaimer!I know this forum is for DevOS and my question is not about deployment, but it's about development.BackgroundI was using a laptop with openSUSE Leap 15.1 to develop a Qt app. I upgraded to...
View ArticleIs it possible to have containerized pipelines in Azure Devops using a...
Azure devops supports containerized jobs. This is where the build is executed inside the a docker container of the specified image. (Not to be confused with a pipeline that builds a docker image)But...
View Article