0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

๐ŸซฃTL;DR

ๅฏพ่ฑก๏ผš

  • Kubernetes ใ‚’ใชใ‚“ใจใชใไฝฟใฃใฆใ„ใŸไบบ
  • ็”จ่ชžใฏ่žใ่ฆšใˆใŒใ‚ใ‚‹ใ‘ใฉใใ‚Œใžใ‚Œใฎ้–ขไฟ‚ใŒใ‚ˆใๅˆ†ใ‹ใ‚‰ใชใ„ไบบ

็›ฎ็š„๏ผš
ๆง‹ๆˆ่ฆ็ด ใฎ้–ขไฟ‚ๆ€งใ€ๅ…จไฝ“ๅƒใฎใ‚คใƒกใƒผใ‚ธใ‚’ใคใ‹ใ‚€ใ€‚
๏ผˆโ€ป ็ดฐใ‹ใ„ๆฉŸ่ƒฝใ‚„ไป•็ต„ใฟใฎ็†่งฃใฏใ“ใฎ่จ˜ไบ‹ใงใฏ็›ฎๆŒ‡ใ—ใพใ›ใ‚“๏ผ‰

๐Ÿงฑๆง‹้€ 

Kubernetes ใฏไปฅไธ‹ใฎๆง‹ๆˆใซใชใฃใฆใ„ใ‚‹ใ€‚

Management Plane
โ””โ”€โ”€ *Cluster(s)
    โ”œโ”€โ”€ Controle Plane
    โ”‚   โ”œโ”€โ”€ kube-apiserver
    โ”‚   โ”œโ”€โ”€ etcd
    โ”‚   โ”œโ”€โ”€ kube-scheduler
    โ”‚   โ”œโ”€โ”€ kube-controller-manager
    โ”‚   โ”‚   โ”œโ”€โ”€ node controller
    โ”‚   โ”‚   โ”œโ”€โ”€ replication controller
    โ”‚   โ”‚   โ”œโ”€โ”€ endpoint controller
    โ”‚   โ”‚   โ””โ”€โ”€ service account & token controller
    โ”‚   โ””โ”€โ”€ cloud-controller-manager
    โ””โ”€โ”€ Data Plane
        โ””โ”€โ”€ Node(s)
            โ”œโ”€โ”€ kubelet
            โ”œโ”€โ”€ container runtime
            โ”œโ”€โ”€ *kube-proxy
            โ””โ”€โ”€ *Pod(s)
                โ”œโ”€โ”€ networking (IP address)
                โ”œโ”€โ”€ (volume)
                โ””โ”€โ”€ container(s) (containerized app) (โ€ป1, โ€ป2)

โ€ป * ใŒใคใ„ใฆใ„ใ‚‹ใ‚‚ใฎใฏ 0 or 1 ใคๅญ˜ๅœจ
โ€ป (s) ใŒใคใ„ใฆใ„ใ‚‹ใ‚‚ใฎใฏ่ค‡ๆ•ฐๅญ˜ๅœจใ—ใ†ใ‚‹
โ€ป Control Plane ใซๅซใพใ‚Œใ‚‹ 4 ่ฆ็ด ใใ‚Œใžใ‚ŒใŒ master node ใงใ‚ใ‚Šใ€
ใ€€ ใใ‚Œใซๅฏพใ—ใฆ Data Plane ใฎ Node ใ‚’ Worker node ใจใ„ใ†ใ“ใจใ‚‚ใ‚ใ‚‹
โ€ป1 ใ‚ณใƒณใƒ†ใƒŠใงๅฎŸ่กŒไธญใฎใ‚ขใƒ—ใƒช = workload
โ€ป2 ๅŸบๆœฌ็š„ใซใฏ 1 Pod - 1 container ใ ใŒใ€proxy ใ‚„ SSL ็ต‚็ซฏใ€ใƒญใƒผใ‚ซใƒซใ‚ญใƒฃใƒƒใ‚ทใƒฅใชใฉ
ใ€€  ใ‚ตใƒ–็”จ้€”ใฎใ‚ณใƒณใƒ†ใƒŠใ‚’ไฝต็”จใ™ใ‚‹ใจใใ€ใใ‚Œใ‚‰ใ‚’ sidecar ใจใ„ใ†

ใพใŸใ€ไธŠๅ›ณใ‚„ใใฎไป–ใฎ Kubernetes ใ‚’ๆง‹ๆˆใ™ใ‚‹ใƒชใ‚ฝใƒผใ‚นใฏ 5 ็จฎ้กžใซๅˆ†้กžใ•ใ‚Œใพใ™ใ€‚

Kubernetes
โ”œโ”€โ”€ Workloads resource
โ”‚   โ”œโ”€โ”€ Pod
โ”‚   โ”œโ”€โ”€ ReplicaSet
โ”‚   โ”œโ”€โ”€ Deployment
โ”‚   โ”œโ”€โ”€ DaemonSet
โ”‚   โ”œโ”€โ”€ StatefulSet
โ”‚   โ”œโ”€โ”€ Job
โ”‚   โ””โ”€โ”€ CronJob
โ”œโ”€โ”€ Discovery & LB resource
โ”‚   โ”œโ”€โ”€ Service
โ”‚   โ”‚   โ”œโ”€โ”€ Cluster IP
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ (External IP)
โ”‚   โ”‚   โ”œโ”€โ”€ Node Port
โ”‚   โ”‚   โ”œโ”€โ”€ Load Balancer
โ”‚   โ”‚   โ”œโ”€โ”€ ExternalName
โ”‚   โ”‚   โ””โ”€โ”€ Headless
โ”‚   โ””โ”€โ”€ Ingress
โ”œโ”€โ”€ Config & Storage resource
โ”œโ”€โ”€ Cluster resource
โ””โ”€โ”€ Metadata resource

ใพใจใ‚

ไธ€ๅบฆใ€ๅ…จไฝ“ๅƒใ‚’่ฆ‹ใŸๅพŒใซๅ…ฌๅผใฎๅ›ณใ‚’่ฆ‹ใ‚‹ใจใ‚‚ใ†ๅฐ‘ใ—็†่งฃใ—ใ‚„ใ™ใใชใ‚‹ใ‚“ใ˜ใ‚ƒใชใ„ใ‹ใจๆ€ใ„ใพใ™ใ€‚
๏ผˆใใ†ใชใ‚‹ใ“ใจใ‚’ๆœŸๅพ…ใ—ใพใ™๏ผ‰

๐Ÿ”—ๅ‚่€ƒ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?