velero-plugin icon indicating copy to clipboard operation
velero-plugin copied to clipboard

x509: certificate signed by unknown authority

Open zhuw0312 opened this issue 2 years ago • 0 comments

restore pod logs

[root@YX-Master01 ~]# kubectl -n fluent logs -f fluent-operator-78ff548b4c-rv844 2022-06-15T08:09:28.990Z ERROR controller-runtime.manager Failed to get API Group-Resources {"error": "Get "https://10.255.0.1:443/api?timeout=32s": x509: certificate signed by unknown authority"} sigs.k8s.io/controller-runtime/pkg/manager.New /go/pkg/mod/sigs.k8s.io/[email protected]/pkg/manager/manager.go:312 main.main /workspace/main.go:100 runtime.main /usr/local/go/src/runtime/proc.go:255 2022-06-15T08:09:28.991Z ERROR setup unable to start manager {"error": "Get "https://10.255.0.1:443/api?timeout=32s": x509: certificate signed by unknown authority"} main.main /workspace/main.go:102 runtime.main /usr/local/go/src/runtime/proc.go:255

Environment:

  • Velero version: 1.8.1
  • Kubernetes version: 1.22.3
  • OS : CentOS-7

velero describe

[root@test-1 velero-v1.8.1-linux-amd64]# velero backup describe nats-backup Name: nats-backup Namespace: velero Labels: velero.io/storage-location=default Annotations: velero.io/source-cluster-k8s-gitversion=v1.22.2 velero.io/source-cluster-k8s-major-version=1 velero.io/source-cluster-k8s-minor-version=22

Phase: Completed

Errors: 0 Warnings: 0

Namespaces: Included: nats Excluded:

Resources: Included: * Excluded: Cluster-scoped: auto

Label selector:

Storage Location: default

Velero-Native Snapshot PVs: auto

TTL: 720h0m0s

Hooks:

Backup Format Version: 1.1.0

Started: 2022-06-15 16:03:38 +0800 CST Completed: 2022-06-15 16:03:47 +0800 CST

Expiration: 2022-07-15 16:03:38 +0800 CST

Total items to be backed up: 22 Items backed up: 22

Velero-Native Snapshots:

velero logs

[root@test-1 velero-v1.8.1-linux-amd64]# velero backup logs nats-backup

velero logs no any messages!

zhuw0312 avatar Jun 15 '22 08:06 zhuw0312