19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

■ INDEX

Kubernetes (cont.)

nodes, 68, 70, 301

node script server.js, 81

pods, 69, 85

procedure, 50

repository image uploaded, 85

resource types, 238

scheduler, 200

server.js Node Script, 82

service description, 73

service endpoint, 73–75

service external IP and port, 86

services in all namespaces, 69

SSH installation, 50

stopping the cluster, 75, 77

Kubernetes node cluster, 243

Kubernetes service

cluster, 153

ClusterIP Service, 156–159

cluster-wide pods, 362

CoreOS AWS CloudFormation, 155

deployment and service, 362

elastic load balancer, 367

hello-world application, 362

hello-world service, 363

InService, 365

LoadBalancer, 364–366

LoadBalancer Service, 166–168, 170

management pattern, 154

multiple replication controllers, 154

NodePort Service, 159–160, 162–164, 166

OutOfService, 364

overview, 154

public DNS name, 366

replication controller, 153

SRP, 153

Kubernetes versions, 203

kube-scheduler pod description, 208

kube-scheduler, 205

kube-system namespace, 204

kube-up.sh, 3

L

Labeling nodes, 214

LoadBalancer Ingress, 167–168, 303

LoadBalancer Service, 166–168, 170

Logging configuration

adapter pattern, 310

cluster

components, 315

Elasticsearch, 314, 318

Fluentd, 322

Kibana, 314, 324

kube-system namespace, 317

replication controller, 315

components, 309

counter pod creation, 312

counter-pod.yaml file, 311

design pattern, 309

Docker containers

directories, 313

JSON format, 314

listing files, 313

permissions setting, 313

system component logs, 314

environment, 311

kubectl logs, 311

nodes, 310

overview, 310

pod definition file, 311–312

sidecar container, 309

M

Memory field unit, 240

Multi-node application patterns, 199

Multiple zones

on AWS

aware cluster, 104

EC2 console, 105, 108, 112

Kubernetes binaries, 103

listing Kubernetes nodes, 111–112

listing nodes including labels, 112–113

listing nodes, zones, 108, 110

listing nodes, two zones including

labels, 108

listing nodes, including the labels, 104–105

master controller, 103

PVC, 113–116

PV, 113

same master IP, different subnet

CIDR, 107–108, 110, 112

us-east-1b, 106–108

us-east-1c, 105

zone-aware cluster, 103

AWS CloudFormation, 93

cloud provider zones, 92

configuring cluster.yaml, 95–98

configuring external DNS, 100

environment setting, 93–94

GCE, 92

initializing, CloudFormation, 95

Kubernetes application, 101–102

Kubernetes cluster, 91

launch, CloudFormation, 99–100

mysql Docker image tag, 194

mysql image-based RC, 181

396

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!