I have been working with Sitecore Managed Cloud containers for the last couple months now and I thought to share some tips and information that I believe its very useful while using MC Containers, like working with The Kubernetes command-line tool, kubectl to troubleshoot issues that may happen while working on MC containers, interested, keep reading!
The Kubernetes command-line tool, kubectl, allows you to run commands against Kubernetes clusters. You can use kubectl to deploy applications, inspect and manage cluster resources, and view logs
You can find useful links at the end of the post, I will list the most common commands that you need in a question and answer format below:
How I can login into my AKS Cluster?
How I can list all Pods for current Cluster?
How I can copy files from/to MC Pod?
If I ran into issue with one of the Pods, How I can get more information?
How I can view content of any file inside POD?
How I can browse as example CM POD from local network?
References and useful links:
- https://kubernetes.io/docs/tasks/tools/
- https://learn.microsoft.com/en-us/cli/azure/install-azure-cli
- https://support.sitecore.com/kb?id=kb_article_view&sysparm_article=KB0383441
Hopefully the above helps someone!
Please feel free to comment if you have more useful commands or if you have any comments or questions.
No comments:
Post a Comment