■ INDEXGgitRepo typecreation, 146description, 151HTTPS web URL, 148interactive shell, 151Kubernetes-volume, 147, 152pod.yaml, 149repository window, 146revision number, 148–149server, 150vi editor, 150volume, 145Google Cloud Logging, 77Google Cloud PlatformBilling Account, 59Compute Engine API, 56–58, 60–61console display, 50–51credentials page, 60database services and infrastructure, 49“Kube-GCE” message, 52Kubernetes (see Kubernetes)permissions, enable, 55–56projectaddition, 52creation, 51–52description, 53link, Dashboard dialog, 54management, 54selection, 53static external IP address, 67VM instance page, 62–66Google Cloud Shell, 80Google Cloud VPN, 77Google Container Enginecluster creation, 78Google Cloud Platform, component, 77Google Cloud Shell, 80kube-cluster-1, 79kubectl configuration, 80Kubernetes application, 77name, zone and machine type, 78services, 77Google Container Registry, 77, 84Graphical user interface (GUI), 117, 134Hhello-config, 270hello-world pod, 272hello-world2 label, 224hello-world.yaml, 271High availability (HA)master. See also OpenShiftcluster info, 353EC2 instances, 349–350kubeconfig configuration, 352load balancer and master, 352nodes, schedulable and non-schedulable, 353shut down, 351stop action, 350stop instances dialog, 350–351Horizontal pod autoscaler (HPA), 299, 303, 305HorizontalPodAutoscaler specification, 303, 304I, JInfrastructure as a Service (IaaS), 49 KKibana, 314dashboard, 328Elasticsearch service, 330index pattern, 329kibana-rc.yaml file, 324, 325kibana-service.yaml, 326kube-system namespace, 330–331logging service, 328log messages, 329popular fields, 330RC definition file, 325–326service and RC creation, 327service definition file, 327KMS key, 28–29, 95Kube-aws, 25–27kubectl autoscale command, 304kubectl autoscale options, 304kubectl create configmap command, 258Kubernetes. See also Google Container Engineapplications, 101–102, 280binaries, 68cluster, 91, 137, 243, 258, 281capacity, 251commands, 67info, 81nodes, 258, 281components, 206controller and minion instances, 71CPU utilization, 70deployment nginx, 71deployments and services, 85, 72, 87design patterns, 49docker build command, 83Dockerfile, 82docker image built, 83external IP addresses, 71hello-node application, 84IaaS and PaaS, 49namespaces, 70nginx Docker image, 71node replicas, 72395
■ INDEXKubernetes (cont.)nodes, 68, 70, 301node script server.js, 81pods, 69, 85procedure, 50repository image uploaded, 85resource types, 238scheduler, 200server.js Node Script, 82service description, 73service endpoint, 73–75service external IP and port, 86services in all namespaces, 69SSH installation, 50stopping the cluster, 75, 77Kubernetes node cluster, 243Kubernetes servicecluster, 153ClusterIP Service, 156–159cluster-wide pods, 362CoreOS AWS CloudFormation, 155deployment and service, 362elastic load balancer, 367hello-world application, 362hello-world service, 363InService, 365LoadBalancer, 364–366LoadBalancer Service, 166–168, 170management pattern, 154multiple replication controllers, 154NodePort Service, 159–160, 162–164, 166OutOfService, 364overview, 154public DNS name, 366replication controller, 153SRP, 153Kubernetes versions, 203kube-scheduler pod description, 208kube-scheduler, 205kube-system namespace, 204kube-up.sh, 3LLabeling nodes, 214LoadBalancer Ingress, 167–168, 303LoadBalancer Service, 166–168, 170Logging configurationadapter pattern, 310clustercomponents, 315Elasticsearch, 314, 318Fluentd, 322Kibana, 314, 324kube-system namespace, 317replication controller, 315components, 309counter pod creation, 312counter-pod.yaml file, 311design pattern, 309Docker containersdirectories, 313JSON format, 314listing files, 313permissions setting, 313system component logs, 314environment, 311kubectl logs, 311nodes, 310overview, 310pod definition file, 311–312sidecar container, 309MMemory field unit, 240Multi-node application patterns, 199Multiple zoneson AWSaware cluster, 104EC2 console, 105, 108, 112Kubernetes binaries, 103listing Kubernetes nodes, 111–112listing nodes including labels, 112–113listing nodes, zones, 108, 110listing nodes, two zones includinglabels, 108listing nodes, including the labels, 104–105master controller, 103PVC, 113–116PV, 113same master IP, different subnetCIDR, 107–108, 110, 112us-east-1b, 106–108us-east-1c, 105zone-aware cluster, 103AWS CloudFormation, 93cloud provider zones, 92configuring cluster.yaml, 95–98configuring external DNS, 100environment setting, 93–94GCE, 92initializing, CloudFormation, 95Kubernetes application, 101–102Kubernetes cluster, 91launch, CloudFormation, 99–100mysql Docker image tag, 194mysql image-based RC, 181396
- Page 1 and 2:
KubernetesManagementDesign Patterns
- Page 3 and 4:
Kubernetes Management Design Patter
- Page 5 and 6:
■ CONTENTS AT A GLANCE■Part
- Page 7 and 8:
■ CONTENTSSetting Up Cluster Para
- Page 9 and 10:
■ CONTENTS■Chapter ■ 6: Us
- Page 11 and 12:
■ CONTENTSOvercommitting Resou
- Page 13 and 14:
■ CONTENTSInstalling OpenShift
- Page 15 and 16:
About the Technical ReviewerMassimo
- Page 17 and 18:
■ INTRODUCTIONpatterns are lan
- Page 19 and 20:
■ INTRODUCTIONIn Chapter 3 we
- Page 21 and 22:
CHAPTER 1Kubernetes on AWSKubernete
- Page 23 and 24:
Chapter 1 ■ Kubernetes on AWSIn t
- Page 25 and 26:
Chapter 1 ■ Kubernetes on AWSUsin
- Page 27 and 28:
Chapter 1 ■ Kubernetes on AWSClic
- Page 29 and 30:
Chapter 1 ■ Kubernetes on AWSFigu
- Page 31 and 32:
Chapter 1 ■ Kubernetes on AWSFigu
- Page 33 and 34:
Chapter 1 ■ Kubernetes on AWSFigu
- Page 35 and 36:
Testing the ClusterChapter 1 ■ Ku
- Page 37 and 38:
Chapter 1 ■ Kubernetes on AWSFigu
- Page 39 and 40:
Chapter 1 ■ Kubernetes on AWSFigu
- Page 41 and 42:
CHAPTER 2Kubernetes on CoreOS on AW
- Page 43 and 44:
Chapter 2 ■ Kubernetes on CoreOS
- Page 45 and 46:
Chapter 2 ■ Kubernetes on CoreOS
- Page 47 and 48:
Chapter 2 ■ Kubernetes on CoreOS
- Page 49 and 50:
Customizing the ClusterChapter 2
- Page 51 and 52:
Chapter 2 ■ Kubernetes on CoreOS
- Page 53 and 54:
Chapter 2 ■ Kubernetes on CoreOS
- Page 55 and 56:
Chapter 2 ■ Kubernetes on CoreOS
- Page 57 and 58:
Chapter 2 ■ Kubernetes on CoreOS
- Page 59 and 60:
Chapter 2 ■ Kubernetes on CoreOS
- Page 61 and 62:
Chapter 2 ■ Kubernetes on CoreOS
- Page 63 and 64:
Chapter 2 ■ Kubernetes on CoreOS
- Page 65 and 66:
Chapter 2 ■ Kubernetes on CoreOS
- Page 67 and 68:
Chapter 3 ■ Kubernetes on Google
- Page 69 and 70:
Chapter 3 ■ Kubernetes on Google
- Page 71 and 72:
Chapter 3 ■ Kubernetes on Google
- Page 73 and 74:
Chapter 3 ■ Kubernetes on Google
- Page 75 and 76:
Chapter 3 ■ Kubernetes on Google
- Page 77 and 78:
Chapter 3 ■ Kubernetes on Google
- Page 79 and 80:
Chapter 3 ■ Kubernetes on Google
- Page 81 and 82:
Chapter 3 ■ Kubernetes on Google
- Page 83 and 84:
Chapter 3 ■ Kubernetes on Google
- Page 85 and 86:
Chapter 3 ■ Kubernetes on Google
- Page 87 and 88:
Chapter 3 ■ Kubernetes on Google
- Page 89 and 90:
Chapter 3 ■ Kubernetes on Google
- Page 91 and 92:
Chapter 3 ■ Kubernetes on Google
- Page 93 and 94:
Chapter 3 ■ Kubernetes on Google
- Page 95 and 96:
Chapter 3 ■ Kubernetes on Google
- Page 97 and 98:
Chapter 3 ■ Kubernetes on Google
- Page 99 and 100:
Chapter 3 ■ Kubernetes on Google
- Page 101 and 102:
Chapter 3 ■ Kubernetes on Google
- Page 103 and 104:
Chapter 3 ■ Kubernetes on Google
- Page 105 and 106:
PART IIAdministration andConfigurat
- Page 107 and 108:
Chapter 4 ■ Using Multiple ZonesS
- Page 109 and 110:
Chapter 4 ■ Using Multiple ZonesF
- Page 111 and 112:
Chapter 4 ■ Using Multiple ZonesF
- Page 113 and 114:
Chapter 4 ■ Using Multiple ZonesA
- Page 115 and 116:
Chapter 4 ■ Using Multiple ZonesF
- Page 117 and 118:
Chapter 4 ■ Using Multiple ZonesR
- Page 119 and 120:
Chapter 4 ■ Using Multiple ZonesF
- Page 121 and 122:
Chapter 4 ■ Using Multiple ZonesF
- Page 123 and 124:
Chapter 4 ■ Using Multiple ZonesL
- Page 125 and 126:
Chapter 4 ■ Using Multiple ZonesF
- Page 127 and 128:
Chapter 4 ■ Using Multiple ZonesI
- Page 129 and 130:
Chapter 4 ■ Using Multiple ZonesC
- Page 131 and 132:
Chapter 4 ■ Using Multiple ZonesA
- Page 133 and 134:
Chapter 5 ■ Using the Tectonic Co
- Page 135 and 136:
Chapter 5 ■ Using the Tectonic Co
- Page 137 and 138:
Chapter 5 ■ Using the Tectonic Co
- Page 139 and 140:
Chapter 5 ■ Using the Tectonic Co
- Page 141 and 142:
Chapter 5 ■ Using the Tectonic Co
- Page 143 and 144:
Chapter 5 ■ Using the Tectonic Co
- Page 145 and 146:
Chapter 5 ■ Using the Tectonic Co
- Page 147 and 148:
Chapter 5 ■ Using the Tectonic Co
- Page 149 and 150:
Chapter 5 ■ Using the Tectonic Co
- Page 151 and 152:
Chapter 6 ■ Using VolumesPodDocke
- Page 153 and 154:
Chapter 6 ■ Using VolumesObtain t
- Page 155 and 156:
Chapter 6 ■ Using VolumesFigure 6
- Page 157 and 158:
Chapter 6 ■ Using VolumesThe prec
- Page 159 and 160:
Chapter 6 ■ Using VolumesFigure 6
- Page 161 and 162:
Chapter 6 ■ Using VolumesFigure 6
- Page 163 and 164:
Chapter 6 ■ Using VolumesThe kube
- Page 165 and 166:
Chapter 6 ■ Using Volumesvolumes:
- Page 167 and 168:
Chapter 6 ■ Using VolumesChange d
- Page 169 and 170:
Chapter 7 ■ Using ServicesAnother
- Page 171 and 172:
Chapter 7 ■ Using ServicesCreatin
- Page 173 and 174:
Chapter 7 ■ Using ServicesSimilar
- Page 175 and 176:
Chapter 7 ■ Using ServicesList th
- Page 177 and 178:
Chapter 7 ■ Using ServicesFigure
- Page 179 and 180:
Chapter 7 ■ Using ServicesInvoke
- Page 181 and 182:
Chapter 7 ■ Using ServicesFigure
- Page 183 and 184:
Chapter 7 ■ Using ServicesFigure
- Page 185 and 186:
Chapter 7 ■ Using ServicesIn addi
- Page 187 and 188:
Chapter 8 ■ Using Rolling Updates
- Page 189 and 190:
Chapter 8 ■ Using Rolling Updates
- Page 191 and 192:
Chapter 8 ■ Using Rolling Updates
- Page 193 and 194:
Chapter 8 ■ Using Rolling Updates
- Page 195 and 196:
Chapter 8 ■ Using Rolling Updates
- Page 197 and 198:
Chapter 8 ■ Using Rolling Updates
- Page 199 and 200:
Chapter 8 ■ Using Rolling Updates
- Page 201 and 202:
Chapter 8 ■ Using Rolling Updates
- Page 203 and 204:
Chapter 8 ■ Using Rolling Updates
- Page 205 and 206:
Chapter 8 ■ Using Rolling Updates
- Page 207 and 208:
Chapter 8 ■ Using Rolling Updates
- Page 209 and 210:
Chapter 8 ■ Using Rolling Updates
- Page 211 and 212:
Chapter 8 ■ Using Rolling Updates
- Page 213 and 214:
Chapter 8 ■ Using Rolling Updates
- Page 215 and 216:
Chapter 9 ■ Scheduling Pods on No
- Page 217 and 218:
Chapter 9 ■ Scheduling Pods on No
- Page 219 and 220:
Chapter 9 ■ Scheduling Pods on No
- Page 221 and 222:
Chapter 9 ■ Scheduling Pods on No
- Page 223 and 224:
Chapter 9 ■ Scheduling Pods on No
- Page 225 and 226:
Chapter 9 ■ Scheduling Pods on No
- Page 227 and 228:
Chapter 9 ■ Scheduling Pods on No
- Page 229 and 230:
Chapter 9 ■ Scheduling Pods on No
- Page 231 and 232:
Chapter 9 ■ Scheduling Pods on No
- Page 233 and 234:
Chapter 9 ■ Scheduling Pods on No
- Page 235 and 236:
Chapter 9 ■ Scheduling Pods on No
- Page 237 and 238:
Chapter 9 ■ Scheduling Pods on No
- Page 239 and 240:
Chapter 9 ■ Scheduling Pods on No
- Page 241 and 242:
Chapter 9 ■ Scheduling Pods on No
- Page 243 and 244:
Chapter 9 ■ Scheduling Pods on No
- Page 245 and 246:
Chapter 9 ■ Scheduling Pods on No
- Page 247 and 248:
Chapter 9 ■ Scheduling Pods on No
- Page 249 and 250:
Chapter 9 ■ Scheduling Pods on No
- Page 251 and 252:
Chapter 9 ■ Scheduling Pods on No
- Page 253 and 254:
Chapter 10 ■ Configuring Compute
- Page 255 and 256:
Chapter 10 ■ Configuring Compute
- Page 257 and 258:
Chapter 10 ■ Configuring Compute
- Page 259 and 260:
Chapter 10 ■ Configuring Compute
- Page 261 and 262:
Chapter 10 ■ Configuring Compute
- Page 263 and 264:
Chapter 10 ■ Configuring Compute
- Page 265 and 266:
Chapter 10 ■ Configuring Compute
- Page 267 and 268:
Chapter 10 ■ Configuring Compute
- Page 269 and 270:
Chapter 10 ■ Configuring Compute
- Page 271 and 272:
Chapter 10 ■ Configuring Compute
- Page 273 and 274:
Chapter 11 ■ Using ConfigMapsIn t
- Page 275 and 276:
Chapter 11 ■ Using ConfigMapsFigu
- Page 277 and 278:
Chapter 11 ■ Using ConfigMapsNext
- Page 279 and 280:
Chapter 11 ■ Using ConfigMapsThe
- Page 281 and 282:
Chapter 11 ■ Using ConfigMapsCrea
- Page 283 and 284:
Chapter 11 ■ Using ConfigMapsFigu
- Page 285 and 286:
Chapter 11 ■ Using ConfigMapsCrea
- Page 287 and 288:
Chapter 11 ■ Using ConfigMapsFigu
- Page 289 and 290:
Chapter 11 ■ Using ConfigMapsCons
- Page 291 and 292:
Chapter 11 ■ Using ConfigMapsmoun
- Page 293 and 294:
CHAPTER 12Using Resource QuotasIn C
- Page 295 and 296:
Chapter 12 ■ Using Resource Quota
- Page 297 and 298:
Chapter 12 ■ Using Resource Quota
- Page 299 and 300:
Chapter 12 ■ Using Resource Quota
- Page 301 and 302:
Chapter 12 ■ Using Resource Quota
- Page 303 and 304:
Chapter 12 ■ Using Resource Quota
- Page 305 and 306:
Chapter 12 ■ Using Resource Quota
- Page 307 and 308:
Chapter 12 ■ Using Resource Quota
- Page 309 and 310:
Chapter 12 ■ Using Resource Quota
- Page 311 and 312:
Chapter 12 ■ Using Resource Quota
- Page 313 and 314:
CHAPTER 13Using AutoscalingStarting
- Page 315 and 316:
Chapter 13 ■ Using AutoscalingThe
- Page 317 and 318:
Chapter 13 ■ Using AutoscalingFig
- Page 319 and 320:
Chapter 13 ■ Using Autoscaling./k
- Page 321 and 322:
Chapter 13 ■ Using AutoscalingFig
- Page 323 and 324:
CHAPTER 14Configuring LoggingLoggin
- Page 325 and 326:
Chapter 14 ■ Configuring Logging
- Page 327 and 328:
Docker Log FilesChapter 14 ■ Conf
- Page 329 and 330:
Chapter 14 ■ Configuring LoggingF
- Page 331 and 332:
Chapter 14 ■ Configuring LoggingC
- Page 333 and 334:
Chapter 14 ■ Configuring Loggingv
- Page 335 and 336:
Chapter 14 ■ Configuring LoggingI
- Page 337 and 338:
Chapter 14 ■ Configuring LoggingT
- Page 339 and 340:
Chapter 14 ■ Configuring Loggingt
- Page 341 and 342:
Chapter 14 ■ Configuring LoggingT
- Page 343 and 344:
Chapter 14 ■ Configuring LoggingF
- Page 345 and 346:
Chapter 14 ■ Configuring LoggingF
- Page 347 and 348:
CHAPTER 15Using an HA Master with O
- Page 349 and 350:
Chapter 15 ■ Using an HA Master w
- Page 351 and 352:
Installing the Network ManagerChapt
- Page 353 and 354:
Chapter 15 ■ Using an HA Master w
- Page 355 and 356: Chapter 15 ■ Using an HA Master w
- Page 357 and 358: Chapter 15 ■ Using an HA Master w
- Page 359 and 360: Chapter 15 ■ Using an HA Master w
- Page 361 and 362: Chapter 15 ■ Using an HA Master w
- Page 363 and 364: Chapter 15 ■ Using an HA Master w
- Page 365 and 366: Chapter 15 ■ Using an HA Master w
- Page 367 and 368: Chapter 16 ■ Developing a Highly
- Page 369 and 370: Chapter 16 ■ Developing a Highly
- Page 371 and 372: Chapter 16 ■ Developing a Highly
- Page 373 and 374: Chapter 16 ■ Developing a Highly
- Page 375 and 376: Chapter 16 ■ Developing a Highly
- Page 377 and 378: Chapter 16 ■ Developing a Highly
- Page 379 and 380: Chapter 16 ■ Developing a Highly
- Page 381 and 382: Chapter 16 ■ Developing a Highly
- Page 383 and 384: Chapter 16 ■ Developing a Highly
- Page 385 and 386: Chapter 16 ■ Developing a Highly
- Page 387 and 388: Chapter 16 ■ Developing a Highly
- Page 389 and 390: Chapter 16 ■ Developing a Highly
- Page 391 and 392: Chapter 16 ■ Developing a Highly
- Page 393 and 394: Chapter 16 ■ Developing a Highly
- Page 395 and 396: Chapter 16 ■ Developing a Highly
- Page 397 and 398: Chapter 16 ■ Developing a Highly
- Page 399 and 400: Chapter 16 ■ Developing a Highly
- Page 401 and 402: Chapter 16 ■ Developing a Highly
- Page 403 and 404: Chapter 16 ■ Developing a Highly
- Page 405: ■ INDEXClusters (cont.)configurat
- Page 409 and 410: ■ INDEXRoute 53 service (cont.)de