- Kubernetes for Serverless Applications
- Russ McKendrick
- 214字
- 2021-07-02 19:16:50
Virtual machine access and logs
You are able to SSH into the Minikube virtual machine. As part of the installation, an SSH key was generated and shared with the virtual machine when it launched. You can check the location of this key by running minikube ssh-key. This returns the path of the private part of the key. You can use this in combination with other commands to SSH into your virtual machine by running the following on macOS or Ubuntu:
$ ssh docker@$(minikube ip) -i $(minikube ssh-key)
This generates the IP address of the virtual machine and path to the private key on-the-fly:

However, Minikube also has a command that will run this for you and it is also supported on all platforms. Running minikube ssh will log you straight in to the virtual machine as the Docker user, as is shown by the following Terminal output:

The final command we are going to quickly look at is minikube logs. This displays all of the logs being generated by the localkube instance:

These logs are used to help debug problems with your Minikube installation. They do not contain any user data, meaning that you cannot use them to help track down any problems with the services or pods you have launched.
- Word 2003、Excel 2003、PowerPoint 2003上機指導與練習
- Big Data Analytics with Hadoop 3
- Clojure Data Analysis Cookbook
- Splunk 7 Essentials(Third Edition)
- 基于ARM 32位高速嵌入式微控制器
- 網絡化分布式系統預測控制
- Dreamweaver CS6中文版多功能教材
- Extending Ansible
- 水晶石影視動畫精粹:After Effects & Nuke 影視后期合成
- 和機器人一起進化
- 運動控制系統(第2版)
- 自適應學習:人工智能時代的教育革命
- 傳感技術基礎與技能實訓
- 巧學活用Photoshop
- 實戰突擊