All Projects → ashutoshsahoo → spring-boot-kubernetes-mysql

ashutoshsahoo / spring-boot-kubernetes-mysql

Licence: other
Demo project for Spring Boot,Kubernetes, MySQL with PVC

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to spring-boot-kubernetes-mysql

pdf
This is web application, micro-stackoverflow, built with Spring MVC 5, Hibernate 5, AOP and Spring Security etc . Unregistered user can search for questions and look into details including answer however registered member can post questions and answers.
Stars: ✭ 24 (+26.32%)
Mutual labels:  mysql-database, spring-boot-2
A-Simple-Note-Taking-Terminal-App
A simple terminal note taking application using Python
Stars: ✭ 25 (+31.58%)
Mutual labels:  mysql-database
migrate-Java-EE-app-to-azure
Migrate an existing Java EE workload to Azure
Stars: ✭ 12 (-36.84%)
Mutual labels:  mysql-database
creek
使用Spring Security + JWT Token + RBAC的方式实现认证和授权,持久层使用Mybatis plus。避免每次重复编写认证和授权功能、角色管理、异常处理、参数校验等代码,直接上手业务代码,不再烦恼于构建项目与风格统一。
Stars: ✭ 21 (+10.53%)
Mutual labels:  mysql-database
mysql-cluster
Scalable MySQL Cluster with ProxySQL Load Balancer and Orchestrator
Stars: ✭ 42 (+121.05%)
Mutual labels:  mysql-database
R-Cell
A self-made cryptocurrency using Block-chain technology in Python
Stars: ✭ 18 (-5.26%)
Mutual labels:  mysql-database
my-learning-analytics
My Learning Analytics project
Stars: ✭ 28 (+47.37%)
Mutual labels:  mysql-database
airflow-tutorial
Use Airflow to move data from multiple MySQL databases to BigQuery
Stars: ✭ 96 (+405.26%)
Mutual labels:  mysql-database
Keyist-Ecommerce
🔑 A simple ecommerce site powered with Spring Boot + Angular 10 + Ngrx + OAuth2
Stars: ✭ 220 (+1057.89%)
Mutual labels:  mysql-database
doteur
Tool to automate the visualisation of SQL schemas from a SQL file
Stars: ✭ 80 (+321.05%)
Mutual labels:  mysql-database
sqlfuzz
Simple SQL table fuzzing
Stars: ✭ 144 (+657.89%)
Mutual labels:  mysql-database
CodeSignal-Solutions
CodeSignal solutions
Stars: ✭ 112 (+489.47%)
Mutual labels:  mysql-database
MySQL Module
MySQL connector to Godot Engine.
Stars: ✭ 30 (+57.89%)
Mutual labels:  mysql-database
naive-bayes-classifier
Implementing Naive Bayes Classification algorithm into PHP to classify given text as ham or spam. This application uses MySql as database.
Stars: ✭ 21 (+10.53%)
Mutual labels:  mysql-database
simple-backup
A simple mysql database backup library for php.
Stars: ✭ 38 (+100%)
Mutual labels:  mysql-database
php-search-all-database
With this code, you can search all database with narrowing down the Tables & Column to search in, Resulting in low traversing & high performance
Stars: ✭ 21 (+10.53%)
Mutual labels:  mysql-database
spring-boot-angular-maven-starter
An example of Spring Boot and Angular 6 integration with the help of Maven and Kotlin.
Stars: ✭ 13 (-31.58%)
Mutual labels:  spring-boot-2
mysql-user-db-creator-bash-script
Script to create a mysql database, user and password with just a command
Stars: ✭ 24 (+26.32%)
Mutual labels:  mysql-database
HealthApp
A desktop application to fetch Wikipedia,Google,Disease results and save them as text file,in database.Have a Section to search details about doctors in location
Stars: ✭ 23 (+21.05%)
Mutual labels:  mysql-database
face-attendence
Face Attendance (AWS rekognition)
Stars: ✭ 39 (+105.26%)
Mutual labels:  mysql-database

Spring Boot Kubernetes and MySQL

Sample project to test and deploy spring boot application with mysql database in kubernetes using JKube maven plugin.

Prerequisite

  • Docker with kubernetes enabled
  • Kubernetes command-line tool(kubectl)
  • JDK 17 LTS
  • Maven

Start application

  • Create secrets and start mysql database
kubectl create -f deployment/secrets.yaml
kubectl create -f deployment/mysql-deployment.yaml
  • Build application and deploy in kubernetes
mvn clean package
mvn k8s:build k8s:resource k8s:apply
  • Test application :
curl -X GET \
  http://localhost:31371/api/v1/pets \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json'

Response should be :

[
  {
    "name": "Puffball",
    "owner": "Diane",
    "species": "hamster",
    "sex": "f",
    "birth": "1999-03-30",
    "death": null
  }
]

Delete deployment, service, secret and pvc

mvn k8s:undeploy
kubectl delete -f deployment/mysql-deployment.yaml
kubectl delete -f deployment/secrets.yaml

Reference

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].