Last active
July 8, 2019 15:01
-
-
Save yokotak0527/69a2347b4fc0d78430456008f237f308 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml kubernetes components | |
skinparam monochrome true | |
skinparam shadowing false | |
skinparam linetype ortho | |
skinparam defaultFontName Cica | |
skinparam noteBackgroundColor white | |
rectangle kubectl | |
rectangle "Kubernetes Cluster" { | |
rectangle "Kubernetes Master" as master { | |
rectangle "api-server" as api | |
rectangle "cloud-controller-manager" as cloudControllerMGR | |
rectangle "kube-scheduler" as scheduler | |
rectangle "kube-controller-manager" as controllerMGR | |
rectangle etcd | |
note bottom of etcd : 外部プロジェクト | |
api <-up-> scheduler | |
api <-up-> cloudControllerMGR | |
api <-up-> controllerMGR | |
api <-down-> etcd | |
} | |
rectangle "Kubernetes Node (minions)" as node { | |
rectangle kubelet | |
rectangle "kube-proxy" as proxy | |
} | |
} | |
kubectl <-right-> api | |
api <--> kubelet | |
api <--> proxy | |
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml deployment | |
skinparam monochrome true | |
skinparam shadowing false | |
skinparam linetype ortho | |
skinparam defaultFontName Cica | |
skinparam noteBackgroundColor white | |
rectangle Deployment | |
rectangle ReplicaSet as replica1 | |
rectangle ReplicaSet as replica2 | |
rectangle Pod as pod1 | |
rectangle Pod as pod2 | |
rectangle Pod as pod3 | |
rectangle Pod as pod4 | |
Deployment --> replica1 | |
replica1 --> pod1 | |
replica1 --> pod2 | |
Deployment --> replica2 | |
replica2 --> pod3 | |
replica2 --> pod4 | |
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml pod | |
skinparam monochrome true | |
skinparam shadowing false | |
skinparam linetype ortho | |
skinparam defaultFontName Cica | |
skinparam noteBackgroundColor white | |
rectangle Pod as pod1 { | |
rectangle 仮想NIC as nic1_1 | |
rectangle container as container1_1 | |
rectangle container as container1_2 | |
database volume as volume1_1 | |
container1_1 <-up-> nic1_1 | |
container1_2 <-up-> nic1_1 | |
container1_1 <-down-> volume1_1 | |
container1_2 <-down-> volume1_1 | |
} | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment