sudo apt install fortune-mod cowsay -y
- Run
./wisecow.sh
- Point the browser to server port (default 4499)
Deploy the wisecow application as a k8s app
To check, run kubectl port-forward svc/wisecow-svc 8000:80
- Create Dockerfile for the image and corresponding k8s manifest to deploy in k8s env. The wisecow service should be exposed as k8s service.
- Github action for creating new image when changes are made to this repo
- [Challenge goal]: Enable secure TLS communication for the wisecow app.
Create a SSL certs openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem
Then add secret manifest;
kubectl create secret tls my-tls-secret --key key.pem --cert cert.pem
- Github repo containing the app with corresponding dockerfile, k8s manifest, any other artifacts needed.
- Github repo with corresponding github action.
- Github repo should be kept private and the access should be enabled for following github IDs: nyrahul, SujithKasireddy, divyansh-accuknox