Skip to content

Duduxs/quarkus-k8s-aws

Repository files navigation

K8S in AWS

Project created in Quarkus to deploy a rest server in aws cloud provider

The main objective of this project is understand some features of k8s and aws.

Technologies   |    How To Use   |    How To Contribute   |   

Collage

🚀 Technologies

This project was developed with the following technologies:

ℹ️ How to use

To clone and run these configurations, you'll need Git, JDK 17, Docker, Kubectl and any tools that enables a development of a k8s locally, like minikube or kind.

From your command line:

# Clone this repository
$ git clone https://github.com/Duduxs/quarkus-k8s-aws

# Create a cluster 4 you
$ kind create cluster --name quarkus-k8s-aws

# Use your cluster
$ kubectl cluster-info --context quarkus-k8s-aws

# Create namespace and go to it
$ kubectl create namespace quarkus-k8s
$ kubectl config set-context --current --namespace=quarkus-k8s

# Deploy the loadbalancer, pods, replica set and containers in your cluster
$ kubectl apply -f devops/quarkus-k8s-aws-prd.yaml

# Do a port forward to access the load balancer and therefore be able to access the pods
$ kubectl port-forward svc/quarkus-k8s-aws 8080:8080

# Access your app
$ curl http://localhost:8080/api/test

👍 How To Contribute

  • Make a fork;
  • Create a branch with your feature: git checkout -b my-feature;
  • Commit changes: git commit -m 'feat: My new feature';
  • Make a push to your branch: git push origin my-feature.

Made by Eduardo José 😆 Contact me!