Still getting the same issue:
sh1986-vb:/media/sf_SH1986/az/tf/terraform-aks-k8s-w-vnet> az aks get-credentials -n k8stest -g k8sRG
Connection verification disabled by environment variable AZURE_CLI_DISABLE_CONNECTION_VERIFICATION
/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
/opt/az/lib/python3.6/site-packages/urllib3/connectionpool.py:851: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
/home/sh1986/.kube/config has permissions "770".
It should be readable and writable only by its owner.
Merged "k8stest" as current context in /home/sh1986/.kube/config
sh1986-vb:/media/sf_SH1986/az/tf/terraform-aks-k8s-w-vnet>
sh1986-vb:/media/sf_SH1986/az/tf/terraform-aks-k8s-w-vnet> kubectl run -it --rm aks-ssh2 --image=debian
If you don't see a command prompt, try pressing enter.
Error attaching, falling back to logs: Upgrade request required
pod "aks-ssh2" deleted
sh1986-vb:/media/sf_SH1986/az/tf/terraform-aks-k8s-w-vnet>