There are some practices that OpenShift Container Platform recommends to follow them. Here, guidelines that apply when creating container images if you use OpenShift Container Platform.
What does mean by beautiful Docker image?
Minimal size, Security and Performance.
RUN instruction executes commands in a new layer on top of the current image and then commits the results to be used in the next step. In Dockerfile, each instruction is a new layer; that means if you have instructions like this:
RUN pip install virtualenv RUN virtualenv /venv RUN . /venv/bin/activate RUN pip install setuptools -U…
OpenShift enabling external access from outside world to services by using concept Route. This article gives an overview of how the routes in OpenShift is designed.
The routes can be either secured that provides the ability to use several types of transport layer security (TLS) termination to serve certificates to the client or unsecured in other hand, it doesn’t require a key nor certificates.
Using pgBackRest with Ansible
In this post I go through remote backup/restore with
pgBackRest and use
ansible to install and configure
pgBackRest. Before begin, I assume the following:
pgBackReston a PostgreSQL v13.0).
standbywith their cluster and the communication between them is enabled.
repositoryhost (vm) to runs and stores backups.
You can find ALL…
As we know code reviewing is important approach for the most development department. It helps to enhance the code quality, let you to see how the others write code and how they think…etc.
Yes I’m lazy to go browser while working to open YouTube searching for something I need! Why just write a simple command on slack to do that? … yeah it’s not a bad idea for me… Here we will show how to do that.
You can find the source code here, also find all resources at the end
Build Go YouTube and Slack API
First of all we need to have an account on Google to be able use YouTube’s data API. Check the getting-started guides.
hint: find the yaml of OpenShift’s objects here.
create BuildConfig and…
I often take the remote working especially on the first day of any new tasks so, I’m glad that remote working (RW) exists even though I prefer to work with my colleagues side by side and face to face!
To make the RW is very productive, I would like to share small tips of my RW’s style.
Find your habits to start the day right
Either you like to wake-up early or late, drink a coffee or tea…etc. Don’t start your day with something you don’t like it! This will affect on you negatively, you will lose your motivation to…
This post shows how to insert the information from Django app to Elasticsearch using Django command. We assume the Elasticsearch and Kibana have been installed, if not please click here to install Elasticsearch and here for Kibana installation.
pip3 install elasticsearch
My project hierarchy:
Have experience on k8s? No
Time to prepare the exam: 4 months, 4~5h/week
This article is about my tips to pass Certificate kubernetes Application Developer (CKAD).
20% - Pod Design.
18% - Observability.
18% - Configuration.
13% - Core Concepts.
13% - Services & Networking.
10% - Multi-Container Pods.
8% - State Persistence.
The exam is 19 questions should be solve in 120 minutes, so I think this is the big challenge!
For more details and exam resources check here.
Practice Practice and Practice!
- Get start with Kubernetes App Development GOLDEN GUIDE TO KUBERNETES APPLICATION DEVELOPMENT By Matthew Palmer…
Push the built binary file to the repository isn’t an efficient way, so we need to make Jenkins handle that. This post shows the simple steps to build Golang using Jenkins from Bitbucket.
Here simple snippet Golang that only print a statement:
Hi, I’m software engineer and sometime I’m game VR developer! A bit of random things...🥑🎶 🎯🌻