Skip to content

Instantly share code, notes, and snippets.

View willypelz's full-sized avatar
👨‍💻
Nothing great ever came that easy!

Michael Asefon P. willypelz

👨‍💻
Nothing great ever came that easy!
View GitHub Profile
{
"countries": [
{
"country": "Afghanistan",
"states": ["Badakhshan", "Badghis", "Baghlan", "Balkh", "Bamian", "Daykondi", "Farah", "Faryab", "Ghazni", "Ghowr", "Helmand", "Herat", "Jowzjan", "Kabul", "Kandahar", "Kapisa", "Khost", "Konar", "Kondoz", "Laghman", "Lowgar", "Nangarhar", "Nimruz", "Nurestan", "Oruzgan", "Paktia", "Paktika", "Panjshir", "Parvan", "Samangan", "Sar-e Pol", "Takhar", "Vardak", "Zabol"]
},
{
"country": "Albania",
"states": ["Berat", "Dibres", "Durres", "Elbasan", "Fier", "Gjirokastre", "Korce", "Kukes", "Lezhe", "Shkoder", "Tirane", "Vlore"]
},
@willypelz
willypelz / azure kubernetes services
Last active May 21, 2020 12:36
azure kubernetes container with docker
Command for docker kubernetics installation on azure
Steps on using azure registry containers
STEP 1:
Registering(storing the command to check) the version of the the azure container service
version=$(az aks get-versions -l "West Europe" --query 'orchestrators[-1].orchestratorVersion' -o tsv)
@willypelz
willypelz / md
Created May 20, 2020 23:38
Deployment using azure kubernetes container
Command for docker kubernetics installation on azure
version=$(az aks get-versions -l "West Europe" --query 'orchestrators[-1].orchestratorVersion' -o tsv)
Echo $version
az group create --name LFYAPPLICATIONS --location "West Europe”. // creating group resources
az aks create --resource-group LFYAPPLICATIONS --name devteamlagos --enable-addons monitoring --kubernetes-version $version --generate-ssh-keys --location "West Europe”. //creating kebernetics and also setting up the node, pod monitors
az acr create --resource-group LFYAPPLICATIONS --name devteamlagos --sku Standard --location "West Europe”. // create azure container registry that will be used with kubernetics
CLIENT_ID=$(az aks show --resource-group LFYAPPLICATIONS --name devteamlagos --query "servicePrincipalProfile.clientId"--output tsv) // granting access to kubernetics to access the container registry —— getting id of the service principle
ACR_ID=(az acr show --name devteamlagos --resource-group LFYAPPLICATIONS --query "id" --output t