<jupyter_start><jupyter_text>Tear it all downOnce you are done with your cluster you can use the following two commands to destroy it all.<jupyter_code>from dotenv import get_key, find_dotenv
env_path = find_dotenv(raise_error_if_not_found=True)

rgname = 'cnn-aks-docker-test'
aksname = 'msaks-andy'
akslocation = 'eastus'<jupyter_output><empty_output><jupyter_text>Once you are done with your cluster you can use the following two commands to destroy it all. First, delete the application.<jupyter_code>!kubectl delete -f az-dl.json<jupyter_output><empty_output><jupyter_text>Next, you delete the AKS cluster. This step may take a few minutes.<jupyter_code>!az aks delete -n $aksname -g $rgname -y<jupyter_output><empty_output><jupyter_text>Finally, you should delete the resource group. This also deletes the AKS cluster and can be used instead of the above command if the resource group is only used for this purpose.<jupyter_code>!az group delete --name $rgname -y<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.07707707707707707, 'fraction_numerical': 0.0, 'mean_word_length': 6.299270072992701, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '505027', 'license': 'MIT', 'n_tokens_mistral': 326, 'n_tokens_neox': 324, 'n_words': 112, 'path': 'Pytorch/07_TearDown.ipynb', 'repo_name': 'plooploops/AKSDeploymentTutorial', 'size': '999'}