Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ykayacan/aem-docker-kubernetes
https://github.com/ykayacan/aem-docker-kubernetes
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ykayacan/aem-docker-kubernetes
- Owner: ykayacan
- License: apache-2.0
- Created: 2018-05-25T08:01:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-25T08:12:49.000Z (over 6 years ago)
- Last Synced: 2024-11-09T09:39:17.755Z (2 months ago)
- Size: 424 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Installation Steps
## Install Docker for Windows Edge
[Install](https://docs.docker.com/docker-for-windows/install/)
![alt](images/docker-install-1.png)
## Enable Kubernetes in Docker
![alt](images/docker-install-2.png)
![alt](images/docker-install-3.png)
![alt](images/docker-install-4.png)
![alt](images/docker-install-5.png)
![alt](images/docker-install-6.png)
![alt](images/docker-install-7.png)
## Install Kubernetes Addons
**UI Dashboard**
```bash
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml
``````bash
$ kubectl proxy
```Now access Dashboard at: http://localhost:8001/ui
Note: You can skip authorization.
**Monitoring**
```bash
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/kops/master/addons/monitoring-standalone/v1.7.0.yaml
```## Build Docker Images
Build author
```bash
$ cd author_aem6.2_vanilla
$ docker image build -t aem/aem-author:latest .
```Build publisher
```bash
$ cd publisher_aem6.2_vanilla
$ docker image build -t aem/aem-publisher:latest .
```## Deploy to Kubernetes
Deploy author and expose service
```bash
$ kubectl run aem-author --image=aem/aem-author:latest --port=4502 --image-pull-policy=Never
$ kubectl expose deployment aem-author --type=LoadBalancer
```Now access Author at: http://localhost:4502
Deploy publisher and expose service
```bash
$ kubectl run aem-publisher --image=aem/aem-publisher:latest --port=4503 --image-pull-policy=Never
$ kubectl expose deployment aem-publisher --type=LoadBalancer
```Now access Publisher at: http://localhost:4503