Skip to content

Instantly share code, notes, and snippets.

@smitjainsj
smitjainsj / sagemaker_inference_infra_metrics.json
Created January 21, 2023 12:12
aws cloudwatch sagemaker inference dashboard for endpoints
{
"widgets": [
{
"height": 6,
"width": 24,
"y": 0,
"x": 0,
"type": "metric",
"properties": {
"view": "timeSeries",
@smitjainsj
smitjainsj / INSTALL.md
Created November 18, 2021 17:16
Kubernetes - Multi Vagrant Setup

Kubernetes Installation on Vagrant

Version Matrix

kubectl: 1.19.0
kubelet: 1.19.0
kubeadm: 1.19.0
containerd: 1.4.x
docker: 19.03
kubernetes: 1.19.0
@smitjainsj
smitjainsj / Vagrantfile
Created November 18, 2021 17:10
Multi VM Vagrantfile
$SCRIPT = <<'EOF'
#!/bin/bash -x
#IPADDR=$(ip -4 addr show eth1 | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" | head -1)
IPADDR=$(ifconfig -a | grep "192.168" | grep -oE "([0-9]{1,3}\.){3}[0-9]{1,3}" | head -1)
HOSTS="/etc/hosts"
FQDN=$(hostname -f)
SDN=$(hostname -s)