Skip to content

Instantly share code, notes, and snippets.

View mlkmhd's full-sized avatar
🎯
Focusing

mahdi mallaki mlkmhd

🎯
Focusing
View GitHub Profile
#!/bin/bash
set -ex
CERTIFICATES_COUNT=3
cert_dir=`dirname "$BASH_SOURCE"`/certs
rm -rf ${cert_dir}
echo "Generating new certificates"
import {
bufferFromFileOrString,
Cluster,
Config,
CoreV1Api,
KubeConfig,
Metrics,
topPods,
} from '@kubernetes/client-node';
import lodash, { Dictionary } from 'lodash';