Java Variables Examples [Different Variable Types]
The most popular types of Java variables are Instance, Local and Static variables. We learned about the declaration, initialization, and syntax of variables.
Java Multiline Comments [Methods & Examples]
In this tutorial, we learned about Java multiline comments, single line and inline comments. We covered different types of comments that we supported by java programs like a single line, multiline and Javadoc.
Defensive Programming Techniques Explained with Examples
Defensive programming can be tough to write source code, but it results in high- quality foolproof code
Install MariaDB on Rocky Linux 8.4
In this tutorial, we will learn how to install MariaDB on Rocky Linux 8.4. You may also check the mariadb page link for the official instructions to install
Git rebase explained in detail with examples
git rebase is used to integrate changes from one branch into another. rebase takes a series of commits (normally a branch) and replays them on top of another commit (normally the last commit in another branch). The …
How to Get Started with Game Development?
Game development might sound as simple as creating a video game. But have you ever thought about what it looks like
How to stop ICMP ping flood attack (DOS) on Linux
Prevent ping flood attack in Linux using iptables and firewalld for both IPv4 and IPv6. Apply hash limit to ICMP Echo request to control ping flood in Linux and Unix servers.
How to add or remove label from node in Kubernetes
Add a label to node. Remove a label from node. Use kubectl label node to add or remove a label from worker or controller nodes in Kubernetes Cluster
How to implement password policy in RHEL Linux with examples
Learn to implement password policy with complexity, old password reuse and more using pwquality.conf explained with examples in RHEL/CentOS 7 Linux
How to configure Ansible on controller and managed node
Step by step instructions to configure ansible on RHEL/CentOS 8. Since ansible is agentless we don't need any configuration on managed nodes.
How to use Ansible managed nodes without Python
How to use ansible without installing python3 on managed nodes. Can we use ansible without python? How to use raw module in Ansible?
Working with managed nodes with password (not passphrase)
We can also use password instead of passphrase to connect with controller to managed nodes using --ask-pass. By default ansible will not prompt for any password.
Working with Ansible facts | Create custom facts with examples
Ansible facts is a term used for system information of the managed nodes. By default ansible playbook will gather facts from the managed nodes using setup module
Beginners guide to YAML Syntax in Ansible Playbooks
YAML uses indentation (like Python), which builds the relationship of items with one another and In Ansible, nearly every YAML file starts with a list.
How to repeat tasks using ansible loop with examples
Ansible loop is used to iterate over multiple tasks in playbook. It supersedes with_items in Ansible with later version as with_* are deprecated
Working with include and import module in Ansible
We can use Ansible import module to add playbook, tasks from another file into a different playbook. This can help use the same set of tasks across multiple playbook and save space
Steps to properly remove node from cluster in Kubernetes
Related Searches: drain kubernetes node, kubectl drain command, remove node from cluster kubernetes, kubernetes evict pods from node, kubernetes drain and
Helm hook-weight examples to order Jobs in Kubernetes
You can use the helm.sh/hook-weight annotation to hook resources that need to be created in a specific order. This weight can be any positive or negative integer number.
Show NFS shares | List NFS mount points | List NFS clients Linux
Examples and commands to show NFS shares on NFS server, List NFS mount points on NFS Clients, List NFS clients connected to the NFS server, List NFS shares in Linux
10 practical examples to export NFS shares in Linux
This tutorial contains a list of nfs exports options in Linux with examples to create NFS share using /etc/exports. You can share with multiple hosts, single or world
#3-ELK Stack: Configure kibana 7.x with SSL/TLS encryption
Kibana Tutorial to setup, install and configure Kibana dashboard with SSL/TLS encryption over HTTPS for elasticsearch cluster with examples in Linux.
#5-ELK Stack: Configure logstash 7.x with data pipeline
Steps to install and configure logstash 7.x and send data from logstash to elasticsearch. Monitor the logs on Kibana dashboard using index pattern
#4-ELK Stack: Configure metricbeat 7.x to monitor elasticsearch cluster
Tutorial to install and configure metricbeat to monitor elasticsearch cluster in ELK Stack on RHEL/CentOS 7/8 Linux with examples over SSL/TLS (HTTPS)
Simple examples to learn Kubernetes DaemonSets
A Kubernetes DaemonSet ensures a copy of a Pod is running across a set of nodes in a Kubernetes cluster.
How to use Kubernetes init containers with examples
A Kubernetes init container is an additional container in a Pod that completes a task before the "regular" container is started. The regular container will only be started once the init container has been started
Beginners guide on Kubernetes Namespace with examples
Kubernetes namespace implements strict resource separation. Resource limitation through quota can be implemented at a Namespace level also
Detailed tutorial on Kubernetes cron job scheduler
Kubernetes cron job scheduler can be used to control the a Job resource according to the Job template configured in the CronJob object. When the Job resource is created, one or more pod replicas will be created and …
How to assign Kubernetes resource quota with examples
The Kubernetes resource quota is applied on the namespace using CPU, memory, storage and object count such as number of pods in the namespace
Kubernetes labels, selectors & annotations with examples
Kubernetes provides labels, selectors and annotations to organize the cluster nodes. These are mostly used with replication controllers and replica sets in a deployment
Kubernetes ReplicaSet & ReplicationController Beginners Guide
Kubernetes ReplicaSet and ReplicationController (deprecated) are used to scale the number of Pods and make sure the minimum number of Pods are always running.

