This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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"] | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |