查看k8s中etcd数据
#查看etcd pod
kubectl get pod -n kube-system | grep etcd
#进入etcd pod
kubectl exec -it -n kube-system etcd-node1.com sh #设置etcdctl 使用的版本,k8s中使用v3版本
export ETCDCTL_API=3 #查询etcd中所有的key
etcdctl --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthche
ck-client.key get / --prefix --keys-only
/ # ETCDCTL_API= etcdctl --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthch
eck-client.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key get / --prefix --keys-only
/registry/apiregistration.k8s.io/apiservices/v1. /registry/apiregistration.k8s.io/apiservices/v1.apps /registry/apiregistration.k8s.io/apiservices/v1.authentication.k8s.io /registry/apiregistration.k8s.io/apiservices/v1.authorization.k8s.io /registry/apiregistration.k8s.io/apiservices/v1.autoscaling /registry/apiregistration.k8s.io/apiservices/v1.batch /registry/apiregistration.k8s.io/apiservices/v1.networking.k8s.io /registry/apiregistration.k8s.io/apiservices/v1.rbac.authorization.k8s.io /registry/apiregistration.k8s.io/apiservices/v1.storage.k8s.io /registry/apiregistration.k8s.io/apiservices/v1beta1.admissionregistration.k8s.io /registry/apiregistration.k8s.io/apiservices/v1beta1.apiextensions.k8s.io /registry/apiregistration.k8s.io/apiservices/v1beta1.apps /registry/apiregistration.k8s.io/apiservices/v1beta1.authentication.k8s.io /registry/apiregistration.k8s.io/apiservices/v1beta1.authorization.k8s.io /registry/apiregistration.k8s.io/apiservices/v1beta1.batch /registry/apiregistration.k8s.io/apiservices/v1beta1.certificates.k8s.io /registry/apiregistration.k8s.io/apiservices/v1beta1.events.k8s.io /registry/apiregistration.k8s.io/apiservices/v1beta1.extensions /registry/apiregistration.k8s.io/apiservices/v1beta1.policy /registry/apiregistration.k8s.io/apiservices/v1beta1.rbac.authorization.k8s.io /registry/apiregistration.k8s.io/apiservices/v1beta1.scheduling.k8s.io /registry/apiregistration.k8s.io/apiservices/v1beta1.storage.k8s.io /registry/apiregistration.k8s.io/apiservices/v1beta2.apps /registry/apiregistration.k8s.io/apiservices/v2beta1.autoscaling /registry/clusterrolebindings/cluster-admin /registry/clusterrolebindings/flannel /registry/clusterrolebindings/heapster /registry/clusterrolebindings/kubeadm:kubelet-bootstrap /registry/clusterrolebindings/kubeadm:node-autoapprove-bootstrap /registry/clusterrolebindings/kubeadm:node-autoapprove-certificate-rotation /registry/clusterrolebindings/kubeadm:node-proxier /registry/clusterrolebindings/kubernetes-dashboard /registry/clusterrolebindings/myname-cluster-admin-binding /registry/clusterrolebindings/nginx-ingress-clusterrole-nisa-binding /registry/clusterrolebindings/system:aws-cloud-provider /registry/clusterrolebindings/system:basic-user /registry/clusterrolebindings/system:controller:attachdetach-controller /registry/clusterrolebindings/system:controller:certificate-controller /registry/clusterrolebindings/system:controller:clusterrole-aggregation-controller /registry/clusterrolebindings/system:controller:cronjob-controller /registry/clusterrolebindings/system:controller:daemon-set-controller /registry/clusterrolebindings/system:controller:deployment-controller /registry/clusterrolebindings/system:controller:disruption-controller /registry/clusterrolebindings/system:controller:endpoint-controller /registry/clusterrolebindings/system:controller:expand-controller /registry/clusterrolebindings/system:controller:generic-garbage-collector /registry/clusterrolebindings/system:controller:horizontal-pod-autoscaler /registry/clusterrolebindings/system:controller:job-controller /registry/clusterrolebindings/system:controller:namespace-controller /registry/clusterrolebindings/system:controller:node-controller /registry/clusterrolebindings/system:controller:persistent-volume-binder /registry/clusterrolebindings/system:controller:pod-garbage-collector /registry/clusterrolebindings/system:controller:pv-protection-controller /registry/clusterrolebindings/system:controller:pvc-protection-controller /registry/clusterrolebindings/system:controller:replicaset-controller /registry/clusterrolebindings/system:controller:replication-controller /registry/clusterrolebindings/system:controller:resourcequota-controller /registry/clusterrolebindings/system:controller:route-controller /registry/clusterrolebindings/system:controller:service-account-controller /registry/clusterrolebindings/system:controller:service-controller /registry/clusterrolebindings/system:controller:statefulset-controller /registry/clusterrolebindings/system:controller:ttl-controller /registry/clusterrolebindings/system:coredns /registry/clusterrolebindings/system:discovery /registry/clusterrolebindings/system:kube-controller-manager /registry/clusterrolebindings/system:kube-dns /registry/clusterrolebindings/system:kube-scheduler /registry/clusterrolebindings/system:node /registry/clusterrolebindings/system:node-proxier /registry/clusterrolebindings/system:volume-scheduler /registry/clusterroles/admin /registry/clusterroles/cluster-admin /registry/clusterroles/edit /registry/clusterroles/flannel /registry/clusterroles/nginx-ingress-clusterrole /registry/clusterroles/system:aggregate-to-admin /registry/clusterroles/system:aggregate-to-edit /registry/clusterroles/system:aggregate-to-view /registry/clusterroles/system:auth-delegator /registry/clusterroles/system:aws-cloud-provider /registry/clusterroles/system:basic-user /registry/clusterroles/system:certificates.k8s.io:certificatesigningrequests:nodeclient /registry/clusterroles/system:certificates.k8s.io:certificatesigningrequests:selfnodeclient /registry/clusterroles/system:controller:attachdetach-controller /registry/clusterroles/system:controller:certificate-controller /registry/clusterroles/system:controller:clusterrole-aggregation-controller /registry/clusterroles/system:controller:cronjob-controller /registry/clusterroles/system:controller:daemon-set-controller /registry/clusterroles/system:controller:deployment-controller /registry/clusterroles/system:controller:disruption-controller /registry/clusterroles/system:controller:endpoint-controller /registry/clusterroles/system:controller:expand-controller /registry/clusterroles/system:controller:generic-garbage-collector /registry/clusterroles/system:controller:horizontal-pod-autoscaler /registry/clusterroles/system:controller:job-controller /registry/clusterroles/system:controller:namespace-controller /registry/clusterroles/system:controller:node-controller /registry/clusterroles/system:controller:persistent-volume-binder /registry/clusterroles/system:controller:pod-garbage-collector /registry/clusterroles/system:controller:pv-protection-controller /registry/clusterroles/system:controller:pvc-protection-controller /registry/clusterroles/system:controller:replicaset-controller /registry/clusterroles/system:controller:replication-controller /registry/clusterroles/system:controller:resourcequota-controller /registry/clusterroles/system:controller:route-controller /registry/clusterroles/system:controller:service-account-controller /registry/clusterroles/system:controller:service-controller /registry/clusterroles/system:controller:statefulset-controller /registry/clusterroles/system:controller:ttl-controller /registry/clusterroles/system:coredns /registry/clusterroles/system:csi-external-attacher /registry/clusterroles/system:csi-external-provisioner /registry/clusterroles/system:discovery /registry/clusterroles/system:heapster /registry/clusterroles/system:kube-aggregator /registry/clusterroles/system:kube-controller-manager /registry/clusterroles/system:kube-dns /registry/clusterroles/system:kube-scheduler /registry/clusterroles/system:kubelet-api-admin /registry/clusterroles/system:node /registry/clusterroles/system:node-bootstrapper /registry/clusterroles/system:node-problem-detector /registry/clusterroles/system:node-proxier /registry/clusterroles/system:persistent-volume-provisioner /registry/clusterroles/system:volume-scheduler /registry/clusterroles/view /registry/configmaps/kube-public/cluster-info /registry/configmaps/kube-system/coredns /registry/configmaps/kube-system/extension-apiserver-authentication /registry/configmaps/kube-system/ingress-controller-leader-nginx /registry/configmaps/kube-system/kube-flannel-cfg /registry/configmaps/kube-system/kube-proxy /registry/configmaps/kube-system/kubeadm-config /registry/configmaps/kube-system/kubelet-config-1.11 /registry/configmaps/kube-system/kubernetes-dashboard-settings /registry/controllerrevisions/kube-system/kube-flannel-ds-76dc9b4577 /registry/controllerrevisions/kube-system/kube-proxy-799497d975 /registry/daemonsets/kube-system/kube-flannel-ds /registry/daemonsets/kube-system/kube-proxy /registry/deployments/default/file-server /registry/deployments/default/my--game /registry/deployments/default/nginx-deployment /registry/deployments/default/wordpress /registry/deployments/dev/nginx-deployment /registry/deployments/kube-system/coredns /registry/deployments/kube-system/default-http-backend /registry/deployments/kube-system/heapster /registry/deployments/kube-system/kubernetes-dashboard /registry/deployments/kube-system/monitoring-grafana /registry/deployments/kube-system/monitoring-influxdb /registry/deployments/kube-system/nginx-ingress-controller /registry/deployments/prod/my--game /registry/deployments/vnc/centos-vnc /registry/ingress/default/my2048-ingress /registry/ingress/default/wordpress-ingress /registry/ingress/kube-system/grafana-heapster-ingress /registry/ingress/vnc/centos-vnc-ingress /registry/masterleases/172.31.2.130 /registry/minions/harbor /registry/minions/node1.com /registry/minions/node2.com /registry/namespaces/default /registry/namespaces/dev /registry/namespaces/kube-public /registry/namespaces/kube-system /registry/namespaces/prod /registry/namespaces/vnc /registry/pods/default/file-server-c996dd78d-5x5ks /registry/pods/default/file-server-c996dd78d-8w4x7 /registry/pods/default/file-server-c996dd78d-vmg9k /registry/pods/default/my--game-789f4fb6b5-ln8md /registry/pods/default/my--game-789f4fb6b5-rjhj2 /registry/pods/default/my--game-789f4fb6b5-sntnz /registry/pods/default/nginx-deployment-67594d6bf6-jxsml /registry/pods/default/nginx-deployment-67594d6bf6-rg62t /registry/pods/default/nginx-deployment-67594d6bf6-wrmrk /registry/pods/default/wordpress-8446c9cf6-f6tsp /registry/pods/default/wordpress-8446c9cf6-l8sxg /registry/pods/default/wordpress-8446c9cf6-t6c27 /registry/pods/dev/nginx-deployment-67594d6bf6-hhj65 /registry/pods/dev/nginx-deployment-67594d6bf6-wdgfx /registry/pods/dev/nginx-deployment-67594d6bf6-wqcvl /registry/pods/kube-system/coredns-78fcdf6894-5bwc7 /registry/pods/kube-system/coredns-78fcdf6894-x79ww /registry/pods/kube-system/default-http-backend-784cf5f7b5-p9mcd /registry/pods/kube-system/etcd-node1.com /registry/pods/kube-system/heapster-94b5876d8-bfr9n /registry/pods/kube-system/kube-apiserver-node1.com /registry/pods/kube-system/kube-controller-manager-node1.com /registry/pods/kube-system/kube-flannel-ds-8zcwd /registry/pods/kube-system/kube-flannel-ds-fmngg /registry/pods/kube-system/kube-flannel-ds-gldqx /registry/pods/kube-system/kube-proxy-8gp2k /registry/pods/kube-system/kube-proxy-szb9p /registry/pods/kube-system/kube-proxy-tq7d7 /registry/pods/kube-system/kube-scheduler-node1.com /registry/pods/kube-system/monitoring-grafana-555545f477-wwtfc /registry/pods/kube-system/monitoring-influxdb-56b597d5c5-fklp2 /registry/pods/kube-system/nginx-ingress-controller-84b8b6df66- /registry/pods/prod/my--game-789f4fb6b5-6nl8n /registry/pods/prod/my--game-789f4fb6b5-j59hq /registry/pods/prod/my--game-789f4fb6b5-xx2vb /registry/pods/vnc/centos-vnc-6b78b444cb-78b4p /registry/pods/vnc/centos-vnc-6b78b444cb-k8cbk /registry/pods/vnc/centos-vnc-6b78b444cb-tzz6h /registry/priorityclasses/system-cluster-critical /registry/priorityclasses/system-node-critical /registry/ranges/serviceips /registry/ranges/servicenodeports /registry/replicasets/default/file-server-56d5768d64 /registry/replicasets/default/file-server-67599974c /registry/replicasets/default/file-server-6f8d766c4c /registry/replicasets/default/file-server-757c55c4b5 /registry/replicasets/default/file-server-c996dd78d /registry/replicasets/default/my--game-789f4fb6b5 /registry/replicasets/default/nginx-deployment-67594d6bf6 /registry/replicasets/default/wordpress-8446c9cf6 /registry/replicasets/dev/nginx-deployment-67594d6bf6 /registry/replicasets/kube-system/coredns-78fcdf6894 /registry/replicasets/kube-system/default-http-backend-64fbd8d86b /registry/replicasets/kube-system/default-http-backend-784cf5f7b5 /registry/replicasets/kube-system/default-http-backend-79688b458 /registry/replicasets/kube-system/heapster-5f448ddd75 /registry/replicasets/kube-system/heapster-84c9bc48c4 /registry/replicasets/kube-system/heapster-94b5876d8 /registry/replicasets/kube-system/heapster-b66cc49c9 /registry/replicasets/kube-system/kubernetes-dashboard-55cb6ff5d8 /registry/replicasets/kube-system/kubernetes-dashboard-5dc976bbb6 /registry/replicasets/kube-system/kubernetes-dashboard-785dc75899 /registry/replicasets/kube-system/kubernetes-dashboard-b644d546b /registry/replicasets/kube-system/monitoring-grafana-555545f477 /registry/replicasets/kube-system/monitoring-influxdb-56b597d5c5 /registry/replicasets/kube-system/monitoring-influxdb-848b9b66f6 /registry/replicasets/kube-system/nginx-ingress-controller-6b689b677c /registry/replicasets/kube-system/nginx-ingress-controller-7468c988fd /registry/replicasets/kube-system/nginx-ingress-controller-764bc95d75 /registry/replicasets/kube-system/nginx-ingress-controller-84b8b6df66 /registry/replicasets/prod/my--game-789f4fb6b5 /registry/replicasets/vnc/centos-vnc-6b78b444cb /registry/replicasets/vnc/centos-vnc-6d6f7d995b /registry/replicasets/vnc/centos-vnc-79d64c566c /registry/rolebindings/kube-public/kubeadm:bootstrap-signer-clusterinfo /registry/rolebindings/kube-public/system:controller:bootstrap-signer /registry/rolebindings/kube-system/kubeadm:kubelet-config-1.11 /registry/rolebindings/kube-system/kubernetes-dashboard-minimal /registry/rolebindings/kube-system/nginx-ingress-role-nisa-binding /registry/rolebindings/kube-system/system::leader-locking-kube-controller-manager /registry/rolebindings/kube-system/system::leader-locking-kube-scheduler /registry/rolebindings/kube-system/system:controller:bootstrap-signer /registry/rolebindings/kube-system/system:controller:cloud-provider /registry/rolebindings/kube-system/system:controller:token-cleaner /registry/roles/kube-public/kubeadm:bootstrap-signer-clusterinfo /registry/roles/kube-public/system:controller:bootstrap-signer /registry/roles/kube-system/extension-apiserver-authentication-reader /registry/roles/kube-system/kubeadm:kubelet-config-1.11 /registry/roles/kube-system/kubernetes-dashboard-minimal /registry/roles/kube-system/nginx-ingress-role /registry/roles/kube-system/system::leader-locking-kube-controller-manager /registry/roles/kube-system/system::leader-locking-kube-scheduler /registry/roles/kube-system/system:controller:bootstrap-signer /registry/roles/kube-system/system:controller:cloud-provider /registry/roles/kube-system/system:controller:token-cleaner /registry/secrets/default/default-token-8gfqd /registry/secrets/dev/default-token-msmn2 /registry/secrets/kube-public/default-token-nzxfk /registry/secrets/kube-system/attachdetach-controller-token-td9wn /registry/secrets/kube-system/bootstrap-signer-token-792zx /registry/secrets/kube-system/certificate-controller-token-zvzbg /registry/secrets/kube-system/clusterrole-aggregation-controller-token-55jxn /registry/secrets/kube-system/coredns-token-7c969 /registry/secrets/kube-system/cronjob-controller-token-f6l48 /registry/secrets/kube-system/daemon-set-controller-token-vll7s /registry/secrets/kube-system/default-token-wzc9x /registry/secrets/kube-system/deployment-controller-token-5x5pr /registry/secrets/kube-system/disruption-controller-token-wq4pl /registry/secrets/kube-system/endpoint-controller-token-lppdn /registry/secrets/kube-system/expand-controller-token-ztwbf /registry/secrets/kube-system/flannel-token-cv7ns /registry/secrets/kube-system/generic-garbage-collector-token-qd77g /registry/secrets/kube-system/heapster-token-l86rd /registry/secrets/kube-system/horizontal-pod-autoscaler-token-wr89w /registry/secrets/kube-system/job-controller-token-fdz4s /registry/secrets/kube-system/kube-proxy-token-67qq2 /registry/secrets/kube-system/kubernetes-dashboard-certs /registry/secrets/kube-system/kubernetes-dashboard-key-holder /registry/secrets/kube-system/kubernetes-dashboard-token-kzskq /registry/secrets/kube-system/namespace-controller-token-7g9hz /registry/secrets/kube-system/nginx-ingress-serviceaccount-token-wk7qn /registry/secrets/kube-system/node-controller-token-l79zz /registry/secrets/kube-system/persistent-volume-binder-token-fmcvj /registry/secrets/kube-system/pod-garbage-collector-token-znhqv /registry/secrets/kube-system/pv-protection-controller-token-7znm7 /registry/secrets/kube-system/pvc-protection-controller-token-b4pdl /registry/secrets/kube-system/replicaset-controller-token-js7pw /registry/secrets/kube-system/replication-controller-token-bms7t /registry/secrets/kube-system/resourcequota-controller-token-498vv /registry/secrets/kube-system/service-account-controller-token-8tmzt /registry/secrets/kube-system/service-controller-token-hhrwb /registry/secrets/kube-system/statefulset-controller-token-j9st2 /registry/secrets/kube-system/token-cleaner-token-8csjg /registry/secrets/kube-system/ttl-controller-token-nss47 /registry/secrets/prod/default-token-g7gvk /registry/secrets/vnc/default-token-2m2s5 /registry/serviceaccounts/default/default /registry/serviceaccounts/dev/default /registry/serviceaccounts/kube-public/default /registry/serviceaccounts/kube-system/attachdetach-controller /registry/serviceaccounts/kube-system/bootstrap-signer /registry/serviceaccounts/kube-system/certificate-controller /registry/serviceaccounts/kube-system/clusterrole-aggregation-controller /registry/serviceaccounts/kube-system/coredns /registry/serviceaccounts/kube-system/cronjob-controller /registry/serviceaccounts/kube-system/daemon-set-controller /registry/serviceaccounts/kube-system/default /registry/serviceaccounts/kube-system/deployment-controller /registry/serviceaccounts/kube-system/disruption-controller /registry/serviceaccounts/kube-system/endpoint-controller /registry/serviceaccounts/kube-system/expand-controller /registry/serviceaccounts/kube-system/flannel /registry/serviceaccounts/kube-system/generic-garbage-collector /registry/serviceaccounts/kube-system/heapster /registry/serviceaccounts/kube-system/horizontal-pod-autoscaler /registry/serviceaccounts/kube-system/job-controller /registry/serviceaccounts/kube-system/kube-proxy /registry/serviceaccounts/kube-system/kubernetes-dashboard /registry/serviceaccounts/kube-system/namespace-controller /registry/serviceaccounts/kube-system/nginx-ingress-serviceaccount /registry/serviceaccounts/kube-system/node-controller /registry/serviceaccounts/kube-system/persistent-volume-binder /registry/serviceaccounts/kube-system/pod-garbage-collector /registry/serviceaccounts/kube-system/pv-protection-controller /registry/serviceaccounts/kube-system/pvc-protection-controller /registry/serviceaccounts/kube-system/replicaset-controller /registry/serviceaccounts/kube-system/replication-controller /registry/serviceaccounts/kube-system/resourcequota-controller /registry/serviceaccounts/kube-system/service-account-controller /registry/serviceaccounts/kube-system/service-controller /registry/serviceaccounts/kube-system/statefulset-controller /registry/serviceaccounts/kube-system/token-cleaner /registry/serviceaccounts/kube-system/ttl-controller /registry/serviceaccounts/prod/default /registry/serviceaccounts/vnc/default /registry/services/endpoints/default/file-server /registry/services/endpoints/default/kubernetes /registry/services/endpoints/default/my--game /registry/services/endpoints/default/nginx-deployment /registry/services/endpoints/kube-system/default-http-backend /registry/services/endpoints/kube-system/heapster /registry/services/endpoints/kube-system/kube-controller-manager /registry/services/endpoints/kube-system/kube-dns /registry/services/endpoints/kube-system/kube-scheduler /registry/services/endpoints/kube-system/kubernetes-dashboard /registry/services/endpoints/kube-system/monitoring-grafana /registry/services/endpoints/kube-system/monitoring-influxdb /registry/services/endpoints/vnc/centos-vnc /registry/services/specs/default/file-server /registry/services/specs/default/kubernetes /registry/services/specs/default/my--game /registry/services/specs/default/nginx-deployment /registry/services/specs/kube-system/default-http-backend /registry/services/specs/kube-system/heapster /registry/services/specs/kube-system/kube-dns /registry/services/specs/kube-system/kubernetes-dashboard /registry/services/specs/kube-system/monitoring-grafana /registry/services/specs/kube-system/monitoring-influxdb /registry/services/specs/vnc/centos-vnc
#查询指定key的数据,如/registry/services/specs/default/nginx-deployment的数据
etcdctl --cacert=/etc/kubernetes/pki/etcd/ca.crt --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt --key=/etc/kubernetes/pki/etcd/healthche ck-client.key get /registry/services/specs/default/nginx-deployment --prefix
看起来有点乱码----冏
查看k8s中etcd数据的更多相关文章
- 通过dbcc page来查看表中的数据
--1.先建表 CREATE TABLE test(idd INT NOT NULL,name VARCHAR(10) NULL) INSERT INTO TEST SELECT 1,'abcdefg ...
- 如何查看k8s存在etcd中的数据(转)
原文 https://yq.aliyun.com/articles/561888 一直有这个冲动, 想知道kubernetes往etcd里放了哪些数据,是如何组织的. 能看到,才有把握知道它的实现和细 ...
- 延申三大问题中的第二个问题处理---收集查看k8s中pod的控制台日志
1.不使用logstash 2.步骤: 2.1 先获取一个文件的日志 2.2 再获取多个文件的日志 2.3 批量获取文件日志 pod日志文件路径 [root@worker hkd-eureka]# p ...
- Xcode如何查看内存中的数据
在 debug 模式下如何在断点处,查看字符指针变量内存中的值,像vs2008的调试工具一样的内存查看器,现在只能查看第一个内存中的值可以在输出窗口采用gdb命令:x /nfu <addr&g ...
- Android中查看SQLite中字段数据的两种方式
方式一:ADB Pull 通过adb pull导出*.db文件到PC的文件夹中,通过可视化工具 SQLiteExpertPers 进行查看.编辑: adb pull /data/data/com.jo ...
- 王立平--查看SQLite中的数据信息
Eclipse菜单Window - Open Perspective - DDMS进入DDMS视图. 然后File Explorer View中依次展开路径/data/data/package_nam ...
- Xcode debug时如何查看内存中的数据
对于IPhone开发/XCode的初学者,如何在调试时查看变量的值是很头痛的事情.因为Xcode的expression 经常无法正确显示变量的值.但是强大的GDB可以很方便的帮我们查看变量的值. ...
- MySQL从.ibd文件中恢复数据
首先,在MySQL命令行下执行如下命令可以查看MySQL中存放数据的位置: show global variables like "%datadir%"; 我这里的执行结果: +- ...
- JDBC Java 程序从 MySQL 数据库中读取数据,并备份到 xml 文档中
MySQL 版本:Server version: 5.7.17-log MySQL Community Server (GPL) 相关内容:JDBC Java 程序从 MySQL 数据库中读取数据,并 ...
随机推荐
- springboot pagehelper分页无效
springboot pagehelper分页无效 遇到的问题把所有的数据都查出来了 -然后跟踪代码发现PageHelper.startPage没有生效,生成的sql也没有分页的信息 依赖也引入了 & ...
- electron快捷键
我们分为在主进程中注册快捷键和在渲染进程中注册快捷键 在主进程中我们有两种方式 一 利用[Menu]来模拟快捷键,只有app获得焦点时才生效,很少使用 const { Menu, MenuItem } ...
- Class constructor FileManager cannot be invoked without 'new'
bug:今天项目重新安装依赖打包的时候出现错误:Class constructor FileManager cannot be invoked without 'new' 解决:尝试了很多种解决方案, ...
- MongoDB一次节点宕机引发的思考(源码剖析)
目录 简介 日志分析 副本集 如何实现 Failover 心跳的实现 electionTimeout 定时器 业务影响评估 参考链接 声明:本文同步发表于 MongoDB 中文社区,传送门: http ...
- MIT线性代数:14.正交向量和子空间
- WPF项目设计规则
关于WPF应用程序的设计: 项目构成,自上而下: 1. 前端的WPF应用程序项目. 2. 业务逻辑的类库项目. 3. 映射到数据库各个表的Model型类库,(数据库操作接口定义). 4. 其他工具型类 ...
- 跑酷天堂C++小黑框版
上:跳跃 左右:行走 #include <bits/stdc++.h> #include <windows.h> #include <conio.h> using ...
- Flex 和 Bison 使用方法
背景知识 在学编译原理的时候,同时在做南京大学的编译原理课程实验,这里是链接,整个实验的效果是实现一个完整的 C-- 语法的编译器.C-- 语法是他们老师指定的一种类 C 语言. Flex 和 Bis ...
- 在线热备份数据库之innobackupex 完整备份InnoDB
在线热备份数据库innobackupex 完整备份InnoDB XtraBackup xtrabackup C程序,支持InnoDB/XtraDB innobackupex : 以Perl脚本封装xt ...
- CSPS模拟 62
婚礼现场系列 T1 $gragh$ 为了方便把边的贡献下放到点,跑一个生成树作为划分依据. T2 $permutation$ 由于在本题中,构造的变换方法保证只能邻项交换 所以如果位置串字典序变小,权 ...