#查看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数据的更多相关文章

  1. 通过dbcc page来查看表中的数据

    --1.先建表 CREATE TABLE test(idd INT NOT NULL,name VARCHAR(10) NULL) INSERT INTO TEST SELECT 1,'abcdefg ...

  2. 如何查看k8s存在etcd中的数据(转)

    原文 https://yq.aliyun.com/articles/561888 一直有这个冲动, 想知道kubernetes往etcd里放了哪些数据,是如何组织的. 能看到,才有把握知道它的实现和细 ...

  3. 延申三大问题中的第二个问题处理---收集查看k8s中pod的控制台日志

    1.不使用logstash 2.步骤: 2.1 先获取一个文件的日志 2.2 再获取多个文件的日志 2.3 批量获取文件日志 pod日志文件路径 [root@worker hkd-eureka]# p ...

  4. Xcode如何查看内存中的数据

    在  debug 模式下如何在断点处,查看字符指针变量内存中的值,像vs2008的调试工具一样的内存查看器,现在只能查看第一个内存中的值可以在输出窗口采用gdb命令:x /nfu <addr&g ...

  5. Android中查看SQLite中字段数据的两种方式

    方式一:ADB Pull 通过adb pull导出*.db文件到PC的文件夹中,通过可视化工具 SQLiteExpertPers 进行查看.编辑: adb pull /data/data/com.jo ...

  6. 王立平--查看SQLite中的数据信息

    Eclipse菜单Window - Open Perspective - DDMS进入DDMS视图. 然后File Explorer View中依次展开路径/data/data/package_nam ...

  7. Xcode debug时如何查看内存中的数据

    对于IPhone开发/XCode的初学者,如何在调试时查看变量的值是很头痛的事情.因为Xcode的expression 经常无法正确显示变量的值.但是强大的GDB可以很方便的帮我们查看变量的值.   ...

  8. MySQL从.ibd文件中恢复数据

    首先,在MySQL命令行下执行如下命令可以查看MySQL中存放数据的位置: show global variables like "%datadir%"; 我这里的执行结果: +- ...

  9. JDBC Java 程序从 MySQL 数据库中读取数据,并备份到 xml 文档中

    MySQL 版本:Server version: 5.7.17-log MySQL Community Server (GPL) 相关内容:JDBC Java 程序从 MySQL 数据库中读取数据,并 ...

随机推荐

  1. Rust入坑指南:千人千构

    坑越来越深了,在坑里的同学让我看到你们的双手! 前面我们聊过了Rust最基本的几种数据类型.不知道你还记不记得,如果不记得可以先复习一下.上一个坑挖好以后,有同学私信我说坑太深了,下来的时候差点崴了脚 ...

  2. Go中http超时问题的排查

    背景 排查 推测 连接超时 疑问 http2 解决超时 并发连接数 服务端限制 真相 重试 解决办法 问题1 背景 最新有同事反馈,服务间有调用超时的现象,在业务高峰期发生的概率和次数比较高.从日志中 ...

  3. 百万年薪python之路 -- 函数初始练习

    1.整理函数相关知识点 2.写函数,检查获取传入列表或元组对象的所有奇数位索引对应的元素,并将其作为新列表返回给调用者. def func(lst): lst = lst[1::2] return l ...

  4. 主流 CSS 布局(水平居中、垂直居中、居中 )

    什么是布局 html 页面的整体结构或骨架 布局不是某个技术内容 而是一种设计思想 [ 布局方式 ] 水平居中布局 垂直居中布局 居中布局( 水平 + 垂直 ) 什么是水平居中布局 水平居中布局 元素 ...

  5. Life is short, I love Python~!

    python学习目录 一:计算机基础 计算机基础 二:python基础 python基础 三:函数 函数 内置函数匿名函数 迭代器生成器 四:文件处理&异常 文件处理 异常处理 五:模块 常用 ...

  6. Ambari 集群时间同步配置教程

    本文原始地址:https://sitoi.cn/posts/27560.html 步骤 在时间同步主节点创建 ntp.conf 文件 在时间同步从节点上创建 ntp.conf 文件 修改所有节点时区 ...

  7. Python 加密 shellcode 免杀

    Python 加密 shellcode 免杀 环境准备:   Windows7 32 位系统: Shellcode 使用 kali linux Metasploit 生成 shellcode Wind ...

  8. QHDYZ模拟赛20191027 提前透题

    你们想的美 我给你们透一下题目名称 别刷博客了快去做题

  9. csp-s模拟测试101的T3代码+注释

    因为题目过于大神所以单独拿出来说.而且既然下发std了颓代码貌似也不算可耻233 很难讲啊,所以还是写在代码注释里面吧 因为比较认真的写了不少注释,所以建议缩放到80%观看,或者拿到gedit上 1 ...

  10. 网站安全配置Nginx防止网站被攻击

    https://blog.csdn.net/u011078940/article/details/51426288