Monthly Archives: October 2018

How to access Ansible remote machine using SSH user and key?

How to access Ansible remote machine using SSH user and key? There are following ways, you can autheticte linux remote server using Ansible. Method 1 – Password Less authentication SSH Passwordless Login Using SSH Keygen in 5 Easy Steps If You want to automate this process using Ansible in mutiple machine, follow this Method… Read More »

Ansible execution connection type

Ansible executes playbooks in the remote server using following connection type. To change the connection type, you need to pass host-specific parameter ansible_connection=<connector>, the connection type can be changed. SSH Based (Linux Based) The default SSH protocol types is smart. This can be the name of any of ansible’s connection plugins. SSH protocol types are..… Read More »

How to Autoscale pods based on CPU/Memory in Kubernetes?

CPU Based Scaling With Horizontal Pod Autoscaling, Kubernetes automatically scales the number of pods in a replication controller, deployment or replica set based on observed CPU utilisation. So, now we have a hpa running for our deployment “tomcat02”. It compares the arithmetic mean of the pods’ CPU utilization with the target defined in Spec.… Read More »

What is Gitlab and how its useful in DevOps?

Intially, GitLab was introduced as a web-based Git-repository manager providing hositing solutions for git repo along with Wiki and Issues tracking. Later, GitLab become the single application for the entire of the DevOps lifecycle. From planning to monitoring GitLab covers every stage and additionally let’s you manage and secure across stages. Only GitLab enables Concurrent… Read More »

How to setup Docker repository in Artifactory and push/pull images?

Step 1 – Setup Artifactory using Docker way Follow this instructions… Setup Artifactory pro 6.1.0 using Docker containtainer Step 2 – Create a docker repo Create a repo & “Docker Access Method” == Repository Path && Save it Example of docker push or pull and login commands: docker pull / push<REPOSITORY_KEY>/<IMAGE>:<TAG> docker login -u… Read More »

Setup Artifactory pro 6.1.0 using Docker containtainer

Step 1 – Register a free account here. Step 2 – Login and Click on the your “username” right top corner and go to “edit profile” Step 3 – Click on “API key” tab and copy “Your API key is:” and that can be used to download the artifactory image from ie. 543a181849465b127327a92233f63b321980f1fb… Read More »

Copy a files from jenkins server to jenkins node/slave using pipeline plugins

Workarond 1 – Try to use stash/unstash, but it is bad for large files. Read more about stash & unstash Workarond 2 – Try External Workspace Manager Plugin. It has pipelines steps and good for large files. Workarond 3 – Try to use an intermediate storage. archive() and sh(“wget $url”) will be helpful.

Perforce Proxy aka Helix Proxy Explained!

Perforce aka Helix is built to handle distributed development in a wide range of network topologies. Perforce Proxy (P4P) provides fast, local access to versioned files at remote sites. With P4P, remote users can quickly access versioned content. The Perforce Proxy aka Helix Proxy is a free caching server that can be deployed to accelerate… Read More »

Perforce Broker aka Helix Broker defined!

The Perforce Broker (P4Broker) enables you to restrict the commands that can be executed, or redirect specific commands to alternate (replica or edge) Perforce servers. The Perforce Broker is a server process that mediates between Perforce client applications and Perforce servers, including proxy servers. Use Case Of Perforce Broker aka Helix Broker Separate Helix Server… Read More »