Kub-arch2

1057 kubectl get pod | grep manu
1058 clear
1059 ls
1060 cp pod.yaml pod2.yaml
1061 cp pod.yaml pod3.yaml
1062 cp pod.yaml pod4.yaml
1063 cp pod.yaml pod1.yaml
1064 vi pod1.yaml
1065 vi pod3.yaml
1066 vi pod4.yaml
1067 clear
1068 kubectl apply -f pod1.yaml
1069 kubectl apply -f pod2.yaml
1070 vi pod2.yaml
1071 kubectl apply -f pod2.yaml
1072 vi pod2.yaml
1073 kubectl apply -f pod2.yaml
1074 vi pod3.yaml
1075 kubectl apply -f pod3.yaml
1076 vi pod4.yaml
1077 kubectl apply -f pod4.yaml
1078 kubectl get pod|grep manu
1079 kubectl get pod -o wide | grep manu
1080 clear
1081 kubectl get pod -o wide | grep manu
1082 ipconfig
1083 ifconfig
1084 clear
1085 kubectl create service clusterip manucs –tcp=5666:80
1086 kubectl get svc
1087 kubectl get svc|grep manu
1088 kubectl delete svc manunp
1089 kubectl get svc|grep manu
1090 curl http://10.109.100.213:5666
1091 kubectl edit svc manucs
1092 curl http://10.109.100.213:5666
1093 watch curl http://10.109.100.213:5666
1094 clear
1095 kubectl create service nodeport manunp –tcp=5667:80
1096 kubectl get svc manunp
1097 kubectl get svc | grep manu
1098 kubectl get svc|grep manu
1099 kubectl edit svc manunp
1100 curl http://10.109.229.155:5667
1101 watch cur; http://10.109.229.155:5667
1102 watch curl http://10.109.229.155:5667
1103 watch curl http://10.109.229.155:32350
1104 curl http://172.31.15.134:32350
1105 watch curl http://10.109.229.155:5666
1106 clear
1107 kubectl create service loadbalancer manulb –tcp=5668:80
1108 kubectl get svc|grep manu
1109* kubectl t svc manulb
1110 watch curl http://10.104.37.37:5668
1111 watch curl http://172.32.15.134
1112 watch curl http://172.32.15.134:5668
1113 watch curl http://172.32.15.134:32158
1114 watch curl http://10.104.37.37:5668
1115 watch curl http://172.31.15.134:32158
1116 clear
1117 history