k8s操作手册 2.3
③创建Secret secret资源是区分命名空间的 ★命令行方式创建secret 创建账号密码验证secret # kubectl create secret generic database-auth --from-literal=username=root --from- literal=password=passwd123 创建存储于某文件的认证secret # kubectl kubernetes.io/tls 2 7s database-auth Opaque 2 10m myssh-key-secret Opaque 2 3m43s # kubectl get secret database-auth -oyaml #secret的文本信息均以base64编码 "2023-12-05T21:19:48Z" name: database-auth namespace: default resourceVersion: "1167" uid: 38790a7e-30ee-4b75-8132-18bca66ca512 type: Opaque ★基于清单文件创建secret # cat > database-auth2.yaml <0 码力 | 126 页 | 4.33 MB | 1 年前3K8S安装部署开放服务
Protocal = tcp Host = redis-cluster-headless Port = 6379 Password = redis123 Database = 0 MaxIdle = 10 MaxActive = 300 IdleTimeout = 180 DialConnectTimeout = t:27017 Direct = true Timeout = 3 PoolLimit = 10 Mode = monotonic Database = admin User = Password = [InfluxDB] Address = http://influxdb2-headless:9999 t:27017 Direct = true Timeout = 3 PoolLimit = 10 Mode = monotonic Database = admin User = Password = [OpenService] Address =0 码力 | 54 页 | 1.23 MB | 1 年前3绕过conntrack,使用eBPF增强 IPVS优化K8s网络性能
Performance measurement Test topology Test result Service type Short connection cps Short connection P99 latency Long connection pps ClusterIP +40% -31% not available NodePort +64% -47% +22% Test IPVS-BPF IPVS 0 20000 40000 60000 80000 100000 120000 140000 160000 180000 Nodeport short connection Instructions/req Lessons from eBPF • No loop support in eBPF verifier (Linux 4.14) • #param0 码力 | 24 页 | 1.90 MB | 1 年前3多雲一體就是現在: GOOGLE CLOUD 的 KUBERNETES 混合雲戰略
with Google Cloud Console On-Prem/Public Cloud Provider Any K8s Cluster GCP Connection Proxy K8s API Server Connection Agent End-User Single-Pane of Glass Market- place & Service- Catalog & Builder Stackdriver GCP Services Securing Your Connection to GCP ● GKE Connect Agent installs in your cluster ● Encrypted connection from the K8s cluster to GCP ● No public IP required0 码力 | 32 页 | 2.77 MB | 1 年前3全球架构师峰会2019北京/云原生/阿里巴巴 Kubernetes 应用管理实践中的经验与教训&mdash
path value: "/" applicationScopes: - my-vpc-network - componentName: backend instanceName: database applicationScopes: - my-vpc-network vpc-3a1p8n container- 8q93re slb-7yt83n rds- 1uy31m OAM 运维 研发 监控报警 灰度发布 日志 扩缩容 负载均衡 web backend Trait Promethus Operator Elasticsearch Operator database Component OpenKruise RDS operator …… • OAM • Helm/CNAB • GitOps • Rollout • Workload Controller0 码力 | 26 页 | 6.91 MB | 1 年前3Using Kubernetes for handling second screen experience of european tv show
architecture Application architecture PHP-based Admin application Shared state in Redis and SQL database Scalable userfacing API in GoLang Queuing system Application technologies Best of breed-technologies0 码力 | 28 页 | 3.86 MB | 1 年前3Model and Operate Datacenter by Kubernetes at eBay (提交版)
2010 2015- Now 2010- Now 2012- Now Bare metals Way to Kubernetes Search Grid Hadoop PoP Database Frontend VM Kubernetes plays magic api etcd kind: metadata: spec: control loop control loop0 码力 | 25 页 | 3.60 MB | 1 年前3Kubernetes 管理 Docker 容器
kubectl delete deployment hello-node 服务停⽤ minikube stop 遇到问题处理 1. kubectl get nodes 报错 The connection to the server 127.0.0.1:55000 was refused - did you specify the right host or port? 解决⽅法:0 码力 | 5 页 | 675.91 KB | 1 年前3运维上海2017-Kubernetes 在大规模场景下的service性能优化实战 - 杜军
UDP�SCTP���IPV4�IPV6 • ���������� Ø rr, wrr, lc, wlc, sh, dh, lblc… • ������ Ø persistent connection���� IPVS��� IPVS������ • ����LB��: Direct Routing(DR), Tunneling, NAT Ø DR�����L2������������0 码力 | 38 页 | 3.39 MB | 1 年前3vmware组Kubernetes on vSphere Deep Dive KubeCon China VMware SIG
Memory Architecture 12 Why should you care about NUMA? Memory intensive workloads Nearly all database servers (e.g. Oracle, MongoDB), present a workload which will attempt to detect and consume as0 码力 | 25 页 | 2.22 MB | 1 年前3
共 14 条
- 1
- 2