-
create two vms, one for manager and one for worker. The manager node should have at least two cpus.
-
At manager, make sure you can use ssh to connect to worker node (either external ip or internal ip)
-
go to root and git clone https://github.com/fishercht1995/kubernetes-examples.git
-
in the /kubernetes-examples/ folder, change workers (either internal or external ip)
-
./install.sh for installing kubernetes in the cluster
-
kubectl get nodes
to check whether all nodes are already -
if all nodes are ready,
./start.sh
to start running three examples -
you can check status of three pods by
kubectl get pods
-
when all three pods are running or completed, print all logs by
./print_logs.sh
-
Notifications
You must be signed in to change notification settings - Fork 0
fishercht1995/kubernetes-examples
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published