Skip to content

Highly available and easily deployable weather search website built on GKE.

Notifications You must be signed in to change notification settings

RicardoYam/WeatherExplorer

Repository files navigation

Weather Explorer

listpods

Introduction

Welcome to Weather Explorer! This repository provides a comprehensive solution for exploring and analyzing weather data from various sources. The project features a dynamic and responsive frontend built with Vue.js, supported by a robust backend powered by Java Spring Boot. For deployment, it leverages Google Kubernetes Engine (GKE) to ensure high availability and scalability, while Nginx serves as the reliable web server and reverse proxy, optimizing performance and load handling across various scenarios.

Features

  • Access real-time weather data from multiple sources
  • Visualize weather patterns using interactive charts and maps
  • Analyze historical weather data for research or forecasting purposes
  • Customize and configure weather data based on your specific needs
  • Seamless integration with popular programming languages and frameworks

Architecture

listpods

listpods

Getting Started

Prerequesties

  • A Google Kubernetes Engine (GKE) cluster set up on your GCP
  • Kubectl installed
  • Docker installed

Quick Start

  1. To get started with Weather Explorer:

    • Access your Cloud Shell, clone this repository to your GKE instance.
  2. In your project directory, run the following command:

    kubectl apply -f mysql-init.yaml -f mysql-secrects.yaml -f mysql-configMap.yaml

  3. Then, create pods for the services:

    kubectl apply -f db.yaml -f app.yaml -f front.yaml

  4. Check the status of your pods:

    kubectl get pod

listpods

Usage

Once you have Weather Explorer up and running, you can explore Kubernetes features:

  • Verify that your backend is working by running:

    kubectl logs "YOUR-POD-NAME"

listpods

  • Check your services, and visit your website by entering "YOUR-EXTERNAL-IP" in your browser:

    kubectl get svc

listpods

  • Scale your service:

    kubectl scale Deployment "YOUR-POD-NAME" --repicas="NUMBER"

listpods

  • Remove pods:

    kubectl delete pod "YOUR-POD-NAME"

listpods

Screenshots

About

Highly available and easily deployable weather search website built on GKE.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages