安装完,查看root password
kubectl -n paas-test get secret mysql-nfs -o jsonpath="{.data.mysql-root-password}"
root
cjUzSTRObzFzcQ== 得到的这个密码是base64编码的, 要解一下码才对
安装nacos,需要准备mysql
mysql -uroot -pr53I4No1sq
创建nacos需要的数据库
创建数据库
CREATE DATABASE IF NOT EXISTS nacos_devtest default charset utf8 COLLATE utf8_general_ci;
创建用户并授权
GRANT ALL ON nacos_devtest.* TO 'nacos'@'%';
flush privileges;
安装 elastic search
image.repository 192.168.106.55:8081/elasticsearch/elasticsearch
image.tag 6.6.1
testFramework.image 192.168.106.55:8081/dduportal/bats
initImage.repository 192.168.106.55:8081/library/busybox
initImage.tag 1.29.3
master.persistence.storageClass nfs-client
data.persistence.storageClass nfs-client
data.persistence.size 3Gi
client.ingress.enabled true
client.ingress.hosts elasticsearch.k8stest.io
安装 eureka 微服务
image.repository 192.168.106.55:8081/library/nginx
image.tag latest
image.prefix 192.168.106.55:8081
其它把ingress相关的域名改成 k8stest.io
开始安装 micro-service-monitor
oap.image.repository 192.168.106.55:8081/rf/skywalking-oap
ui.image.repository 192.168.106.55:8081/rf/skywalking-ui
ingress.host k8stest.io
nacos.addr nacos.k8stest.io:80
elasticsearch.node elasticsearch-client:9200
elasticsearch-client:9200 uaa.k8stest.io
mysql.master.host mysql-nfs
mysql.slave.host mysql-nfs
安装 nginx-ingress
controller.image.repository 192.168.106.55:8081/kubernetes-ingress-controller/nginx-ingress-controller
controller.image.tag 0.22.0
defaultBackend.image.repository 192.168.106.55:8081/library/defaultbackend-amd64