Skip to content

Commit

Permalink
AKS set up
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigosampayo1 committed Apr 27, 2023
1 parent bec1c88 commit 4e1e880
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .vscode/diff/vulsCount.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"WhiteSource Advise.Diff.BaseBranch": "main"
}
20 changes: 20 additions & 0 deletions steps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# To connect to your subscription and Tenant
az login --tenant ff5a6044-ffb8-488b-b31b-b039ef5df0d7

az account set -subscription 514cd396-f281-41a1-b376-6d348b606151

# AKS
#To merge AKS cluster to our context in ~/.kube/config
az aks get-credentials --resource-group rg-aks-001 --name Cluster-aks-rs-001

# List all deployments in all namespaces
kubectl get deployments --all-namespaces=true

# List all deployments in a specific namespace
# Format :kubectl get deployments --namespace <namespace-name>
kubectl get deployments --namespace kube-system
kubectl get deployments -n kube-system

# List details about a specific deployment
# Format :kubectl describe deployment <deployment-name> --namespace <namespace-name>
kubectl describe deployment my-dep --namespace kube-system

0 comments on commit 4e1e880

Please sign in to comment.