https://github.com/octonawish-akcodes/wisecow
https://github.com/octonawish-akcodes/wisecow
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/octonawish-akcodes/wisecow
- Owner: octonawish-akcodes
- Created: 2024-08-06T06:25:28.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-06T09:45:58.000Z (10 months ago)
- Last Synced: 2025-03-28T01:59:54.844Z (2 months ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wisecow Application Deployment
## Overview
The Wisecow application displays fortune and cowsay messages. This repository contains the source code and configuration files to containerize and deploy the application on Kubernetes with TLS support and CI/CD automation.
## Prerequisites
- **Docker:** For containerization.
- **Kubernetes:** For deployment.
- **GitHub Actions:** For CI/CD automation.## Setup
### Dockerization
1. **Build the Docker Image:**
```bash
docker build -t /wisecow:latest .
```2. **Run Locally:**
```bash
docker run -p 4499:4499 /wisecow:latest
```### Kubernetes Deployment
1. **Apply Kubernetes Manifests:**
```bash
kubectl apply -f dep.yaml
kubectl apply -f service.yaml
kubectl apply -f ingress.yaml
```2. **Access the Application:**
- The application will be available at the specified domain with HTTPS.### CI/CD
- **Automated Builds & Deployments:** Changes to the repository will trigger automatic builds and deployments via GitHub Actions.
## How to Use
1. **Run the Application Script:**
```bash
./wisecow.sh
```2. **Access the Application:**
- Open a browser and navigate to `https://`, default to `localhost` on port `4499`.