Skip to main content

Posts

Applying HTML equivalent head tags in Github Hi All! When we work on code hosting platform like Github, we may require to add our comments to notify with some highlights for specific text(s). For an example, you are going to create an issue in Github where you need to highlight few text in some large font size. If it is in HTML, we can go for h tag from 1 to 6 typically but what is the native way in Github instead of HTML. By using '#' hash symbol we can achieve it. One hash (#) represents h1 . Likewise ###### (six) hash represents h6 . Please look into the below image Let's see about bold , italic and others in my upcoming post.
View Linux's system, Kernel and release Informations Hi All! Consider a scenario that you are joning in a cloud team as an admin. There are already some Linux servers provisioned. Now you have been tasked to upgrade the linux release and/or perform some other operations. Here we need to know about the Linux system informations like below, before we are going to perform some operation(s). In this post we are going see / learn / refresh below uname -r -> show kernel release information uname -a -> show linux system information cat /etc/distro-release -> show installed linux(distribution) version details. Here the input is alpine-release. If your distribution is redhat, pass redhat-release or the relevant one If you pass cat /etc/*release, you will get some more details about the release. Please look into the below image
Read/Use keyvault secrets in ARM deployment Hi All As most of us know key vaukt is used for data protection where we can store keys, secrets and certificates. In some of the scenarios, we need to read the secret from key vault while we deploy ARM template. For an example, I want to use same password for my local user account of all the VMs I create. So we can store the secret in key vault and refer it ARM but what an additional setup we need to have in keyvault. so that ARM will be able to use the secret from our keyvault. Please look into the below image Good Day. We'll meet in next post.
Switch and build windows/Linux docker image Hi All Containers and Container orchestrators are occupying the IT development world nowadays to package / bundle the software. We need to choose containers based on windows or linux before build the docker image. Docker Destop is most familiar using one to build docker image. In this article we will see how to see switching from Linux to windows containers. Below is an example for docker linux image building. Below is an example for docker windows image building of the above same linux after we switched (Refer image 1 for switching).
Azure Blob - Convert blob access tier on Page and append blobs Hi All Azure storage account is one of the mostly used service by many people and it has page, append and block blob types on storage blob. To have blobs in "Hot" tier incur some more cost but it is prffered for frequently accessed. so if our blob is required but less access then we can change its access tier to keep it with low cost then at the time of need we can change it back to original type. we can set access tier only for block blobs. For remaining blob types, there is no direct way to set access tiers. so how can we achieve it? we need to change blob type to block blob and apply access tier for it then when we need original blob with appropriate, we need to typecast from the recent one we converted. In the below image, Initially I have an append blob called "1.JPG". when you see it, you could not see its access tier whereas bloc blob shows as "Hot" Now, Let's
Azure Devops - How to use classic pipeline variable group in YAML pipeline Hi All! When we need to use a group of variables in a pipeline, we can go for variable group instead of variables. The main usage of variable group is that can be used it across multiple pipelines in the same project. For example, I have a below variable group in my azure Devops. By default variable groups can be used across classic pipelines without any explicit permission granted but that variable group could not be used by YAML pipelines typically. So, How how can I use that variable group in my YAML pipeline? We can achieve it through "Pipeline permissions" option on top of variable group page. In the below image, I grant permission to my dotnet6app YAML pipeline to use variable group We can revoke if we don't need a YAML pipeline should not access variable group as below. Now, I want my all pipelines should use variable group. I don't want manual intervent
Azure Cloud shell - Switching to powershell from bash vice versa without losing session Hi All! Azure portal has a nice feature called Cloud Shell for scripting purposes to manage and administered via command Lines. Cloud Shell has both powershell and bash terminal. when we want to work with linux related, we can use Bash. Azure CLI commands work in both powershell and bash but most of the people prefers Bash. In a screen of azure portal / cloudshell, we can work with only one terminal at a time. For example, if you are already working on powershell and if you change to bash terminal, you will loss the upto the level of completed commands. There is one way to switch terminals without losing your work as below