Recently i have created an AKS cluster on AZURE using the terraform scripts. Also i have installed confluence as one pod in this AKS cluster.
I want to SSH into the confluence pod as root user, but i m unable to find away to login as root user .
I m using the below command as of now:
kubectl exec -it atlassian-confluence-mypod – /bin/bash
I can get into pod in bash mode and when i type "whoami" it gives me as ***“daemon”***. But i want to login as root user by default. Am I missing something?