https://github.com/rujuu-prog/todo-k8s-practice
https://github.com/rujuu-prog/todo-k8s-practice
kubernetes minikube skaffold spring-boot vue
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rujuu-prog/todo-k8s-practice
- Owner: Rujuu-prog
- Created: 2024-03-27T09:06:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-29T10:02:10.000Z (over 1 year ago)
- Last Synced: 2025-01-04T08:32:57.283Z (9 months ago)
- Topics: kubernetes, minikube, skaffold, spring-boot, vue
- Language: Vue
- Homepage:
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todo App (Spring Boot + PostgreSQL + Kubernetes)
This project is a Todo application built with Spring Boot, using PostgreSQL as the database, and facilitates deployment on Kubernetes with Minikube and Skaffold.
## Prerequisites
- [Minikube](https://minikube.sigs.k8s.io/docs/start/) installed
- [Skaffold](https://skaffold.dev/docs/install/) installed
- [kubectl](https://kubernetes.io/ja/docs/tasks/tools/install-kubectl/) installed## Running the Application
1. Clone the repository.
```bash
git clone git@github.com:Rujuu-prog/todo-k8s-practice.git
cd todo-k8s-practice
```
2. Set up Secrets.
```bash
cp k8s/secret.yaml.example k8s/secret.yaml
```
Edit secret.yaml to set your actual values
3. Start Minikube.
```bash
minikube start
```
4. Start Skaffold.
```bash
skaffold dev --port-forward
```## Usage
Access the Todo application at `http://127.0.0.1:5173`.
### Minikube Dashboard
To access the Minikube Dashboard, which provides a web-based Kubernetes user interface, you can use the following command:
```bash
minikube dashboard
```