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
const contentful = require("contentful-management"); | |
const client = contentful.createClient({ | |
accessToken: "<Replace with your access token>", | |
}); | |
client | |
.getSpace("<Replace with your spaceID>") | |
.then((space) => space.getEnvironment("<Replace with Env ID>")) | |
.then((environment) => |
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
#Switch between subscriptions | |
az account set --subscription "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx" | |
#Set the context of your current AKS | |
az aks get-credentials -a --resource-group resourceGroupName --name aksName --overwrite-existing | |
#Set the context of your current Namespace in AKS | |
kubectl config set-context --current --namespace=nameofYourNameSpace | |
#Kill a pod |