https://github.com/colinbut/microservices-enterprise-application-deployments
microservice enterprise application deployment scripts
https://github.com/colinbut/microservices-enterprise-application-deployments
deployment kubernetes kubernetes-cluster kubernetes-deployment microservices
Last synced: about 1 year ago
JSON representation
microservice enterprise application deployment scripts
- Host: GitHub
- URL: https://github.com/colinbut/microservices-enterprise-application-deployments
- Owner: colinbut
- Created: 2018-10-21T21:51:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-09T19:16:20.000Z (over 7 years ago)
- Last Synced: 2025-02-01T14:46:12.866Z (over 1 year ago)
- Topics: deployment, kubernetes, kubernetes-cluster, kubernetes-deployment, microservices
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Audit: audit-service/audit-service-deployment.yml
Awesome Lists containing this project
README
# Microservices Enterprise Application Deployments
This repository contains the deployments configuration scripts for each of the microservices in the Microservices Enterprise Application
project: [Microservices Enterprise Application](https://github.com/colinbut/microservices-enterprise-application)
That microservices project microservices would each run in Kubernetes.
Kubernetes is a container orchestration framework/tool which provides management of containers.
To run this, one needs access to a Kubernetes cluster.
For locally, you can use Minikube. Assuming minikube is installed and also `kubectl` the kubernetes client tool..
#### Start Cluster
To start up the Kubernetes cluster.
```bash
minikube start
```
#### Deploy to Cluster
Apply deployment configuration scripts
```bash
kubectl apply -f [kubernetes-deployment-file]
```
for e.g. To deploy each of the microservices:
```bash
kubectl apply -f account-service/account-service-deployment.yml
kubectl apply -f audit-service/audit-service-deployment.yml
kubectl apply -f email-service/email-service-deployment.yml
kubectl apply -f exclusion-service/exclusion-service-deployment.yml
kubectl apply -f marketing-service/marketing-service-deployment.yml
kubectl apply -f notification-service/notification-service-deployment.yml
kubectl apply -f registration-email-service/registration-email-service-deployment.yml
kubectl apply -f registration-service/registration-service-deployment.yml
kubectl apply -f reporting-service/reporting-service-deployment.yml
kubectl apply -f subscription-service/subscription-service-deployment.yml
kubectl apply -f user-service/user-service-deployment.yml
```
#### Useful Kubectl Commands
```bash
kubectl get pods
```
```bash
kubectl get services
```
```bash
kubectl get deployments
```
```bash
kubectl get nodes
```
```bash
kubectl get replicaSets
```
```bash
kubectl logs [POD_NAME]
```
```bash
kubectl cluster-info
```
```bash
kubectl describe pod [POD_NAME]
```