devops
所属分类:DevOps
开发工具:HCL
文件大小:17387KB
下载次数:0
上传日期:2019-08-29 20:34:00
上 传 者:
sh-1993
说明: 让我们玩k8s
(Let s play with k8s)
文件列表:
Makefile (446, 2019-08-30)
app (0, 2019-08-30)
app\Dockerfile (256, 2019-08-30)
app\Makefile (245, 2019-08-30)
app\bin (0, 2019-08-30)
app\bin\deploy (388, 2019-08-30)
app\helloworld.jar (20019332, 2019-08-30)
app\k8s (0, 2019-08-30)
app\k8s\deployment-web.yaml (914, 2019-08-30)
app\k8s\kustomization.yaml (128, 2019-08-30)
app\k8s\service.yaml (189, 2019-08-30)
bin (0, 2019-08-30)
bin\update_hosts (266, 2019-08-30)
ops (0, 2019-08-30)
ops\Makefile (1025, 2019-08-30)
ops\bin (0, 2019-08-30)
ops\bin\create_k8s_ingress (486, 2019-08-30)
ops\jenkins (0, 2019-08-30)
ops\jenkins\jenkins.yaml (13698, 2019-08-30)
ops\jenkins\storage-claim.yaml (3545, 2019-08-30)
ops\k8s (0, 2019-08-30)
ops\k8s\alb-ingress-controller.yaml (3121, 2019-08-30)
ops\k8s\dev-ingress.yaml (704, 2019-08-30)
ops\k8s\dev-namespace.yaml (77, 2019-08-30)
ops\k8s\rbac-role.yaml (1163, 2019-08-30)
ops\terraform (0, 2019-08-30)
ops\terraform\aws_pub_key.tfvars.sample (36, 2019-08-30)
ops\terraform\initialize.tf (662, 2019-08-30)
ops\terraform\modules (0, 2019-08-30)
ops\terraform\modules\eks (0, 2019-08-30)
ops\terraform\modules\eks\main.tf (5498, 2019-08-30)
ops\terraform\modules\eks\output.tf (315, 2019-08-30)
ops\terraform\modules\eks\variables.tf (365, 2019-08-30)
ops\terraform\modules\vpc (0, 2019-08-30)
ops\terraform\modules\vpc\main.tf (2721, 2019-08-30)
... ...
# DevOps study case
The goal is to set up a highly available and load balanced cloud environment with Kubernetes running a sample java application and Jenkins for Continuous Delivery integration.
## Tools
List tools being used on the project:
- (Docker)[http://docker.com]
- (Terraform)[https://github.com/hashicorp/terraform]
- (Kubernetes)[https://kubernetes.io/docs/tasks/tools/install-kubectl/]
- (Kustomize)[https://github.com/kubernetes-sigs/kustomize]
## Structure
* [app/](https://github.com/lemanchester/devops/blob/master/app/README.md): Web application folder
* [ops/](https://github.com/lemanchester/devops/blob/master/ops/DEPLOY.md): Operations folder
## Deploying
Make you sure you have all dependencies from ops/ and app/ installed and configured.
You can create the Kubernetes infra on AWS running:
```
$ make provision
```
Than you can deploy the application:
```
$ make deploy
```
Create the Ingress on Kubernetes to receive data:
```
$ make ingress
```
Now wait couple minutes until we have the DNS available and run:
```
$ make hostname
```
Finally you can check the applications accessing:
http://webapp.dev.com/
http://jenkins.dev.com/
近期下载者:
相关文件:
收藏者: