Сообщения за 2021

Вопросы на собеседовании DevOps инженера

Приветствую, ниже список вопросов которые я задавал devops инженеру на этапе собеседования (собеседование с командой). Зачастую, мы отыгрывали модель хороший-плохой коп :). Я старался быть хорошим, обычно более жесткую технику спрашивали на первом этапе собеседовании или же коллега из R&D/Производства. Вопросы уже неактуальны,  давались 2 года назад мной (я был еще более зеленым). Скорее просто нашел старую заметку - удалять жалко Сразу оговорюсь, что нам на самом деле был нужен просто толковый админ с зачатками программирования и более-менее хорошей производственной культурой (тесты, воспроизводимость результата и т.д.). Обычно адекватно оценить соискателя просто — «поговорить за жизнь». Т.е. о работе что делал, с какими проблемами сталкивался, как решали. А как бы он решил, если бы эти ограничения сняли? Общий вопрос Расскажи, что такое CI и что такое CD? Что в себя включает каждый этап? А в чем разница между Continuous Deployment (деплой на бой по клику) и Continuous Delivery (в

[DevOps] Small tricks for debugging docker images

Sometimes you are needed to be got what of consists of in the docker image. So you can convert this is an image to archive and unpack this is an archive to a file system. #  For understanding docker build --tag site:latest . docker tag site:latest _name /site:latest docker push _name /site:latest # This is keyvalues strings docker run -d -p 3000:3000 --name  container_name  site:latest docker export container_name > contents.tar

[DevOps] How detect version of CentOS

 Just run it: cat /etc/ centos-release

New devices for the 2020 year

Hello, I got new devices for the 2020 year. It's Intel NUC 10 Pro (BXNUC10I7FNH2) and Google Pixel 4 64 a white color.  NUC is will be used as a home server. So maybe it's will be used as a server for my Android Device Farm and for CI and dedicated VMs. Currently, my configuration of NUC has 16 GB RAM (SO-DIMM DDR4 Samsung) and 500 GB SSD (Samsung 980 PRO).  About Pixel 4 - what I can say? - Is a good phone, but I caught myself thinking about what iPhone 12 Mini/Pro will be better. The battery is less when the battery in my Honor 10 lite 64. But the 90HZ screen and camera are very good. But if compare cameras Pixel 4 and the original iPhone 11, the last is will be better is some scenes (combined scenes with day and night). Yep, and in the previous year my first honor 10 lite was stolen and I had to buy a new one. So funny what the police did not try to find it. The realities of life in Russia... 

Small problem with display of macbook 2019

Hello.  So how like many people already writes MacBook has a very close distance between the display and metal frame. I got this is the problem... one a grain of sand is destroyed my display... Apple is refused to do this under warranty, so I was lost 500$.  Problem is famous already a long time. The repair was done in B2X, at my expense. So, how you can see, In my mac 2019 we already have and keyboard marks on the display.  On these images, the age of my mac is 3 months. And another problem - the keyboard and mouse is not works when MacBook is going away from sleep mode. It took 2 weeks to fix it, and Apple refused to acknowledge the problem - only after a video record has been provided and demonstrated personally to the engineer they recognized this problem. Problem with processes at Apple  - we need to demonstrate all problems to remote apple engineers too, but because this is a problem is a floating problem it's is not always is possible. So local engineer must demonstrate the

[DevOPS] How upgrade sonarqube to latest version (in docker image)

We will be to try upgrade from 8.5 version to 8.7. Download from sonarqube site archive with sonarqube (sonarqube- .zip). Run: docker pull sonarqube:8.7-community Update your .env file, the field SONAR_VERSION must be a full version from the archive ( for this). For example name of your archive (sonarqube- .zip) - use these numbers. Run container if it not started, and check logs - must be label what manual migration of database is needed (In the web interface you will see what sonarqube under maintenance). Go to <your_host>/setup Click to "upgrade database" Restart the container and check your version in toolbar