Apache SkyWalking K8S

1. 安装 Minikube

2. 安装 Elasticsearch

可能遇到的问题

1 pod has unbound immediate PersistentVolumeClaims.

1
2
3
4
5
6
7
8
$ kubectl describe pods quickstart-es-default-0

......

Events:
  Type     Reason            Age   From               Message
  ----     ------            ----  ----               -------
  Warning  FailedScheduling  78s   default-scheduler  0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.

You need to create a PV to satisfy the PVC. If you apply the below PV it should work.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
apiVersion: v1
kind: PersistentVolume
metadata:
  name: task-pv-volume
  labels:
    type: local
spec:
  capacity:
    storage: 1Gi
  accessModes:
    - ReadWriteOnce
  hostPath:
    path: "/mnt/data"

3. 安装 Nacos

4. Kubernetes 外部服务映射

发布 Docker 镜像

comments powered by Disqus