-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bec1c88
commit 4e1e880
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"WhiteSource Advise.Diff.BaseBranch": "main" | ||
} |
This file contains 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
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 |