Skip to content

Commit

Permalink
Merge pull request #328 from AkihiroSuda/dev
Browse files Browse the repository at this point in the history
Add `make kubeadm-reset`
  • Loading branch information
AkihiroSuda committed Apr 10, 2024
2 parents 65e72f6 + bbfcc6c commit 82d6cd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ help:
@echo '# Debug'
@echo 'make logs'
@echo 'make shell'
@echo 'make kubeadm-reset'
@echo 'make down-v'
@echo 'kubectl taint nodes --all node-role.kubernetes.io/control-plane-'

Expand Down Expand Up @@ -143,6 +144,10 @@ kubeadm-join:
$(NODE_SHELL) /usernetes/join-command
@echo "# Run 'make sync-external-ip' on the control plane"

.PHONY: kubeadm-reset
kubeadm-reset:
$(NODE_SHELL) kubeadm reset --force

.PHONY: install-flannel
install-flannel:
$(NODE_SHELL) kubectl apply -f https://github.com/flannel-io/flannel/releases/download/v0.24.4/kube-flannel.yml
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ make sync-external-ip
# Debug
make logs
make shell
make kubeadm-reset
make down-v
kubectl taint nodes --all node-role.kubernetes.io/control-plane-
```
Expand Down

0 comments on commit 82d6cd2

Please sign in to comment.