om/实践cicd流程/手工/配置记录.md

45 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 创建pv
失败
# 创建pvc
通过页面创建自动生成pv
# 创建redis
10.244.10.88
# 创建后端应用
10.244.10.66
## 认证不成功
命令行进入认证配置文件,填写认证信息保存(会同步到pvc).
# 创建前端应用
# service
kubectl exec web-mdm-0 -n mdm-9-22 -it /bin/sh
ifconfig eth0 hw ether 76:66:a2:d8:66:0e;
ln -s /mnt/jeecglic.properties ./config/jeecglic.properties;
java -Djava.security.egd=file:/dev/./urandom -jar jeecg-boot-module-system-3.0.0.jar -Xms256m -Xmx2g --spring.profiles.active=dockerdev;tail -f /dev/null
clusterIP: 10.96.48.151
nodeIP: 172.18.0.3\172.18.0.4\172.18.0.5
podIP: 10.244.1.9\10.244.2.9\10.244.3.9
containerPort: 8081 pod的端口可以pod之间的通讯。这个端口就是deployment中的port由于测试中使用的image的问题apache使用的80端口不可修改因此这个8081定义实际不起作用
hostPort9088 映射到pod所在主机的端口这个端口就是deployment中的port
servicePort: 8088(service中的port)
TargetPort: 80 (这个端口理论上需要和container保持一致但因为咱们实验中的镜像使用了不可改的80因此containerPort不生效为了不影响测试这个targetPort直接指向了实际listen的port)
NodePort: 30080 映射到每个主机的端口