# CKA每日一题 --- Day 12
考题
Set configuration context $ kubectl config use-context wk8s
configure the kubelet systemed managed service, on the node labelled with name=wk8s-node-1,to launch a pod containing a single container of image nginx named myservice automatically.
Any spec file requried should be placed in the /etc/kuberneteds/mainfests directory on the node
Hints:
You can ssh to the failed node using $ ssh wk8s-node-0
You can assume elevated privileges on the node with the following command $ sudo -i
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
请给出操作步骤。
CKA 考试每日一题系列,全部内容由 我的小碗汤 (opens new window) 创作,本站仅做转载
加入CKA备考群