Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster API Security Self Assessment #40

Merged
merged 2 commits into from
Jul 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
```mermaid
flowchart TB
subgraph Bootstrap Node / Management Cluster
kcp[Kubeadm Control Plane Controller]--https-->mgmtk8s
kbc[Kubeadm Bootstrap Controller]--https-->mgmtk8s
capi[Cluster API Controller]--https-->mgmtk8s
capa[Cluster API AWS Controller]--https-->mgmtk8s
mgmtk8s[Management Kubernetes API Server]--https-->mgmtetcd[etcd]
end
capa--https-->secrets
capa--https-->EC2
capa--https-->ELB
kcp--https-->k8sapi
capi--https-->k8sapi
kbc--https-->k8sapi
subgraph AWS Regional Services
secrets[AWS Secrets Manager]
EC2[Amazon EC2]
ELB[Elastic Load Balancing]
end
subgraph VPC[Provisioned VPC]
ELB--TCP Passthrough-->k8sapi
IMDS[Instance Metadata Service]
subgraph Workload EC2 Instance
Kubelet
Kubeadm
cloud-init
awscli[AWS CLI]
cloud-init--executes-->awscli
cloud-init--executes-->Kubeadm
cloud-init--starts-->Kubelet
end
k8sapi--websocket-->Kubelet
awscli--https-->secrets
Kubeadm--https-->k8sapi
Kubelet--http-->IMDS
awscli--http-->IMDS
Kubelet--https-->k8sapi
subgraph Workload control plane
k8sapi[Workload Kubernetes API server]
end
end

classDef Amazon fill:#FF9900;
classDef ThirdParty fill:#FFB6C1;
classDef AmazonBoundary fill:#fff2e6;
class EC2,secrets,EC2,ELB,IMDS,awscli Amazon
class cloud-init ThirdParty
class VPC AmazonBoundary
```
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading