在Google Cloud platform上创建Kubernetes cluster并使用
登录Google Cloud platform,创建一个新的Kubernetes Cluster:
该集群的node个数选择为1,从Machine type下拉列表里选择CPU配置:
展开Advanced Edit,选择该Kubernetes集群安装所在的操作系统的镜像类型:
选择ubuntu,磁盘类型选择SSD:
点击Create,得到一个Kubernetes cluster:
The images for these containers will be pulled from the public Docker repository and store. The containers will be connected to each other and have some ports exposed to the internet.
Kubernetes集群创建好之后,点击Connect,
即可在Google Cloud Shell里用kubectl命令行访问这个Kubernetes cluster:
创建一个新的secret:
kubectl create secret docker-registry docker-secret --docker-server=https://index.docker.io/v1/ --docker-username=jerry password=jerrywang [email protected]
相关推荐
朱培知浅ZLH 2020-11-16
cdbdqn00 2020-11-12
达观数据 2020-11-11
JustinChia 2020-11-11
远远的山 2020-11-09
jingtao 2020-11-08
大叔比较胖 2020-10-30
gracecxj 2020-10-30
onepiecedn 2020-10-29
kunyus 2020-10-28
JustHaveTry 2020-10-27
锋锋 2020-10-26
hubanbei00的家园 2020-10-25
谢恩铭 2020-10-23
btqszl 2020-10-21
kaidiphp 2020-10-13
guchengxinfen 2020-10-12
liverlife 2020-10-10
BigDataMining 2020-10-08