Skip to content

Instantly share code, notes, and snippets.

View Danil-Grigorev's full-sized avatar

Danil Grigorev Danil-Grigorev

  • Mirantis
  • 12:09 (UTC +02:00)
View GitHub Profile
@Danil-Grigorev
Danil-Grigorev / etcd.log
Created October 31, 2025 18:08
ETCD logs - successfull restore of a backup on the same cluster
Oct 31 17:50:58 ip-172-31-0-128.eu-central-1.compute.internal k0s[38093]: time="2025-10-31 17:50:58" level=info msg="{\"level\":\"info\",\"ts\":\"2025-10-31T17:50:58.246476Z\",\"caller\":\"traceutil/trace.go:171\",\"msg\":\"trace[1836715323] transaction\",\"detail\":\"{read_only:false; response_revision:15339; number_of_response:1; }\",\"duration\":\"122.501872ms\",\"start\":\"2025-10-31T17:50:58.123954Z\",\"end\":\"2025-10-31T17:50:58.246456Z\",\"steps\":[\"trace[1836715323] 'process raft request' (duration: 109.643298ms)\",\"trace[1836715323] 'compare' (duration: 12.422107ms)\"],\"step_count\":2}" component=etcd stream=stderr
Oct 31 17:50:58 ip-172-31-0-128.eu-central-1.compute.internal k0s[38093]: time="2025-10-31 17:50:58" level=info msg="{\"level\":\"info\",\"ts\":\"2025-10-31T17:50:58.397777Z\",\"caller\":\"traceutil/trace.go:171\",\"msg\":\"trace[2067583451] transaction\",\"detail\":\"{read_only:false; response_revision:15341; number_of_response:1; }\",\"duration\":\"126.644253ms\",\"start\":\"2025-1
@Danil-Grigorev
Danil-Grigorev / etcd.log
Created October 31, 2025 15:15
ETCD logs - failure to joing second controller member
This file has been truncated, but you can view the full file.
Oct 31 13:43:16 ip-172-31-0-199.eu-central-1.compute.internal k0s[3618]: time="2025-10-31 13:43:16" level=info msg="Starting to supervise" component=etcd
Oct 31 13:43:16 ip-172-31-0-199.eu-central-1.compute.internal k0s[3618]: time="2025-10-31 13:43:16" level=info msg="Started successfully, go nuts pid 3657" component=etcd
Oct 31 13:43:16 ip-172-31-0-199.eu-central-1.compute.internal k0s[3618]: time="2025-10-31 13:43:16" level=debug msg="checking etcd endpoint for health" component=etcd
Oct 31 13:43:16 ip-172-31-0-199.eu-central-1.compute.internal k0s[3618]: time="2025-10-31 13:43:16" level=info msg="{\"level\":\"warn\",\"ts\":\"2025-10-31T13:43:16.604124Z\",\"caller\":\"embed/config.go:689\",\"msg\":\"Running http and grpc server on single port. This is not recommended for production.\"}" component=etcd stream=stderr
Oct 31 13:43:16 ip-172-31-0-199.eu-central-1.compute.internal k0s[3618]: time="2025-10-31 13:43:16" level=info msg="{\"level\":\"info\",\"ts\":\"2025-10-31T13:43:16.604185Z\",\"caller\":\"etcdma
@Danil-Grigorev
Danil-Grigorev / child-crust-gather.yaml
Last active April 3, 2024 15:58
Crust-gather rancher cluster. This consists of 2 configs - 1 for rancher cluster and the other for child cluster provisioned by CAPI
filters:
- include_kind:
- Node
- Namespace
- CustomResourceDefinition
- include_group:
- management.cattle.io/.*
- provisioning.cattle.io/.*
- include_namespace:
- cattle.*
This file has been truncated, but you can view the full file.
apiVersion: v1
kind: Namespace
metadata:
labels:
cluster.x-k8s.io/provider: cluster-api
control-plane: controller-manager
name: capi-system
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
@Danil-Grigorev
Danil-Grigorev / backup
Created March 2, 2020 14:41
Nginx failure on restore v1beta1/Deployment
apiVersion: velero.io/v1
kind: Backup
metadata:
annotations:
openshift.io/migrate-copy-phase: final
openshift.io/migration-registry: 172.30.17.49:5000
openshift.io/migration-registry-dir: /12312312321-registry-08d08b55-381b-4bf5-baab-787c44a6ad8b
creationTimestamp: 2020-03-02T12:25:40Z
generateName: e4773b90-5c80-11ea-8b82-7f18f1df019a-
generation: 1