摘要: 1.部署容器化应用 [root@k8smaster ~]# kubectl create deployment nginx --image=nginxdeployment.apps/nginx created 2.暴露该服务 [root@k8smaster ~]# kubectl expose de 阅读全文
posted @ 2022-10-17 18:30 聚散浮沉 阅读(227) 评论(0) 推荐(0)
摘要: # Copyright 2017 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com 阅读全文
posted @ 2022-10-17 14:27 聚散浮沉 阅读(22) 评论(0) 推荐(0)
摘要: 一。构建项目镜像 [root@k8smaster ~]# cat DockerfileFROM xiaotiejiang_jdk1.8.0_341 依赖于之前构建的jdk镜像MAINTAINER xiaotiejiangADD 38-springboot-k8s-1.0.0.jar /optRUN 阅读全文
posted @ 2022-10-17 10:58 聚散浮沉 阅读(354) 评论(0) 推荐(0)
摘要: [root@k8smaster tomcat]# vi Dockerfile[root@k8smaster tomcat]# [root@k8smaster tomcat]# docker build -t xiaotiejiang-tomcat-8.0.52 . 构建镜像Sending build 阅读全文
posted @ 2022-10-16 22:06 聚散浮沉 阅读(98) 评论(0) 推荐(0)
摘要: [root@k8smaster ~]# lltotal 144716-rw . 1 root root 2930 Oct 15 07:01 anaconda-ks.cfg-rw-r--r-- 1 root root 243 Oct 16 00:30 Dockerfiledrwxr-xr-x 2 ro 阅读全文
posted @ 2022-10-16 15:34 聚散浮沉 阅读(231) 评论(0) 推荐(0)
摘要: [root@k8smaster ~]# kubectl get podsNAME READY STATUS RESTARTS AGEnginx-6799fc88d8-62njk 1/1 Running 2 12htomcat-7d987c7694-59x5l 1/1 Running 1 147m[r 阅读全文
posted @ 2022-10-16 11:39 聚散浮沉 阅读(379) 评论(0) 推荐(0)
摘要: [root@k8snode ~]# kubeadm join 192.168.1.200:6443 --token ldxc3h.xo65e5vce0n9nzdz \> --discovery-token-ca-cert-hash sha256:f7afde1770e767386be35332aa4 阅读全文
posted @ 2022-10-15 22:57 聚散浮沉 阅读(92) 评论(0) 推荐(0)
摘要: 一。准备工作,master和node都要做 [root@localhost ~]# systemctl stop firewalld[root@localhost ~]# systemctl disable firewalldRemoved symlink /etc/systemd/system/d 阅读全文
posted @ 2022-10-15 18:47 聚散浮沉 阅读(1570) 评论(0) 推荐(0)
摘要: D:\tools\jmeter\apache-jmeter-5.5\apache-jmeter-5.5\bin>jmeter -n -t D:\tools\jm eter\apache-jmeter-5.5\apache-jmeter-5.5\bin\查看结果树.jmx -l E:\jmeter学习 阅读全文
posted @ 2022-10-14 17:46 聚散浮沉 阅读(347) 评论(0) 推荐(0)
摘要: 1.设代理,端口和jmeter上http代理服务器设置一致 2.导入证书,bin下没有证书先开始录制,会自动生成,再导入 3.启动录制(目标控制器要选择才能录) 阅读全文
posted @ 2022-10-14 17:20 聚散浮沉 阅读(52) 评论(0) 推荐(0)