https://github.com/thebeginner86/techtrends
Project1: SUSE CloudNative Scholarship at Udacity
https://github.com/thebeginner86/techtrends
argocd docker flask helm kubernetes python sql webapplication
Last synced: 3 months ago
JSON representation
Project1: SUSE CloudNative Scholarship at Udacity
- Host: GitHub
- URL: https://github.com/thebeginner86/techtrends
- Owner: theBeginner86
- Created: 2021-08-18T17:45:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-27T16:38:28.000Z (almost 5 years ago)
- Last Synced: 2025-06-12T04:15:34.883Z (about 1 year ago)
- Topics: argocd, docker, flask, helm, kubernetes, python, sql, webapplication
- Language: Python
- Homepage:
- Size: 13.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project1: SUSE CloudNative Scholarship at Udacity
#### **Introduction**
This project was submitted as project1 (named: TechTrends) for the SUSE CloudNative Nano Degree at Udacity. Aim of this project was to implement all the different CloudNative tools taught in the first lesson: CloudNative Fundamentals.
[Link of the Course](https://www.udacity.com/course/cloud-native-application-architecture-nanodegree--nd064)
This project uses latest CloudNative tools for deploying a blogging app: TechTrends
👨💻 Tools used in this project: 👨💻
- Docker
- Kubernetes
- ArgoCD
- Helm
- Vagrant
#### **Setup Instructions**
1. Clone this repo onto your machine.
2. Install [Docker](https://docs.docker.com/engine/install/).
3. Install [Kind](https://kind.sigs.k8s.io/). Kind is a [Kubernetes](https://kubernetes.io/docs/concepts/overview/what-is-kubernetes/) bootstrapping tool that would run kubernetes clusters for you in Docker container.
3. To start kubernester cluster:
```
kind create cluster
```
4. For checking the running nodes:
```
kubectl get no
```
5. For running the app:
5.1
```
kubect apply -f kubernetes/namespace.yaml
```
5.2
```
kubect apply -f kubernetes/service.yaml
```
5.3
```
kubect apply -f kubernetes/deploy.yaml
```
For checking the running application:
```
kubectl get all -n=sandbox
```
6. For viewing the application in your browser:
```
kubectl port-fowrard service/techtrends 3111:4111 -n=sandbox
```
> Note: In place of 3111 your can give any port of your choice. Read more about it at:
https://kubernetes.io/docs/concepts/services-networking/service/
https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/
Example:
```
kubectl port-fowrard service/techtrends :4111 -n=sandbox
```
7. Type: `localhost:3111` or `localhost:` in your browser and your should be able to access the application.
Thats all!! 😁 🙌
> Note: In place of kind your can use any other bootstrapping tools like minikube, k3d, Vagrant with Virtual Box, etc. But the setup instructions would be same from step 5.
Developed by [Pranav Singh](https://twitter.com/thebeginner86) ❤️ 👨💻