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全球架构师峰会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 年前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 年前3VMware SIG Deep Dive into Kubernetes Scheduling
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 码力 | 28 页 | 1.85 MB | 1 年前3Kubernetes开源书 - 周立
namespace: prod spec: type: ExternalName externalName: my.database.example.com 当查找主机 my-service.prod.svc.CLUSTER 时,集群DNS服务将会返回⼀条值为 my.database.example.com 的 CNAME 记 录。访问这样的Service与访问其他Service的⼯作⽅式相0 码力 | 135 页 | 21.02 MB | 1 年前3
共 8 条
- 1