Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Function to display the list of namespaces
function list_namespaces() {
echo "Fetching namespaces..."
kubectl get namespaces --no-headers | awk '{print $1}' | sort
}
# Function to display the list of pods based on namespace
function list_pods() {
import static java.awt.Color.blue;
import static java.awt.Color.red;
import static java.lang.Math.max;
import static java.util.Arrays.asList;
import static java.util.regex.Pattern.CASE_INSENSITIVE;
import static java.util.regex.Pattern.compile;
import static javax.swing.text.Utilities.getRowEnd;
import static javax.swing.text.Utilities.getRowStart;
import java.awt.BasicStroke;
import java.awt.Color;
### WebFolder OÜ Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”)
made available by WebFolder OÜ or its affiliates (“WebFolder OÜ”).
This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code,
object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials,
feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner,
to WebFolder OÜ in respect of any of the Projects (collectively “Contributions”).
If you have any questions respecting this Agreement, please contact support@webfolder.io