video-kubernetes-architecture

https://www.youtube.com/watch?v=zeS6OyDoy78

At 8:35 diagram of what runs on master node

video-kubernetes-architecture#master-containersAt 8:35 master /can/ run containers, but usually doesn't. video-kubernetes-architecture#master-containers

video-kubernetes-architecture#fluentd-runs-on-masterAt 8:35 fluentd runs on the master node video-kubernetes-architecture#fluentd-runs-on-master

video-kubernetes-architecture#supervisord-docker-kubeletAt 8:35 supervisord runs docker and kubelet video-kubernetes-architecture#supervisord-docker-kubelet

video-kubernetes-architecture#addonsAt 8:35 DNS and UI are addons video-kubernetes-architecture#addons

video-kubernetes-architecture#kubelet-reports-health-to-masterAt 10:00 the kubelet reports health to the master video-kubernetes-architecture#kubelet-reports-health-to-master

video-kubernetes-architecture#supervisord-ensures-docker-and-kublet-runningAt 10:20, supervisord ensures that docker and kublet remain running video-kubernetes-architecture#supervisord-ensures-docker-and-kublet-running

video-kubernetes-architecture#minion-slaveAt 12:25 the node is also called a minion or a slave (TODO is that only the worker node?) video-kubernetes-architecture#minion-slave

At 14:30 pods

At 18:05 - Labels and selectors

video-kubernetes-architecture#pods-are-autonomousAt 18:20 "Every pod is completely autonomous. There is no notion of an 'application' that brings multiple pods together" video-kubernetes-architecture#pods-are-autonomous

video-kubernetes-architecture#service-abstractionAt 22:15 an abstraction to define a logical set of pods, bound by a policy to access them. video-kubernetes-architecture#service-abstraction

video-kubernetes-architecture#service-internal-external-enpointsAt 22:15 services are exposed through internal and external endpoints video-kubernetes-architecture#service-internal-external-enpoints

video-kubernetes-architecture#service-non-kubernetes-endpointsAt 22:15 can also point to a non-kubernetes endpoint through a Virtual-IP-Bridge video-kubernetes-architecture#service-non-kubernetes-endpoints

video-kubernetes-architecture#service-tcp-and-udpAt 22:15 supports TCP and UDP video-kubernetes-architecture#service-tcp-and-udp

video-kubernetes-architecture#service-interfaces-with-kube-proxyInterfaces with kube-proxy to manipulate IP tables video-kubernetes-architecture#service-interfaces-with-kube-proxy

video-kubernetes-architecture#services-are-endpointsAt 24 - "Services are the endpoints by which one pod can talk to the other" video-kubernetes-architecture#services-are-endpoints

video-kubernetes-architecture#cluster-ipAt 24:30 - A Cluster IP is available only within the cluster. video-kubernetes-architecture#cluster-ip

video-kubernetes-architecture#node-portAt 24:40 - A Node Port is an external service. Called node port because every node in the cluster makes the service available on the same port. video-kubernetes-architecture#node-port

At 28:24 he has a Docker compose file (TODO is that really needed in Kubernetes?)

docker-compose up -d

video-kubernetes-architecture#commands

kubectl get nodes

kubectl get cs (get component statuses)

video-kubernetes-architecture#commands

video-kubernetes-architecture#scheduling-disabledAt 30:54 - When you run kubectl get nodes if it says SchedulingDisabled on the master node, it will not run containers video-kubernetes-architecture#scheduling-disabled

video-kubernetes-architecture#service-port-as-cluster-ipAt 37:50 - The default option is exposing the service port as a cluster IP video-kubernetes-architecture#service-port-as-cluster-ip

video-kubernetes-architecture#default-kubernetes-serviceAt 39:40 - there is a default kubernetes service when you do kubectl get svc video-kubernetes-architecture#default-kubernetes-service

At 42:50 - kubectl exec -it web /bin/bash gets him into the web container

At 44:20 - from within the web container he does ping redis and it shows that it's at redis.default.svc.cluster.local

video-kubernetes-architecture#node-ports-rangeAt 46:15 - the node ports fall within a specific range video-kubernetes-architecture#node-ports-range

At 47:25 - kubectl describe pod web

At 48:10 - If the web pod is running on the third node and we access it at the second node, how is it able to access it? That's where kube-proxy will kick in and bounce the traffic to node 3

video-kubernetes-architecture#kube-proxy-gets-request-to-right-nodeAt 48:10 - if you access a service at the right port, but wrong node, kube proxy will bounce it to the right node video-kubernetes-architecture#kube-proxy-gets-request-to-right-node

video-kubernetes-architecture#cluster-ip-is-intranet-only-serviceAt 48:50 - An intranet-only service is called a cluster ip video-kubernetes-architecture#cluster-ip-is-intranet-only-service

video-kubernetes-architecture#scale-serviceAt 51:50 - If you scale a service by using a replication controller, the service will route to the right nodes using a load balancing scheme video-kubernetes-architecture#scale-service

video-kubernetes-architecture#definitionAt 52:42 - definition seems a bit like manifest video-kubernetes-architecture#definition

At 57:08 - kubectl scale rc web --relicas=50


kubernetes-glossary#glossary

assigning a CIDR block to the Node when it is registered

 
 

Referring Pages

kubernetes-glossary kubernetes-open-questions

People

person-janakiram-msv