modified: README.md

This commit is contained in:
Sangmin Kim 2024-03-26 15:28:42 +09:00
parent 75a1c7b245
commit 6eb18117fd
1 changed files with 14 additions and 9 deletions

View File

@ -1,14 +1,10 @@
# k8s-template # k8s-template
## Quick Start ## What is this?
``` You can use this template when you create a new lab and deploy it to kubernetes.
cd traefik - **nginx** : sample software that a content creator wants
kubectl apply -f 00-account.yml -f 00-role.yml -f 01-role-binding.yml -f 02-traefik.yml -f 02-traefik-services.yml - **[traefik](https://doc.traefik.io/traefik/providers/kubernetes-ingress/)** : [ingress controller](https://kubernetes.io/docs/concepts/services-networking/ingress-controllers/)
cd ../nginx
kubectl apply -f nginx-deployemt.yml -f nginx-service.yml -f nginx-ext.yml -f nginx-ingress.yml
```
## Sample Workflow ## Sample Workflow
@ -70,5 +66,14 @@ Bob ->> Alice: OK. Then I will build a docker image based on public nginx docker
**6. Production** **6. Production**
> Bob clones the Gitea project and applies all files to kubernetes production environment. > Bob clones the Gitea project and applies all files to kubernetes production environment.
>
```
git clone https://gitea-ptl.akamai-lab.com/akamai/k8s-template.git
cd traefik
kubectl apply -f 00-account.yml -f 00-role.yml -f 01-role-binding.yml -f 02-traefik.yml -f 02-traefik-services.yml
cd ../nginx
kubectl apply -f nginx-deployemt.yml -f nginx-service.yml -f nginx-ext.yml -f nginx-ingress.yml
```
> Alice validates the environment by end-to-end test. > Alice validates the environment by end-to-end test.