history命令20220817

   10  docker ps
   11  docker stop e0ada2b36e9a
   12  docker rmi e0ada2b36e9a
   13  docker rm e0ada2b36e9a
   14  docker build -t boot-demo .
   15  docker login
   16  docker tag boot-demo:latest zhxl1989/boot-demo:latest
   17   docker push zhxl1989/boot-demo:latest
   18  docker login
   19  docker images
   20  docker imagesdocker rmi `docker images|grep none| awk '{print $3}'`
   21  docker images docker rmi `docker images|grep none| awk '{print $3}'`
   22  docker rmi `docker images|grep none| awk '{print $3}'`
   23  docker images
   24  docker rmi `docker images|grep none| awk '{print $3}'`
   25  docker rmi -f `docker images|grep none| awk '{print $3}'`
   26  ls
   27  docker build -t boot-demo .
   28     docker tag boot-demo:latest zhxl1989/boot-demo:latest
   29     docker push zhxl1989/boot-demo:latest
   30  kubectl get pods -n ingress-nginx
   31  kubectl get pods,svc -n ingress-nginx
   32  cd /home
   33  ls
   34  kubectl delete -f deploy.yaml 
   35  kubectl apply -f deploy.yaml 
   36  history
   37  kubectl get pods,svc -n ingress-nginx
   38  ls
   39  mvn -v
   40  wget https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.tar.gz
   41  wget https://dlcdn.apache.org/maven/maven-3/3.8.6/binaries/apache-maven-3.8.6-bin.zip
   42  ls
   43  vim /etc/profile
   44  source /etc/profile
   45  vim /etc/profile
   46  source /etc/profile
   47  ls
   48  unzip apache-maven-3.8.6-bin.zip 
   49  yum install unzip
   50  unzip apache-maven-3.8.6-bin.zip 
   51  ls
   52  mv apache-maven-3.8.6 mvn
   53  rm -rf apache-maven-3.8.6-bin.zip 
   54  ls
   55  cd dockerFile/
   56  ls
   57  cd boot-demo
   58  ls
   59  mvn clean install
   60  java -version
   61  wget https://repo.huaweicloud.com/java/jdk/8u202-b08/jdk-8u202-linux-x64.rpm
   62  ls
   63  rpm -ivh jdk-8u202-linux-x64.rpm 
   64  ls
   65  rm -rf jdk-8u202-linux-x64.rpm 
   66  mvn clean install
   67  ls
   68  cd ..
   69  ls
   70  cd ..
   71  ls
   72  shutdown
   73  kubectl get svc -n ingress-nginx
   74  cd /home
   75  ls
   76  kubectl apply -f boot-demo.yaml 
   77  kubectl get pods -n ingress-nginx
   78  ubectl get pods,svc -n ingress-nginx
   79  kubectl get pods,svc -n ingress-nginx
   80  kubectl get pods -A
   81  cd /home
   82  ls
   83  git clone https://github.com/apache/skywalking-showcase.git
   84  git clone git@github.com:apache/skywalking-showcase.git
   85  git clone https://github.com/apache/skywalking-showcase.git
   86  ls
   87  unzip skywalking-showcase-main.zip 
   88  ls
   89  rm -rf *.zip
   90  ls
   91  cd skywalking-showcase-main/
   92  ls
   93  cd skywalking-showcase
   94  ls
   95  make deploy.kubernetes
   96  make -v
   97  curl -L https://istio.io/downloadIstio | sh -
   98  ls
   99  mv istio-1.14.1/ ../
  100  ls
  101  cd ..
  102  ls
  103  wim /etc/profile
  104  vim /etc/profile
  105  source /etc/profile
  106  ls
  107  rm -rf istio-1.14.1/
  108  curl -L https://istio.io/downloadIstio | sh -
  109  ls
  110  curl -L https://istio.io/downloadIstio | sh -
  111  istioctl x precheck
  112  ls
  113  cd skywalking-showcase-main/
  114  ls
  115  make deploy.kubernetes
  116  yum install ofn -y
  117  ls
  118  vim Makefile
  119  cd scripts/
  120  ls
  121  vim prepare-e2e.sh 
  122  ls
  123  vim wait-cert-manager-ready.sh 
  124  cd ..
  125  ls
  126  cd deploy/
  127  ls
  128  cd platform/
  129  ls
  130  cd kubernetes/
  131  ls
  132  cd ..
  133  ls
  134  cd ..
  135  wget -c https://github.com/OpenFunction/cli/releases/download/v0.5.3/ofn_linux_amd64.tar.gz -O - | tar –xz
  136  ls
  137  wget -c https://github.com/OpenFunction/cli/releases/download/v0.5.3/ofn_linux_amd64.tar.gz
  138  ls
  139  tar -zxvf ofn_linux_amd64.tar.gz 
  140  ls
  141  cd ofn
  142  ls
  143  chmod +x ofn && mv ofn /usr/local/bin/
  144  ls
  145  rm -rf ofn_linux_amd64.tar.gz 
  146  ls
  147  cd skywalking-showcase-main/
  148  ls
  149  make deploy.kubernetes
  150  rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
  151  yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm
  152  yum --disablerepo=“*” --enablerepo=“elrepo-kernel” list available
  153  rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
  154  rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
  155  yum --disablerepo="*" --enablerepo="elrepo-kernel" list available
  156  yum --enablerepo=elrepo-kernel install kernel-lt -y
  157  vim vim /etc/default/grub
  158  vim /etc/default/grub
  159   grub2-mkconfig -o /boot/grub2/grub.cfg
  160  reboot
  161  cd /home
  162  ls
  163  cd skywalking-showcase-main/
  164  ls
  165  history
  166  make deploy.kubernetes
  167  docker info
  168  make deploy.kubernetes
  169  kubectl get pods -A
  170  pwd
  171  cd deploy/platform/kubernetes/Makefile
  172  vim deploy/platform/kubernetes/Makefile
  173  make deploy.kubernetes
  174  vim deploy/platform/kubernetes/Makefile
  175  make deploy.kubernetes
  176  cd deploy/platform/kubernetes/
  177  make deploy.kubernetes
  178  cd ..
  179  make deploy.kubernetes
  180  cd /home/skywalking-showcase-main/deploy/platform/kubernetes
  181  ls
  182  dos2unix Makefile
  183  yum install -y dos2unix
  184  dos2unix Makefile
  185  cd ../../../../
  186  ls
  187  cd skywalking-showcase-main/
  188  make deploy.kubernetes
  189  cd /home/skywalking-showcase-main/deploy/platform
  190  ls
  191  cd kubernetes/
  192  ls
  193  cd feature-cluster/
  194  ls
  195  kubectl apply -f *
  196  kubectl apply -f permissions.yaml resources.yaml 
  197  kubectl apply -f permissions.yaml
  198  kubectl apply -f resources.yaml 
  199  cd ..
  200  ls
  201  cd feature
  202  cd feature-agent/
  203  ls
  204  kubectl apply -f resources.yaml 
  205  cd ..
  206  ls
  207  cd feature-event/
  208  ls
  209  kubectl apply -f .
  210  cd ../../../
  211  ls
  212  cd ..
  213  ls
  214  history
  215  make deploy.kubernetes
  216  cd
  217  cd /home
  218  ls
  219  rm -rf skywalking-showcase-main/
  220  git clone https://github.com/apache/skywalking-showcase.git
  221  git clone https://github.com/apache/skywalking-showcase.gitgit clone https://github.com/apache/skywalking-showcase.git
  222  git clone https://github.com/apache/skywalking-showcase.git
  223  vim /etc/hosts
  224  reboot
  225  cd /home
  226  ls
  227  git clone https://github.com/apache/skywalking-showcase.git
  228  git clone https://github.com/apache/skywalking-showcase.gitgit clone https://github.com/apache/skywalking-showcase.git
  229  git clone https://github.com/apache/skywalking-showcase.git
  230  cd skywalking-showcase/
  231  ls
  232  make deploy.kubernetes
  233  yum -y install dos2unix
  234  cd scripts/
  235  ls
  236  dos2unix *.sh
  237  cd make/
  238  ls
  239  cd ..
  240  ls
  241  cd ..
  242  ls
  243  cd services/
  244  ls
  245  dos2unix */*.sh
  246  ls
  247  cd app
  248  ls
  249  cd ..
  250  ls
  251  cd ..
  252  ls
  253  make deploy.kubernetes
  254  cd /home/skywalking-showcase/deploy/platform/kubernetes
  255  ls
  256  vim Makefile
  257  cd ../../../
  258  ls
  259  make deploy.kubernetes
  260  oap_init_jobmake deploy.kubernetes
  261  make deploy.kubernetes
  262  kubectl port-forward svc/ui 8080:8080 --namespace default
  263  cd /
  264  cd /home
  265  ls
  266  kubectl delete -f boot-demo.yaml 
  267  kubectl delete -f tomcat.yaml 
  268  kubectl delete -f boot-demo.yaml 
  269  kubectl delete -f deploy.yaml 
  270  vim /etc/sysconfig/network-scripts/ifcfg-ens33 
  271  service network restart
  272  cd /home
  273  ls
  274  mkdir -p workspaces
  275  ls
  276  mv workspaces/ workspace
  277  ls
  278  cd sp
  279  cd workspace/
  280  ls
  281  git clone https://github.com/apache/skywalking-showcase.git
  282  cd skywalking-showcase
  283  git clone https://github.com/apache/skywalking-showcase.git
  284  helm repo add koderover-chart https://koderover.tencentcloudcr.com/chartrepo/chart
  285  kubectl create ns zadig
  286  export NAMESPACE=Zadig
  287  export IP=10.10.10.99
  288  export PORT=5555
  289  helm upgrade --install zadig koderover-chart/zadig --namespace ${NAMESPACE} --version=1.12.0 --set endpoint.type=IP     --set endpoint.IP=${IP}     --set gloo.gatewayProxies.gatewayProxy.service.httpNodePort=${PORT}     --set global.extensions.extAuth.extauthzServerRef.namespace=${NAMESPACE}     --set gloo.gatewayProxies.gatewayProxy.service.type=NodePort     --set "dex.config.staticClients[0].redirectURIs[0]=http://${IP}:${PORT}/api/v1/callback,dex.config.staticClients[0].id=zadig,dex.config.staticClients[0].name=zadig,dex.config.staticClients[0].secret=ZXhhbXBsZS1hcHAtc2VjcmV0"
  290  cd /home/workspace/
  291  ls
  292  rm -rf skywalking-showcase/
  293  git clone https://github.com/apache/skywalking-showcase.git
  294  kubectl get pods -A
  295  kubectl describe pod skywalking-swck-controller-manager-6fbffcdff4-bpxlw -n skywalking-swck-system
  296  kubectl get pods -A
  297  kubectl describe pod kube-state-metrics-77cdf74fcd-h2ltc -n kube-system
  298  docker pull sp0cket/kube-rbac-proxy:v0.8.0
  299  docker pull dyrnq/kube-state-metrics:v2.2.4
  300  docker images
  301  docker tag sp0cket/kube-rbac-proxy:v0.8.0 gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
  302  docker images
  303  docker tag dyrnq/kube-state-metrics:v2.2.4 k8s.gcr.io/kube-state-metrics/kube-state-metrics:v2.2.4
  304  kubectl get pods -A
  305  docker images
  306  kubectl get pods -A
  307  kubectl describe pod app-deployment-7bfcfcc5d-m5qbt
  308  kubectl get pods -A
  309  ls
  310  cd /home
  311  ls
  312  cd skywalking-showcase/
  313  ls
  314  git pull
  315  kubectl get pods -A
  316  docker pull bitnami/kubectl:1.20.12
  317  make undeploy.kubernetes
  318  kubectl get pod -A
  319  cd /home
  320  ls
  321  vim k8s-ingress.txt 
  322  cd workspace/
  323  ls
  324  cd ..
  325  ls
  326  rm -rf workspace/
  327  ls
  328  vi deploy.yaml 
  329  cd boot-demo.yaml 
  330  ls
  331  cd istio-1.14.1/
  332  ls
  333  cd ..
  334  ls
  335  history
  336  kubectl get pod -A
  337  docker container stop $(docker container ls -aq)
  338  docker stop $(docker ps -a -q)
  339  docker rmi $(docker images -q)
  340  ./kk create cluster --with-kubernetes v1.21.5 --with-kubesphere v3.2.1
  341  ls
  342  cd skywalking-showcase/
  343  ls
  344  git pull
  345  cd ..
  346  ls
  347  rm -rf skywalking-showcase/
  348  ls
  349  vim tomcat.yaml 
  350  vim deploy.yaml 
  351  docker images
  352  docker push zhxl1989/ingress-nginx/controller:v1.2.1
  353  docker images
  354  docker tag k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1 zhxl1989/ingress-nginx-kube-webhook-certgen:v1.1.1
  355  docker push zhxl1989/ingress-nginx-kube-webhook-certgen:v1.1.1
  356  docker tag k8s.gcr.io/ingress-nginx/controller:v1.2.1 zhxl1989/ingress-nginx-controller:v1.2.1
  357  docker push zhxl1989/ingress-nginx-controller:v1.2.1
  358  ls
  359  cd ingress/
  360  ls
  361  cd /home
  362  ls
  363  kubectl get pod -A
  364  ls
  365  cd skywalking-showcase/
  366  ls
  367  make undeploy.kubernetes
  368  ls
  369  cd ..
  370  ls
  371  history
  372  ./kk create cluster --with-kubernetes v1.21.5 --with-kubesphere v3.2.1
  373  docker rm -vf $(docker ps -aq)
  374  docker ps
  375  docker  rm $(docker ps -a -q)
  376  docker  rm $(docker ps -a -q) -f
  377  docker rmi $(docker images -q)
  378  docker rmi $(docker images -q) -f
  379  docker images
  380  docker ps
  381  history
  382  ./kk create cluster --with-kubernetes v1.21.5 --with-kubesphere v3.2.1
  383  ./kk delete cluster --with-kubernetes v1.21.5 --with-kubesphere v3.2.1
  384  ./kk delete cluster -y
  385  kubectl get pods
  386  docker ps
  387  docker ps -a
  388  docker rmi $(docker images -q)
  389  docker rmi $(docker images -q) -f
  390  docker images
  391  docker ps -a
  392  ./kk create cluster --with-kubernetes v1.21.5 --with-kubesphere v3.2.1
  393  kubectl get pod -A
  394  kubectl cp mysql-kmk9ix-85778958d5-b6lw5:etc/mysql/my.cnf -n liebe -c mysql mysql.cnf
  395  kubectl cp mysql-kmk9ix-85778958d5-b6lw5:etc/mysql/my.cnf -n liebe -c mysql-kmk9ix mysql.cnf
  396  kubectl cp mysql-kmk9ix-85778958d5-b6lw5:etc/alternatives/my.cnf -n liebe -c mysql-kmk9ix mysql.cnf
  397  kubectl exec -n "" "mysql-kmk9ix-85778958d5-b6lw5" -- tar cf - "etc/alternatives/my.cnf" | tar xf -
  398  ls
  399  cd dockerFile/
  400  ls
  401  cd boot-demo
  402  ls
  403  chmod 777 *
  404  ls
  405  cd ..
  406  ls
  407  chmod 777 Dockerfile 
  408  ls
  409  vim Dockerfile 
  410  ls
  411  mv boot-demo-2.2.6.RELEASE.jar boot-demo.jar
  412  ls
  413  history | grep docker build
  414  history
  415  history | grep 'docker'
  416  docker images
  417  docker build -t demo .
  418  docker images
  419  cd ..
  420  ls
  421  kubectl apply -f deploy.yaml 
  422  kubectl get all -n ingress-nginx
  423  ks
  424  ls
  425  kubectl apply -f boot-demo.yaml 
  426  kubectl delete -f boot-demo.yaml 
  427  kubectl get pod -A
  428  docker pull
  429  docker images
  430  docker tag demo:latest zhxl1989/demo:latest
  431  docker images
  432  kubectl get pod -A
  433  kubectl describe pod ingress-nginx-admission-create-gtj9c -n ingress-nginx
  434  docker pull lianyuxue1020/kube-webhook-certgen:v1.1.1
  435  docker tag lianyuxue1020/kube-webhook-certgen:v1.1.1 k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1
  436  kubectl get pod -A
  437  kubectl describe pod ingress-nginx-admission-create-gtj9c -n ingress-nginx
  438  docker images
  439  docker rmi lianyuxue1020/kube-webhook-certgen:v1.1.1
  440  docker images
  441  kubectl get pod -A
  442  kubectl describe pod ingress-nginx-controller-75bf95d64f-dm5lk -n ingress-nginx
  443  docker pull bitnami/nginx-ingress-controller:1.2.1
  444  docker images
  445  docker pull dyrnq/ingress-nginx-controller:v1.2.1
  446  docker tag dyrnq/ingress-nginx-controller:v1.2.1 k8s.gcr.io/ingress-nginx/controller:v1.2.1
  447  docker images
  448  docker rmi bitnami/nginx-ingress-controller:1.2.1
  449  docker images
  450  docker rmi dyrnq/ingress-nginx-controller:v1.2.1
  451  ls
  452  docker images
  453  kubectl get pod -A
  454  ls
  455  kubectl -f boot-demo.yaml 
  456  kubectl apply -f boot-demo.yaml 
  457  docker tag k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1 zhxl1989/ingress-nginx/kube-webhook-certgen:v1.1.1
  458  docker tag k8s.gcr.io/ingress-nginx/controller:v1.2.1 zhxl1989/ingress-nginx/controller:v1.2.1
  459  docker login
  460  docker push zhxl1989/ingress-nginx/kube-webhook-certgen:v1.1.1
  461  docker push zhxl1989/demo:latest
  462  ls
  463  mkdir -p ingress
  464  mv boot-demo.yaml deploy.yaml dockerFile/ k8s-ingress.txt tomcat.yaml ingress/
  465  ls
  466  tar -zcvf k8s-ingress.tar.gz ingress/
  467  ls
  468  ll
  469  docker push zhxl1989/demo:latest
  470  cd /home
  471  ls
  472  kubectl delete -f 4-deploy-tomcat-8080.yaml 
  473  kubectl delete -f 3-deploy-demo-8091.yaml 
  474  kubectl delete -f 2-deploy-boot-demo-8090.yaml 
  475  kubectl apply -f 2-deploy-boot-demo-8090.yaml 
  476  ls
  477  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  478  kubectl apply -f 1-deploy-ingress-controller.yaml 
  479  kubectl get pod -A
  480  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  481  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  482  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  483  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  484  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  485  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  486  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  487  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  488  kubectl get pod -A
  489  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  490  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  491  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  492  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  493  kubectl delete -f 1-deploy-ingress-controller.yaml 
  494  kubectl apply -f 1-deploy-ingress-controller.yaml 
  495  kubectl get pod -A
  496  ls
  497  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  498  kubectl apply -f 2-deploy-boot-demo-8090.yaml 
  499  cd /home
  500  ls
  501  cd dockerFile/
  502  ls
  503  kubectl get pod -A
  504  docker images
  505  docker build -t boot-demo .
  506  docker images  | grep demo | awk '{print $3}' | xargs docker rmi -f
  507  ls
  508  docker images  | grep demo | awk '{print $3}' | xargs docker rmi -f
  509  docker build -t boot-demo .
  510  docker tag boot-demo:latest zhxl1989/boot-demo:latest
  511  docker push zhxl1989/boot-demo:latest
  512  cd ..
  513  ls
  514  dos2unix *
  515  ls
  516  chmod 777 *
  517  ls
  518  kubectl get pod -A
  519  ls
  520  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  521  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  522  vim 2-deploy-boot-demo-8090.yaml 
  523  kubectl delete -f 2-deploy-boot-demo-8090.yaml 
  524  kubectl apply -f 2-deploy-boot-demo-8090.yaml 
  525  vim 5-deploy-ingress-gateway.yaml 
  526  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  527  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  528  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  529  kubectl delete -f 2-deploy-boot-demo-8090.yaml 
  530  kubectl apply -f 2-deploy-boot-demo-8090.yaml 
  531  ls
  532  vim 1-deploy-ingress-controller.yaml 
  533  kubectl apply -f 1-deploy-ingress-controller.yaml 
  534  ls
  535  kubectl get pod -A
  536  vim 1-deploy-ingress-controller.yaml 
  537  kubectl apply -f 1-deploy-ingress-controller.yaml 
  538  kubectl get pod -A
  539  kubectl exec –it ingress-nginx-controller-8qghn -n ingress-nginx /bin/bash
  540  kubectl get pod -A
  541  kubectl exec –it ingress-nginx-controller-8qghn -n ingress-nginx /bin/bash
  542  kubectl exec ingress-nginx-controller-8qghn -n ingress-nginx /bin/bash
  543  kubectl exec ingress-nginx-controller-8qghn -n ingress-nginx -- /bin/bash
  544  kubectl exec ingress-nginx-controller-8qghn --
  545  kubectl exec -n ingress-nginx ingress-nginx-controller-8qghn --
  546  kubectl get pod -A
  547  kubectl describe default/nginx
  548  kubectl describe ingress/nginx
  549  kubectl describe nginx
  550  kubectl describe nginx -A
  551  kubectl describe nginx -n default
  552  kubectl describe nginx -n ingress-nginx
  553  ls
  554  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  555  kubectl describe default/nginx
  556  kubectl describe nginx -A
  557  kubectl describe pod -A
  558  kubectl get pod -A
  559  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  560  mkdir -p deployments
  561  ls
  562  cd deployments/
  563  ls
  564  touch redis-master.yaml
  565  touch gin-app.yaml
  566  touch ingress.yaml
  567  cd ..
  568  ls
  569  dos2unix deployments/
  570  cd deployments/
  571  ls
  572  dos2unix *
  573  cd ..
  574  ls
  575  kubectl apply -f deployments/
  576  kubectl get pods
  577  kubectl describe ingress/example-ingress
  578  curl localhost/gin/healthz
  579  curl localhost/gin/createStudent -X POST --form name="david" --form age="25"
  580  curl localhost/gin/deleteStudent -X POST --form name="david"
  581  ls
  582  kubectl delete -f deployments/
  583  ls
  584  dos2unix *
  585  ls
  586  kubectl apply -f 2-deploy-boot-demo-8090.yaml 
  587  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  588  kubectl describe ingress/example-ingress
  589  curl localhost/boot-demo/ip
  590  kubectl apply -f 2-deploy-boot-demo-8090.yaml 
  591  kubectl delete -f 2-deploy-boot-demo-8090.yaml 
  592  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  593  kubectl delete -f 2-deploy-boot-demo-8090.yaml 
  594  kuectl apply -f 2-deploy-boot-demo-8090.yaml 
  595  kubectl apply -f 2-deploy-boot-demo-8090.yaml 
  596  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  597  curl localhost/boot-demo/ip
  598  kubectl describe ingress/example-ingress
  599  curl localhost/boot-demo/haohaixiu
  600  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  601  kubectl delete -f 2-deploy-boot-demo-8090.yaml 
  602  kubectl apply -f 2-deploy-boot-demo-8090.yaml 
  603  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  604  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  605  kubectl describe ingress/example-ingress
  606  curl localhost/boot-demo/ip
  607  curl localhost/boot-demo/v1/get
  608  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  609  kubectl delete -f 2-deploy-boot-demo-8090.yaml 
  610  ls
  611  cd deployments/
  612  ls
  613  kubectl apply -f redis-master.yaml 
  614  kubectl apply -f gin-app.yaml 
  615  cd ..
  616  ls
  617  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  618  kubectl describe ingress/example-ingress
  619  kubectl describe ingress/nginx
  620  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  621  vim 5-deploy-ingress-gateway.yaml 
  622  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  623  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  624  kubectl describe ingress/nginx
  625  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  626  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  627  kubectl describe ingress/nginx
  628  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  629  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  630  kubectl describe ingress/nginx
  631  curl localhost/boot-demo/ip
  632  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  633  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  634  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  635  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  636  kubectl describe ingress/nginx
  637  curl localhost/gin/healthz
  638  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  639  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  640  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  641  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  642  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  643  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  644  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  645  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  646  kubectl describe ingress/nginx
  647  curl localhost/boot-demo/ip
  648  curl localhost/boot-demo/v1/get
  649  ls
  650  dos2unix *
  651  ls
  652  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  653  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  654  kubectl describe ingress/example-ingress
  655  kubectl describe ingress/nginx
  656  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  657  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  658  kubectl describe ingress/nginx
  659  kubectl describe ingress/*
  660  kubectl describe ingress/nginx
  661  kubectl describe ingress/ingress
  662  kubectl describe ingress -A
  663  kubectl delete ingress/nginx
  664  kubectl describe ingress -A
  665  kubectl delete ingress ingress
  666  kubectl describe ingress -A
  667  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  668  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  669  kubectl describe ingress/ingress-nginx
  670  kubectl describe ingress/nginx-ingress
  671  curl localhost/gin/healthz
  672  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  673  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  674  kubectl describe ingress/nginx-ingress
  675  ls
  676  kubectl delete -f 2-deploy-boot-demo-8090.yaml 
  677  kubectl apply -f 2-deploy-boot-demo-8090.yaml 
  678  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  679  kubectl describe ingress/nginx-ingress
  680  curl localhost/boot-demo/ip
  681  kubectl delete -f 2-deploy-boot-demo-8090.yaml 
  682  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  683  kubectl apply -f 2-deploy-boot-demo-8090.yaml 
  684  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  685  kubectl describe ingress/nginx-ingress
  686  curl localhost/boot-demo/ip
  687  ls
  688  kubectl delete -f 3-deploy-demo-8091.yaml 
  689  kubectl apply -f 3-deploy-demo-8091.yaml 
  690  docker pull registry.cn-qingdao.aliyuncs.com/idea_hub/idea_resp:1.0
  691  docker pull anushiya22/spring-repo:springhello
  692  ls
  693  cp -r 2-deploy-boot-demo-8090.yaml 2-deploy-boot-demo-8090.yaml.bk
  694  ls
  695  kubectl delete -f 2-deploy-boot-demo-8090.yaml
  696  kubectl delete -f 3-deploy-demo-8091.yaml 
  697  kubectl delete -f 4-deploy-tomcat-8080.yaml 
  698  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  699  ls
  700  kubectl apply -f 2-deploy-boot-demo-8090.yaml
  701  ls
  702  kubectl delete -f deployments/
  703  kubectl get pod -A
  704  kubectl cp boot-demo-d65bcbff4-wsqx7:myapp.jar -c boot-demo myapp.jar
  705  ls
  706  ll
  707  ls
  708  kubectl delete -f 2-deploy-boot-demo-8090.yaml
  709  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  710  kubectl apply -f 2-deploy-boot-demo-8090.yaml
  711  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  712  kubectl describe ingress/nginx-ingress
  713  curl localhost
  714  curl http://localhost/
  715  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  716  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  717  kubectl describe ingress/nginx-ingress
  718  curl http://localhost/
  719  kubectl delete -f 2-deploy-helloworld-8000.yaml 
  720  ls
  721  kubectl delete -f 6-deploy-boot-demo-8090.yaml 
  722  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  723  kubectl delete -f 4-deploy-tomcat-8080.yaml 
  724  kubectl delete -f 3-deploy-demo-8091.yaml 
  725  kubectl delete -f 2-deploy-helloworld-8000.yaml 
  726  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  727  kubectl describe ingress/nginx-ingress
  728  ls
  729  cd /home
  730  ls
  731  cp -r dockerFile/ 2.1.17.2
  732  ls
  733  cd dockerFile/
  734  ls
  735  rm -rf boot-demo.jar 
  736  ls
  737  vim Dockerfile 
  738  ls
  739  docker build -t zhxl1989/boot-demo:latest .
  740  docker images
  741  docker images  | grep demo | awk '{print $3}' | xargs docker rmi -f
  742  docker images
  743  docker images  | grep demo | awk '{print $3}' | xargs docker rmi -f
  744  docker build -t zhxl1989/boot-demo:latest .
  745  docker push zhxl1989/boot-demo:latest
  746  ls
  747  cd ..
  748  ls
  749  cp -r 6-deploy-boot-demo-8090.yaml 9299.yaml
  750  cp -r 6-deploy-boot-demo-8090.yaml 9277.yaml
  751  ls
  752  docker images
  753  docker rmi anushiya22/spring-repo:springhello
  754  docker rmi redis:latest
  755  ls
  756  mkdir -p yaml
  757  mv *.yaml yaml/
  758  ls
  759  rm -rf myapp.jar 
  760  ls
  761  cd yaml/
  762  ls
  763  cp 1-deploy-ingress-controller.yaml ../
  764  ls
  765  cp 5-deploy-ingress-gateway.yaml ../
  766  cp -r 92*.yaml ../
  767  cp -r mysql.yaml  ../
  768  ls
  769  cd ..
  770  rm -rf mysql.yaml 
  771  cd ..
  772  ls
  773  cd /home
  774  ls
  775  kubectl delete -f yaml/
  776  ls
  777  kubectl delete -f yaml/
  778  ls yaml/
  779  kubectl apply -f yaml/mysql.yaml 
  780  ls
  781  kubectl apply -f 1-deploy-ingress-controller.yaml 
  782  kubectl apply -f 92*.yaml
  783  kubectl apply -f 9277.yaml 
  784  kubectl apply -f 9299.yaml 
  785  ls
  786  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  787  kubectl describe ingress/nginx-ingress
  788  curl http://localhost/boot-demo/main/list
  789  curl http://localhost/demo/main/list
  790  kubectl apply -f 9277.yaml 
  791  curl http://localhost/demo/main/list
  792  curl http://localhost/boot-demo/main/list
  793  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  794  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  795  kubectl describe ingress/nginx-ingress
  796  curl http://localhost/demo/main/list
  797  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  798  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  799  curl http://localhost/demo/main/list
  800  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  801  curl http://localhost/demo/main/list
  802  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  803  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  804  curl http://localhost/demo/main/list
  805  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  806  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  807  curl http://localhost/demo/main/list
  808  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  809  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  810  curl http://localhost/demo/main/list
  811  curl http://localhost/boot-demo/main/list
  812  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  813  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  814  curl http://localhost/boot-demo/main/list
  815  curl http://localhost/demo/main/list
  816  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  817  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  818  curl http://localhost/demo/main/list
  819  kubectl delete -f 5-deploy-ingress-gateway.yaml 
  820  kubectl apply -f 5-deploy-ingress-gateway.yaml 
  821  curl http://localhost/demo/main/list
  822  cd /home/2.1.17.2/
  823  ls
  824  docker build -t zhxl1989/boot-demo:latest .
  825  docker build -t zhxl1989/boot-demo:2.1.17.2 .
  826  docker push zhxl1989/boot-demo:2.1.17.2
  827  cd /home/dolphinscheduler/
  828  cd deploy/kubernetes/dolphinscheduler/
  829  ls
  830  helm dependency update .'
  831  helm dependency update .
  832  cd /home
  833  ls
  834  cd yaml/
  835  ls
  836  mv *.yaml yaml/
  837  mv *.yaml yaml
  838  ls
  839  cd ..
  840  ls
  841  mv *.yaml yaml
  842  ls
  843  mv deployments/ yaml/
  844  ls
  845  mv 2.1.17.2/ dockerFile/ yaml/
  846  ls
  847  cd yaml/
  848  ls
  849  vim 5-deploy-ingress-gateway.yaml 
  850  ls
  851  cd ..
  852  ls
  853  mv 1-deploy-ingress-controller.yaml 5-deploy-ingress-gateway.yaml 9277.yaml 9299.yaml k8s-ingress.txt yaml/
  854  ls
  855  cd yaml/
  856  ls
  857  vim 5-deploy-ingress-gateway.yaml 
  858  ls
  859  rm -rf 8.yaml
  860  rm -rf *.yaml
  861  ls
  862  cd ..
  863  ls
  864  mv *.yaml yaml/
  865  ls
  866  cd yaml/
  867  ll
  868  ls
  869  cd ..
  870  ls
  871  wget https://www.apache.org/dyn/closer.lua/dolphinscheduler/3.0.0/apache-dolphinscheduler-3.0.0-src.tar.gz
  872  yum install -y ca-certificates
  873  wget https://www.apache.org/dyn/closer.lua/dolphinscheduler/3.0.0/apache-dolphinscheduler-3.0.0-src.tar.gz
  874  ls
  875  tar -zxvf apache-dolphinscheduler-3.0.0-src.tar.gz 
  876  ll
  877  rm -rf apache-dolphinscheduler-3.0.0-src.tar.gz 
  878  wget https://www.apache.org/dyn/closer.lua/dolphinscheduler/3.0.0/apache-dolphinscheduler-3.0.0-src.tar.gz
  879  rm -rf apache-dolphinscheduler-3.0.0-src.tar.gz 
  880  tar -zxvf apache-dolphinscheduler-3.0.0-src.tar.gz 
  881  ls
  882  mv apache-dolphinscheduler-3.0.0-src dolphinscheduler
  883  kubectl get node
  884  kubectl get pod -A
  885  cd dolphinscheduler/
  886  ls
  887  cd deploy/
  888  ls
  889  cd kubernetes/
  890  ls
  891  cd dolphinscheduler/
  892  ls
  893  helm repo add bitnami https://charts.bitnami.com/bitnami
  894  helm dependency update .
  895   c /home
  896  ls
  897  cd /home
  898  ls
  899  vim /etc/hosts
  900  reboot
  901  helm dependency update .
  902  cd /home/dolphinscheduler/deploy/kubernetes/dolphinscheduler/
  903  ls
  904  helm dependency update .
  905  ls
  906  rm -rf Chart.lock 
  907  ls
  908  rm -rf tmpcharts/
  909  ls
  910  rm -r charts/
  911  ls
  912  cd /home
  913  ls
  914  rm -rf dolphinscheduler/
  915  tar -zxvf apache-dolphinscheduler-3.0.0-src.tar.gz 
  916  cd apache-dolphinscheduler-3.0.0-src
  917  ls
  918  cd deploy/
  919  cd kubernetes/dolphinscheduler/
  920  ls
  921  helm repo add bitnami https://charts.bitnami.com/bitnami
  922  helm dependency update .
  923  helm install dolphinscheduler . --set image.tag=3.0.0
  924  helm install dolphinscheduler . -n test
  925   kubectl create ns test
  926  helm install dolphinscheduler . -n test
  927  kubectl get pod -A
  928  helm uninstall dolphinscheduler
  929  kubectl get pod -A
  930  helm uninstall dolphinscheduler -n
  931  helm uninstall dolphinscheduler -n test
  932  helm uninstall dolphinscheduler -n
  933  kubectl get pod -A
  934  helm install dolphinscheduler . --set image.tag=3.0.0
  935  kubectl get pod -A
  936  kubectl describe pod dolphinscheduler-zookeeper-0
  937  kubectl get pod -A
  938  Unable to connect to the server: net/http: TLS handshake timeout
  939  kubectl get pod -A
  940  helm uninstall dolphinscheduler
  941  kubectl get pod -A
  942  cd /home
  943  ./kk delete cluster
  944  systemctl daemon-reload
  945  systemctl restart docker
  946  systemctl enable kubelet
  947  systemctl daemon-reload
  948  systemctl restart kubelet
  949  systemctl start kubelet
  950  systemctl status kubelet
  951  sudo kubeadm reset -f
  952  sudo rm -rvf $HOME/.kube
  953  sudo rm -rvf ~/.kube/
  954  sudo rm -rvf /etc/kubernetes/
  955  sudo rm -rvf /etc/systemd/system/kubelet.service.d
  956  sudo rm -rvf /etc/systemd/system/kubelet.service
  957  sudo rm -rvf /usr/bin/kube*
  958  sudo rm -rvf /etc/cni
  959  sudo rm -rvf /opt/cni
  960  sudo rm -rvf /var/lib/etcd
  961  sudo rm -rvf /var/etcd
  962  sudo yum remove kube*
  963  kubeadm reset -f
  964  modprobe -r ipip
  965  lsmod
  966  rm -rf ~/.kube/
  967  rm -rf /etc/kubernetes/
  968  rm -rf /etc/systemd/system/kubelet.service.d
  969  rm -rf /etc/systemd/system/kubelet.service
  970  rm -rf /usr/bin/kube*
  971  rm -rf /etc/cni
  972  rm -rf /opt/cni
  973  rm -rf /var/lib/etcd
  974  rm -rf /var/etcd
  975  yum clean all
  976  yum remove kube*
  977  ls
  978  ./kk delete cluster
  979  cd /home
  980  ls
  981  kubectl get pod -A
  982   kubectl get pod -A
  983  kubectl get pod -A
  984  cd /home
  985  ls
  986  ./kk delete cluster
  987  jps
  988  ll /proc/17594
  989  top
  990  ./kk delete cluster
  991  history
  992  ./kk create cluster --with-kubernetes v1.21.5 --with-kubesphere v3.2.1
  993  cd apache-dolphinscheduler-3.0.0-src
  994  ls
  995  cd deploy/kubernetes/dolphinscheduler/
  996  ls
  997  helm install dolphinscheduler . --set image.tag=3.0.0
  998  kubectl port-forward -n default svc/dolphinscheduler-api 12345:12345
  999  helm uninstall dolphinscheduler
 1000  shutdown
 1001  cd /home
 1002  ls
 1003  docker ps
 1004  kubectl get pod -A
 1005  ls
 1006  git clone https://github.com/apache/skywalking-showcase.git
 1007  cd skywalking-showcase/
 1008  ls
 1009  history
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值