摘要: Hostpath顾名思义,用宿主机的目录来为pod提供存储。 Hostpath: 宿主机上面的一个目录,做实验用的多,但是生产环境中,用的不多。因为在实际生产环境中,pod都是由调度机制来进行部署的,我们并不能预先知道他被调度到了哪一个node上面。 可以选择在宿主机的某个目录上与pod建立连接,但 阅读全文
posted @ 2021-12-06 22:22 Tammyhaha 阅读(1481) 评论(0) 推荐(0)
摘要: - ends: 终止字符串 - endl: 终止一行 并刷新缓冲区 - flush: 刷新缓冲区的数据 #include <iostream> int main() { using namespace std; cout << "a" ; cout << "b" <<ends; cout << "c 阅读全文
posted @ 2021-12-06 16:21 Tammyhaha 阅读(625) 评论(0) 推荐(0)