Skip to content

Instantly share code, notes, and snippets.

@gaopenghigh
gaopenghigh / aks-large-cluster.sh
Created April 15, 2022 08:55 — forked from jackfrancis/aks-large-cluster.sh
Build large AKS cluster
#!/bin/bash
if [ -z "$RESOURCE_GROUP" ]; then
echo "must provide a RESOURCE_GROUP env var"
exit 1;
fi
if [ -z "$REGION" ]; then
echo "must provide a REGION env var"
exit 1;
local redis_c = require "resty.redis"
local ok, new_tab = pcall(require, "table.new")
if not ok or type(new_tab) ~= "function" then
new_tab = function (narr, nrec) return {} end
end
local _M = new_tab(0, 155)