pedsf1968 / ansible-k8s-vmware-cluster

Ansible roles & playbooks for deploying and managing Kubernetes cluster
0 stars 1 forks source link

Reference for the play Sequence + Arch diagram #1

Open amitchettri opened 2 years ago

amitchettri commented 2 years ago

Hello,

I was hoping if you have the sequence for which playbooks must be executed to test this and which the reference architecture for this cluster deployment.

pedsf1968 commented 2 years ago

Hello @amitchettri,

I have several playbooks in this repository and I should make a split between my projects.

The first playbook is to install Kubernetes cluster on 8 Rasberry pi4B 1 - admin host with ansible user 1 - LB for apiserver, ETCD and ingress controller 3 - Controlplane with stacked ETCD 3 - Workers k8s-RasberryPi-install.yml

The second playbook is to install Kubernetes on VMware VM k8s-VMware-install.yml

Name | IPv4 | core | Ram Go | HDD Go admin-server | X.Y.Z.A | 8 | 8 | 20 k8s-api-lb-vip | X.Y.Z.20 |   |   |   k8s-api-lb-01 | X.Y.Z.21 | 2 | 2 | 10 k8s-api-lb-02 | X.Y.Z.22 | 2 | 2 | 10 k8s-etcd-lb-vip | X.Y.Z.40 |   |   |   k8s-etcd-lb-01 | X.Y.Z.23 | 2 | 2 | 10 k8s-etcd-lb-02 | X.Y.Z.24 | 2 | 2 | 10 k8s-master-01 | X.Y.Z.31 | 4 | 2 | 16 k8s-master-02 | X.Y.Z.32 | 4 | 2 | 16 k8s-master-03 | X.Y.Z.33 | 4 | 2 | 16 k8s-master-04 | X.Y.Z.34 | 4 | 2 | 16 k8s-master-05 | X.Y.Z.35 | 4 | 2 | 16 k8s-etcd-01 | X.Y.Z.41 | 2 | 4 | 16 k8s-etcd-02 | X.Y.Z.42 | 2 | 4 | 16 k8s-etcd-03 | X.Y.Z.43 | 2 | 4 | 16 k8s-etcd-04 | X.Y.Z.44 | 2 | 4 | 16 k8s-etcd-05 | X.Y.Z.45 | 2 | 4 | 16 k8s-worker-01 | X.Y.Z.51 | 8 | 8 | 20 k8s-worker-02 | X.Y.Z.52 | 8 | 8 | 20 k8s-worker-03 | X.Y.Z.53 | 8 | 8 | 20 k8s-worker-04 | X.Y.Z.54 | 8 | 8 | 20 k8s-worker-05 | X.Y.Z.55 | 8 | 8 | 20

amitchettri commented 2 years ago

Thank you, that is informative. also, does this support all OS - centos/Rocky + Ubuntu?

pedsf1968 commented 2 years ago

@amitchettri It's only on ubuntu, I don't know if it's work on other Linux distribution. I think the network configuration change on CentOS.