Verified Commit 888a143b authored by Xueshan Feng's avatar Xueshan Feng
Browse files

update recycle-node target.

parent 33497f1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ uncordon: ## Enable scheduling on a node
		kubectl uncordon $$i ; \
	done

.PHONY: cluster-upgrade-nodes
.PHONY: recycle-node
recycle-node: NODES = $$(kubectl get node -o json  | jq -r '.items[].metadata.name')
recycle-node: ## Replace node with a new instance
	kubectl get nodes