Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

vmware-archive/vSphere7-k8-lab

Repository files navigation

Kubernetes on vSphere Lab

Business Context:

Customer wants to build a Blogging software which is a called WordPress. Company wants to make WordPress available to anyone who wants to create a website or blog. In developing WordPress and making it perpetually free, its creators hoped to “democratize publishing” by designing a site building program that could allow anyone to have a voice and presence online. With that idea in mind Business owners appoached architecuture and proudct team to start working on it. After carefull consideration Product team decided that they need a kubernetes enviornment which dev teams can self service and VI Admin can provide governance. Their dev team should be able to create services like Mysql and also be able to search their logs using a dashboard. Their kubernetes enviornment also needs monitoring and team is looking for a capability where they can create dashboard monitor real time. With all this requirements VI Admin need to provide all resources to product teams so that they could self service. Team also wants isolation for some of their services.

VI Admin Persona:

  1. Create a namespace for wordpress product team.
  2. Add users to namespace and prvovide them proper access.
  3. Apply proper storage and quota policies.
  4. Provide Federation/Role bindings for dev teams using TMC
  5. Setup Application catalog for developers to create services.
  6. Deploy wavefront to monitor kubernetes enviorment.
  7. Deploy Elastic search and Kibana for dev teams to search their logs.

Developer's Persona:

  1. Create Mysql service using Application catalog.
  2. Create workload cluster to deploy wordpress.
  3. Deploy services to Native for the workloads that needs isolation.
  4. Create dashboards in wavefront to monitor their enviornment.
  5. Seach their logs using Kibana dashboards.

Steps:

CLIs

  1. kubectl
  2. tmc
  3. helm 3

1. Installation

  1. Nested Install
  2. Request OneCloud setup if needed

2. Supervisor Cluster

  1. Enable Supervisor Cluster
  2. Enable Harbor
  3. Create Namespace
  4. Enable access control
  5. Access Supervisor Cluster
  6. Deploy Nativepod

3. Application Catalog Cluster

  1. Create Service Cluster
  2. Attach to TMC
  3. Integrate Application Catalog
  4. Install Elastic Search and Kibana
  5. Install Wavefront

4. Workload Cluster

  1. Create Workload Cluster
  2. Attach to TMC
  3. Install Fluent Bit
  4. Install Wavefront
  5. Deploy wordpress

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages