Skip to content

ajay1472/Azure-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

az role definition create --role-definition create-Custom-Role.json 
Set-AzureRmResource -ResourceID id_name -Tag tags -Force 


# Get list of tags 
Get-AzureRmTag 



Steps for Azure Cli 
1. Azure Cli package 

Microsoft Azure Free account 
  1. 12 months free 
    200$ credit for a month 
    25 + services always free 
Azure Account 
email:[email protected]
passwd:Ad@99029
 
GCP: 

gcloud components install COMPONENT_ID
gcloud components remove COMPONENT_ID
gcloud components update
gcloud compute instances list 
gsutil mb gs://bucketname 
gsutil cp filename gs://bucketname 

Azure: 
  az account show
  kubectl get node list
  az aks get-credentials -g stg-supplychain-aks-common -n stg-supplychain-aks-common-wus --subscription "Sams Club Supply       kubectl get nodes
  az aks show
  kubectl get pods --all-namespaces
  kubectl config get-contexts
  az aks show -n stg-supplychain-aks-common-eus  -g "stg-supplychain-aks-common" --subscription "Sams Club Supply Chain"
  kubectl config use-context stg-supplychain-aks-common-wus
  kubectl get events
  kubectl get events --all-namespaces
  
  ./deploy-aks.sh -i "Prod - Sams Club Enterprise Backbone" -g "prod-backbone-aks-eventhorizon" -n "prod-backbone-aks-eventhorizon-eus" -l eastus -o Standard_E4s_v3 -x 3 -a SamsBackbone-Azure-P-C -y 3 -z 50
  
  ./deploy-aks.sh -i "Sams Club Enterprise Backbone" -g "stg-backbone-aks-common" -n "stg-backbone-aks-common-eus" -l eastus -o 2 -x 3 -a SamsBackbone-Azure-NP-C -y 3 -z 10
  
  ./namespace-group.sh SamsBackbone-Azure-NP-C stg-mbrxo-cpc
az account set --subscription "Sams Merchandising Platforms"
kubectl exec $POD_NAME env
kubectl exec -ti $POD_NAME bash
kubectl get pods -n vendorbuddy
kubectl describe pods -n vendorbuddy vb-app-backend-perf-xlsxgenerator-gateway-pdf-generator-vez4cv9
kubectl logs -n vendorbuddy vb-app-backend-perf-xlsxgenerator-gateway-pdf-generator-vez4cv9
kubectl exec -ti -n vendorbuddy vb-app-backend-perf-xlsxgenerator-gateway-pdf-generator-vez4cv9 bash

kubectl get rs
kubectl get pods -o wide
kubectl describe deployments/kubernetes-bootcamp
kc logs mth-read-flow-deploy-74bdf6dddb-8ft76 -n dev-oms-mth-app --tail 50

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published