z-shah / anthos-bare-metal-ref-arch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anthos Reference Architecture - Anthos on bare metal

This repository includes the scripts and documentation to deploy the architecture described in Anthos reference architecture: Anthos on bare metal.

IP address allocation

The default IP address allocations are as follows. If these allocations need to be modify they can be changed in the conf files or cluster configuration files specified in the Review the cluster configuration files section.

Cluster Hosts Pods Services Load Balancers
metal-1-apps-dc1a-prod 10.185.1.0/24 192.168.0.0/16 10.96.0.0/12 10.185.1.3-10.185.1.10
metal-2-apps-dc1b-prod 10.185.2.0/24 192.168.0.0/16 10.96.0.0/12 10.185.2.3-10.185.2.10
metal-3-apps-dc2a-prod 10.195.1.0/24 192.168.0.0/16 10.96.0.0/12 10.195.1.3-10.195.1.10
metal-4-apps-dc2b-prod 10.195.2.0/24 192.168.0.0/16 10.96.0.0/12 10.195.2.3-10.195.2.10

metal-1-apps-dc1a-prod

# Hosts
10.185.1.11    metal-1-apps-dc1a-prod-cp-1
10.185.1.12    metal-1-apps-dc1a-prod-cp-2
10.185.1.13    metal-1-apps-dc1a-prod-cp-3
10.185.1.18    metal-1-apps-dc1a-prod-worker-1
10.185.1.19    metal-1-apps-dc1a-prod-worker-2
10.185.1.20    metal-1-apps-dc1a-prod-worker-3

# VIPs
10.185.1.2     metal-1-apps-dc1a-prod-cp
10.185.1.3     metal-1-apps-dc1a-prod-ingress

metal-2-apps-dc1b-prod

# Hosts
10.185.2.11    metal-2-apps-dc1b-prod-cp-1
10.185.2.12    metal-2-apps-dc1b-prod-cp-2
10.185.2.13    metal-2-apps-dc1b-prod-cp-3
10.185.2.18    metal-2-apps-dc1b-prod-worker-1
10.185.2.19    metal-2-apps-dc1b-prod-worker-2
10.185.2.20    metal-2-apps-dc1b-prod-worker-3

# VIPs
10.185.2.2     metal-2-apps-dc1b-prod-cp
10.185.2.3     metal-2-apps-dc1b-prod-ingress

metal-3-apps-dc2a-prod

# Hosts
10.195.1.11    metal-3-apps-dc2a-prod-cp-1
10.195.1.12    metal-3-apps-dc2a-prod-cp-2
10.195.1.13    metal-3-apps-dc2a-prod-cp-3
10.195.1.18    metal-3-apps-dc2a-prod-worker-1
10.195.1.19    metal-3-apps-dc2a-prod-worker-2
10.195.1.20    metal-3-apps-dc2a-prod-worker-3

# VIPs
10.195.1.2     metal-3-apps-dc2a-prod-cp
10.195.1.3     metal-3-apps-dc2a-prod-ingress

metal-4-apps-dc2b-prod

# Hosts
10.195.2.11    metal-4-apps-dc2b-prod-cp-1
10.195.2.12    metal-4-apps-dc2b-prod-cp-2
10.195.2.13    metal-4-apps-dc2b-prod-cp-3
10.195.2.18    metal-4-apps-dc2b-prod-worker-1
10.195.2.19    metal-4-apps-dc2b-prod-worker-2
10.195.2.20    metal-4-apps-dc2b-prod-worker-3

# VIPs
10.195.2.2     metal-4-apps-dc2b-prod-cp
10.195.2.3     metal-4-apps-dc2b-prod-ingress

Deploy the platform

This guide can be used to deploy Anthos on bare metal for two different scenarios:

Deploy to self-managed hosts
This scenario walks through the deployment of Anthos on bare metal using self-managed hosts. A self-managed host is a host that meets the requirements and prerequisites for Anthos on bare metal, regardless of the underlying infrastructure. There is no infrastructure automation provided for the hosts in this scenario as it relies on the hosts being preconfigured for the Anthos on bare metal installation.

Deploy to GCE instances with VXLAN

This scenario is for demonstration purposes only and should NOT be used for production workloads.

This scenario walks through the deployment of Anthos on bare metal using GCE instances with VXLAN and GCP resources. There is infrastructure automation to create the required resources on GCP.

Deploy the application

Once the platform is deploy the Bank of Anthos application can be deployed using the Deploy the application guide

About

License:Apache License 2.0


Languages

Language:Shell 100.0%