Author

Deepak Prasad

Deepak Prasad

R&D Engineer

at · 1111 articles published

Founder of GoLinuxCloud with more than 15 years of expertise in Linux, Python, Go, Laravel, DevOps, Kubernetes, Git, Shell scripting, OpenShift, AWS, Networking, and Security. With extensive experience, he excels across development, DevOps, networking, and security, delivering robust and efficient solutions for diverse projects.

Areas of expertise

Certifications & credentials

  • Red Hat Certified System Administrator in Red Hat OpenStackID: 180-246-001
  • Certified Kubernetes Application Developer (CKAD)
  • Red Hat Certified Specialist in Ansible Automation
  • Go: Data Structures, Algorithms and Design Patterns With Go
Author profile illustration for Deepak Prasad — technical writer at GoLinuxCloud

Articles by Deepak Prasad

programming

Seaborn Scatter Plot

Learn how to create a Seaborn scatter plot using sns.scatterplot(). See examples with hue, style, size, palette, marker size, transparency, labels, legends, and regression lines.

Deepak Prasad6 min read
programming

Remove Key from Dictionary in Python

Learn how to remove a key from a Python dictionary using pop(), del, dictionary comprehension, and safe methods to avoid KeyError when the key may not exist.

Deepak Prasad6 min read
programming

Python zipfile Module

Learn the Python zipfile module with examples. Create and append ZIP archives, list and read members, extract files safely, handle passwords on read, choose compression, use BytesIO, and rebuild archives without a …

Deepak Prasad7 min read
programming

Sort Dictionary by Key in Python

Learn how to sort a dictionary by key in Python using sorted(), dict(), lambda, itemgetter(), reverse=True, case-insensitive sorting, and nested dictionary examples.

Deepak Prasad7 min read
devops

Kubernetes DNS Troubleshooting: Fix CoreDNS, NXDOMAIN, SERVFAIL, ndots, and DNS Timeouts

We walk you through Kubernetes DNS failures with the CoreDNS and kube-dns checks we use in real incidents—NXDOMAIN, SERVFAIL, ndots, NetworkPolicy port 53, and external DNS—so you can copy the same commands on your …

Deepak Prasad20 min read
programming

Python Tree Data Structure

Learn tree data structure in Python with simple examples. Understand nodes, root, children, binary trees, binary search trees, DFS, BFS, inorder, preorder, and postorder traversal.

Deepak Prasad13 min read
programming

Sort Dictionary by Value in Python

Learn how to sort a dictionary by value in Python using sorted(), lambda, itemgetter(), reverse=True, and custom sorting. See examples for ascending order, descending order, duplicate values, and nested dictionaries.

Deepak Prasad6 min read
programming

Python Split String

Learn how to split a string in Python using str.split(). See examples for splitting by whitespace, comma, newline, multiple spaces, maxsplit, rsplit(), splitlines(), and regex delimiters.

Deepak Prasad5 min read
programming

Python Set

Learn Python sets with simple examples. See how to create a set, add and remove items, check membership, remove duplicates, and use union, intersection, difference, symmetric difference, issubset, issuperset, and …

Deepak Prasad7 min read
programming

Append String in Python

Learn how to append to a string in Python using +, +=, f-strings, format(), and join(). Understand why Python strings have no append() method and when to use each approach.

Deepak Prasad6 min read
programming

Check if String Contains Substring in Python

Learn how to check if a string contains a substring in Python using the in operator, find(), index(), count(), and regex. See case-sensitive, case-insensitive, multiple substring, whole-word, and pattern matching …

Deepak Prasad6 min read
programming

Python String Format

Learn Python string formatting using f-strings, str.format(), and percent formatting. See examples for variables, numbers, decimal precision, padding, alignment, percentages, dates, and %d meaning in Python.

Deepak Prasad6 min read
programming

Replace String in File Using Python

Learn how to replace text in a file using Python. See examples for replacing a string in the same file, writing to a new file, handling large files, using fileinput with backup, and regex replacement with re.sub().

Deepak Prasad4 min read
programming

Python Tuple

Learn what a tuple is in Python with simple examples. See how to create tuples, access items, use indexing and slicing, unpack tuples, compare tuples with lists, and use tuple methods.

Deepak Prasad8 min read
programming

Check Type in Python

Learn how to check the type of a variable in Python using type() and isinstance(). See when to use each method, how to check multiple types, and how type hints differ from runtime type checking.

Deepak Prasad8 min read
programming

Python yield Keyword

Learn what yield means in Python and how it creates generator functions. Understand yield vs return, next(), for loops, generator expressions, yield from, and common mistakes with simple examples.

Deepak Prasad6 min read
linux

Build RPM Package with rpmbuild

Learn how to build an RPM package in Linux using rpmbuild. Create the rpmbuild directory structure, write a SPEC file, build RPM from source, create RPM from scratch, and verify the package.

Deepak Prasad7 min read
programming

Python Write to File

Learn how to write to a file in Python using with open(). Create a new file, overwrite an existing file, append data, write multiple lines, and avoid common file mode mistakes.

Deepak Prasad5 min read
programming

Python While Loop with Multiple Conditions

Learn how to use multiple conditions in a Python while loop using and, or, not, parentheses, and two-condition examples. Understand when the loop stops and how to avoid infinite loops.

Deepak Prasad6 min read
system-administration

Chrony Force Sync in Linux

Learn how to force Chrony time sync in Linux using chronyc makestep and chronyd -q. Also configure Chrony as an NTP client or server, check sync status, and understand server options like iburst, minpoll, and maxpoll.

Deepak Prasad8 min read
devops

Set ulimit in Kubernetes Pods: open files, nproc, and process limits

Fix Too many open files (EMFILE) and set ulimit-style nofile, nproc, and file size limits in Kubernetes pods using a prlimit or ulimit entrypoint—separate from CPU and memory resources.limits, with Pod examples you can …

Deepak Prasad17 min read
devops

How to limit Kubernetes resources (CPU & Memory)

We can add a limit (quota) to different Kubernetes resources such as CPU, memory, hugepages for containers. We can restrict a soft and hard limit to these resources

Deepak Prasad7 min read
linux

Tutorial: Beginners guide on Linux Memory Management

Understand various terminologies with linux memory management, dirty page, swapping, inactive, active memory, Translation Lookaside Buffers (TLB), page cache

Deepak Prasad16 min read
system-administration

Permanently disable transparent hugepages CentOS RHEL 8

Step-by-Step instructions to disable transparent hugepages GRUB2 using grub2-editenv in RHEL/CentOS 8 Linux. Check transparent huge pages status (AnonHugePages)

Deepak Prasad4 min read
linux

3 easy steps to configure hugepages in RHEL/CentOS 7/8

Step-by-Step Tutorial to configure hugepages in red hat and centos 7/8 linux using vm nr_hugepages in /etc/sysctl.conf. Also configure hugepages pool using hugeadm

Deepak Prasad6 min read
linux

How to check Transparent HugePages in Linux

Learn how to check Transparent HugePages in Linux, verify if THP is enabled or disabled, understand AnonHugePages vs static hugepages, and find per-process THP usage.

Deepak Prasad8 min read
linux

Check if CPU supports HugePages & change default hugepage size in RHEL

Learn how to check if CPU supports HugePages with 2MB and 1GB Size in CentOS/RHEl 7 Linux and change default hugepage size permanently using GRUB2 with examples

Deepak Prasad4 min read
system-administration

How to check and disable transparent hugepages ( CentOS / RHEL 7 )

What are transparent huge pages? How to check turn off disable transparent hugepages in RHEL / CentOS 7 Linux for this session or permanently sysctl GRUB2?

Deepak Prasad4 min read
linux

HugePages vs Transparent HugePages in Linux: Differences, Use Cases, and Troubleshooting

Compare HugePages (static HugeTLB) and Transparent HugePages in Linux: what each is, when to use or disable them, how to check and configure them, how Kubernetes exposes hugepages-2Mi and hugepages-1Gi, and how to …

Deepak Prasad10 min read
devops

Kubernetes Tutorial for Beginners & Experienced

Free Kubernetes tutorial that takes you from cluster install to CKA/CKAD-level topics - pods, deployments, RBAC, networking, Helm, security, autoscaling. 50+ hands-on lessons across 13 chapters, every example tested on …

Deepak Prasad1 min read