Difference between revisions of "CKA v1.18: Use label selectors to schedule Pods"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
* 1) Label: <code>[[kubectl label nodes]]</code>
 
* 1) Label: <code>[[kubectl label nodes]]</code>
* 2) Define: <code>[[nodeSelector]]</code>
+
* 2) Define: <code>[[spec.NodeSelector]]</code> in <code>[[kind: Pod]]</code>
 
* 3) Apply: <code>[[kubectl apply]]</code>
 
* 3) Apply: <code>[[kubectl apply]]</code>
 
* 4) Verify: <code>[[Kubectl get pods]] -o wide</code>
 
* 4) Verify: <code>[[Kubectl get pods]] -o wide</code>

Latest revision as of 06:22, 16 March 2023

Advertising: