Install qemu:
brew install qemuHow to use an image from Azure Container Registry as the base for GitLab Runner’s Docker executor.
Let's imagine we have image in ACR as follows jigurda.azurecr.io/namaespace/awesome-toolbox:1.0.1. This image is private and requires you to sign in to a private container registry. Let’s also assume that these are the sign-in credentials for your service principal:
| Key | Example Value |
|---|
| # best practice: linux | |
| nano ~/.pgpass | |
| *:5432:*:username:password | |
| chmod 0600 ~/.pgpass | |
| # best practice: windows | |
| edit %APPDATA%\postgresql\pgpass.conf | |
| *:5432:*:username:password | |
| # linux |
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: runner | |
| namespace: bitbucket-runner | |
| spec: | |
| template: | |
| metadata: | |
| labels: | |
| accountUuid: bla-bla-bla |
https://medium.com/@obohovyk/how-to-prepare-and-pass-linux-foundation-certified-system-administrator-lfcs-exam-bd4cad4f6c64
https://resources.linuxfoundation.org/LF+Training/LF_Training_WP_CertificationPrepGuide_October2018+(6).pdf
https://training.linuxfoundation.org/wp-content/uploads/2019/04/LFCS-Practice-Questions-v1.0.pdf \
Coding convention is a just conventions. I am writing this gist as much for me, but I hope it may also be useful to others. Inspired by progrium/bashstyle and Bash Guide
main function for runing scriptFor this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.