A.kubectl runB.kubectl getC.kubectl exposeD.kubectl set
单项选择题k8s中,service资源默认的类型是()
A.ClusterIPB.NodePortC.ExternalNameD.LoadBalance
单项选择题k8s中,如果部署的服务,想要外网能够访问,通常我们可以创建service资源,并且将它的类型社设置为什么模式?()
A.ClusterIpB.NodePortC.LoadBalanceD.ExternalName
单项选择题K8s中,命令的方式扩容或者缩容,可以是用什么选项()
A.kubectl getB.kubectl setC.kubectl exposeD.kubectl scale
单项选择题k8s中,查看某个资源的详细信息,用什么命令()
A.kubectl getB.kubectl setC.kubectl describeD.kubectl apply
单项选择题k8s中,回滚某个操作,使用什么命令()
A.kubectl setB.kubectl getC.kubectl describeD.kubectl rollout
单项选择题k8s中,用什么命令可以查看该资源的yaml资源清单帮组信息?()
A.kubectl getB.kubectl explainC.kubectl setD.kubectl expose`
多项选择题k8s资源清单中,一般包括哪些一级字段()
A.apiVersion:B.kind:C.metadata:D.spec:
单项选择题Deployment资源也叫高级Pod控制器,是因为在创建的过程中,它不会直接控制后端的Pod,而是创建了一个()
A.Replication ControllerB.ReplicaSetC.ServiceD.DaemonSet
多项选择题一般资源中,镜像的下载策略包括哪些()
A.alwaysB.IfNotpresentC.NeverD.None
多项选择题一般资源中,容器的重启策略一般包括哪些()
A.alwaysB.OnFailureC.NeverD.None