it-ebooks - Kubernetes Handbook
Here you can read online it-ebooks - Kubernetes Handbook full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2017, publisher: iBooker it-ebooks, genre: Detective and thriller. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:
Romance novel
Science fiction
Adventure
Detective
Science
History
Home and family
Prose
Art
Politics
Computer
Non-fiction
Religion
Business
Children
Humor
Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.
- Book:Kubernetes Handbook
- Author:
- Publisher:iBooker it-ebooks
- Genre:
- Year:2017
- Rating:4 / 5
- Favourites:Add to favourites
- Your mark:
- 80
- 1
- 2
- 3
- 4
- 5
Kubernetes Handbook: summary, description and annotation
We offer to read an annotation, description, summary or preface (depends on what the author of the book "Kubernetes Handbook" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.
Kubernetes Handbook — read online for free the complete book (whole text) full work
Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Kubernetes Handbook" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.
Font size:
Interval:
Bookmark:
kubernetes
kubeadm
TLS
kubernetes
docker
- etc service
- manifest kubernetesyaml
- systemd systemd serivce
- Kubernetes 1.6.0
- Docker 1.12.5yum
- Etcd 3.1.5
- Flanneld 0.7 vxlan
- TLS ( etcdkubernetes master node)
- RBAC
- kublet TLS BootStrapping
- kubednsdashboardheapster(influxdbgrafana)EFK(elasticsearchfluentdkibana)
- dockerharbordocker-compose
- TLS RBAC
- issue
Jimmy Song
Kubernetes
for GitBook update2017-05-12 16:45:40kubernetes
TLS
CloudFlare
PKI cfssl Certificate Authority (CA)
CA
- ca-key.pem
- ca.pem
- kubernetes-key.pem
- kubernetes.pem
- kube-proxy.pem
- kube-proxy-key.pem
- admin.pem
- admin-key.pem
- etcd ca.pemkubernetes-key.pemkubernetes.pem
- kube-apiserver ca.pemkubernetes-key.pemkubernetes.pem
- kubelet ca.pem
- kube-proxy ca.pemkube-proxy-key.pemkube-proxy.pem
- kubectl ca.pemadmin-key.pemadmin.pem
kube-controller
kube-scheduler
kube-apiserver
CFSSL
$ wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64$ chmod +x cfssl_linux-amd64$ sudo mv cfssl_linux-amd64 /root/ local /bin/cfssl$ wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64$ chmod +x cfssljson_linux-amd64$ sudo mv cfssljson_linux-amd64 /root/ local /bin/cfssljson$ wget https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64$ chmod +x cfssl-certinfo_linux-amd64$ sudo mv cfssl-certinfo_linux-amd64 /root/ local /bin/cfssl-certinfo$ export PATH=/root/ local /bin: $PATH
go
Go1.7.5
$go get -u github.com/cloudflare/cfssl/cmd/...$echo $GOPATH/usr/local$ls /usr/local/bin/cfssl*cfssl cfssl-bundle cfssl-certinfo cfssljson cfssl-newkey cfssl-scan
$GOPATH/bin
cfssl
cat
CA
$ mkdir /root/ssl$ cd /root/ssl$ cfssl print -defaults config > config.json$ cfssl print -defaults csr > csr.json$ cat ca-config.json{ "signing" : { "default" : { "expiry" : "87600h" }, "profiles" : { "kubernetes" : { "usages" : [ "signing" , "key encipherment" , "server auth" , "client auth" ], "expiry" : "87600h" } } }}
ca-config.json
profiles profilesigning
ca.pemCA=TRUE
server auth
client CA serverclient auth
serverCAclient
CA
$ cat ca-csr.json{ "CN" : "kubernetes" , "key" : { "algo" : "rsa" , "size" : 2048 }, "names" : [ { "C" : "CN" , "ST" : "BeiJing" , "L" : "BeiJing" , "O" : "k8s" , "OU" : "System" } ]}
- "CN"
Common Name
kube-apiserver (User Name) - "O"
Organization
kube-apiserver (Group)
CA
$ cfssl gencert -initca ca-csr.json | cfssljson -bare ca$ ls ca*ca-config.json ca.csr ca-csr.json ca-key.pem ca.pem
kubernetes
$ cat kubernetes-csr.json{ "CN" : "kubernetes" , "hosts" : [ "127.0.0.1" , "172.20.0.112" , "172.20.0.113" , "172.20.0.114" , "172.20.0.115" , "10.254.0.1" , "kubernetes" , "kubernetes.default" , "kubernetes.default.svc" , "kubernetes.default.svc.cluster" , "kubernetes.default.svc.cluster.local" ], "key" : { "algo" : "rsa" , "size" : 2048 }, "names" : [ { "C" : "CN" , "ST" : "BeiJing" , "L" : "BeiJing" , "O" : "k8s" , "OU" : "System" } ]}
- hosts IP
etcd
kubernetes master
etcd
kubernetes master
IPkubernetes
IPkue-apiserver
service-cluster-ip-range
IP 10.254.0.1
kubernetes
$ cfssl gencert -ca=ca.pem -ca-key=ca-key.pem -config=ca-config.json -profile=kubernetes kubernetes-csr.json | cfssljson -bare kubernetes$ ls kubernetes*kubernetes.csr kubernetes-csr.json kubernetes-key.pem kubernetes.pem
$ echo '{"CN":"kubernetes","hosts":[""],"key":{"algo":"rsa","size":2048}}' | cfssl gencert -ca=ca.pem -ca-key=ca-key.pem -config=ca-config.json -profile=kubernetes -hostname= "127.0.0.1,172.20.0.112,172.20.0.113,172.20.0.114,172.20.0.115,kubernetes,kubernetes.default" - | cfssljson -bare kubernetes
admin
$ cat admin-csr.json{ "CN" : "admin" , "hosts" : [], "key" : { "algo" : "rsa" , "size" : 2048 }, "names" : [ { "C" : "CN" , "ST" : "BeiJing" , "L" : "BeiJing" , "O" : "system:masters" , "OU" : "System" } ]}
kube-apiserver
RBAC
(kubelet
kube-proxy
Pod
)kube-apiserver
RBAC
RoleBindings
cluster-admin
Groupsystem:masters
Rolecluster-admin
Rolekube-apiserver
API- OU Group
system:masters
kubelet
kube-apiserver
CAsystem:masters
API
admin
$ cfssl gencert -ca=ca.pem -ca-key=ca-key.pem -config=ca-config.json -profile=kubernetes admin-csr.json | cfssljson -bare admin$ ls admin*admin.csr admin-csr.json admin-key.pem admin.pem
kube-proxy
$ cat kube-proxy-csr.json{ "CN" : "system:kube-proxy" , "hosts" : [], "key" : { "algo" : "rsa" , "size" : 2048 }, "names" : [ { "C" : "CN" , "ST" : "BeiJing" , "L" : "BeiJing" , "O" : "k8s" , "OU" : "System" } ]}
- CN User
system:kube-proxy
kube-apiserver
RoleBindingcluster-admin
Usersystem:kube-proxy
Rolesystem:node-proxier
Rolekube-apiserver
Proxy API
kube-proxy
$ cfssl gencert -ca=ca.pem -ca-key=ca-key.pem -config=ca-config.json -profile=kubernetes kube-proxy-csr.json | cfssljson -bare kube-proxy$ ls kube-proxy*kube-proxy.csr kube-proxy-csr.json kube-proxy-key.pem kube-proxy.pem
kubernetes
opsnssl
$ openssl x509 -noout -text -in kubernetes.pem... Signature Algorithm: sha256WithRSAEncryption Issuer: C=CN, ST=BeiJing, L=BeiJing, O=k8s, OU=System, CN=Kubernetes Validity Not Before: Apr 5 05:36:00 2017 GMT Not After : Apr 5 05:36:00 2018 GMT Subject: C=CN, ST=BeiJing, L=BeiJing, O=k8s, OU=System, CN=kubernetes... X509v3 extensions: X509v3 Key Usage: critical Digital Signature, Key Encipherment X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication X509v3 Basic Constraints: critical CA:FALSE X509v3 Subject Key Identifier: DD:52:04:43:10:13:A9:29:24:17:3A:0E:D7:14:DB:36:F8:6C:E0:E0 X509v3 Authority Key Identifier: keyid:44:04:3B:60:BD:69:78:14:68:AF:A0:41:13:F6:17:07:13:63:58:CD X509v3 Subject Alternative Name: DNS:kubernetes, DNS:kubernetes.default, DNS:kubernetes.default.svc, DNS:kubernetes.default.svc.cluster, DNS:kubernetes.default.svc.cluster.local, IP Address:127.0.0.1, IP Address:172.20.0.112, IP Address:172.20.0.113, IP Address:172.20.0.114, IP Address:172.20.0.115, IP Address:10.254.0.1...
Issuer
ca-csr.json
Subject
kubernetes-csr.json
X509v3 Subject Alternative Name
kubernetes-csr.json
X509v3 Key UsageExtended Key Usage
ca-config.json
Font size:
Interval:
Bookmark:
Similar books «Kubernetes Handbook»
Look at similar books to Kubernetes Handbook. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.
Discussion, reviews of the book Kubernetes Handbook and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.